Error on moving WordPress site to Host from Local installation

If you are using short open tags, check that you have this turned on in your php.ini on your server.

However, this is considered bad practice, and recommended to only those who like to target practice with shooting themselves in the foot.

I was getting the same error as you, but when I checked my functions.php, the functions where there, in broad daylight, and even spelled correctly, and it through me off on a tangent.

There was a short <? open tag in my functions.php, and this never failed because I had

short_open_tag = On

on my Mac’s php.ini. When coming to deploy on Ubuntu server, things went horribly wrong, as this setting was off.