• Resolved ninjakreborn

    (@ninjakreborn)


    A client of mine finished up a new website for himself and needed some assistance taking it live. At first I thought it would be a standard site move. It didn’t work out.
     
    I moved the files and database over and setup the URL’s and everything. Then when I took it live I got the dreaded 500 server error.
     
    I spent some time debugging and checked the error log and ran into these errors:
    [08-May-2017 22:46:21 UTC] PHP Parse error:  syntax error, unexpected ‘function’ (T_FUNCTION) in /home/###/public_html/wp-content/themes/zerif-lite/inc/jetpack.php on line 1
    [08-May-2017 22:46:27 UTC] PHP Parse error:  syntax error, unexpected ‘function’ (T_FUNCTION) in /home/###/public_html/wp-content/themes/zerif-lite/inc/jetpack.php on line 1
    I removed the duplicates. I did a lot of digging regarding this issue and so far everything I’ve tried came up empty. If anyone has any advice or feedback I’d appreciate it. It’s using PHP Version 5.4.45.
     
    If you need any further information, let me know.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Issue with theme, throwing syntax error which is causing 500 server error’ is closed to new replies.