I spent half day fighting with this problem and soloved it, Hope this may help you
in “FUNCTIONS.PHP” file
Make sure you don’t have any lines with comments in HTML mark up (Example <!– I am a HTML code comment –> )
Make sure you open and close the PHP tags ONLY ONCE!!! in the file.