MacOS X Mojave text replacement shortcuts not working

I had a problem with my MacBook not expanding my text replacement shortcuts. In looking at the settings everything was turned on and should have been working. It had a simple solution to fix I just had to add a new text replacement and this fixed it.