Title: Issue with theme, throwing syntax error which is causing 500 server error
Last modified: May 9, 2017

---

# Issue with theme, throwing syntax error which is causing 500 server error

 *  Resolved [ninjakreborn](https://wordpress.org/support/users/ninjakreborn/)
 * (@ninjakreborn)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/issue-with-theme-throwing-syntax-error-which-is-causing-500-server-error/)
 * 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)

 *  [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * (@hardeepasrani)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/issue-with-theme-throwing-syntax-error-which-is-causing-500-server-error/#post-9115348)
 * Did you install the theme using FTP? Let us know. 🙂

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.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/zerif-lite/1.8.5.49/screenshot.
   png)
 * Zerif Lite
 * [Support Threads](https://wordpress.org/support/theme/zerif-lite/)
 * [Active Topics](https://wordpress.org/support/theme/zerif-lite/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/zerif-lite/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/zerif-lite/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Hardeep Asrani](https://wordpress.org/support/users/hardeepasrani/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/issue-with-theme-throwing-syntax-error-which-is-causing-500-server-error/#post-9115348)
 * Status: resolved