Title: Parse error: syntax error, unexpected T_FUNCTION
Last modified: April 3, 2017

---

# Parse error: syntax error, unexpected T_FUNCTION

 *  Resolved [crazychamp](https://wordpress.org/support/users/crazychamp/)
 * (@crazychamp)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-29/)
 * Hi,
    I want to install in my remote server my site but I have this error: Parse
   error: syntax error, unexpected T_FUNCTION in /home/content/i/s/s/issurveillance/
   html/wp-content/themes/zerif-lite/inc/jetpack.php on line 1
 * Could you help me with this problem?
    Thanks.

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [mdshak](https://wordpress.org/support/users/mdshak/)
 * (@mdshak)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-29/#post-8985420)
 * Hi,
    It seems that some files have been broken. I would suggest to upload the
   theme through FTP software at /wp-content/themes/ directory. After that you can
   activate it through Admin > Appearance > Themes.
 * Thanks
    Mohammad
 *  Thread Starter [crazychamp](https://wordpress.org/support/users/crazychamp/)
 * (@crazychamp)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-29/#post-8988535)
 * Hi,
    I did all ready and the error massage continue show me the same. Thanks.
 *  [mdshak](https://wordpress.org/support/users/mdshak/)
 * (@mdshak)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-29/#post-8989488)
 * Hi,
    Please open to edit the **jetpack.php** at /wp-content/themes/zerif-lite/
   inc/. Remove all code and paste this code [https://pastebin.com/SXDAYbhQ](https://pastebin.com/SXDAYbhQ).
   Hope it will resolve the issue. Thanks Mohammad
 *  Thread Starter [crazychamp](https://wordpress.org/support/users/crazychamp/)
 * (@crazychamp)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-29/#post-8994212)
 * Hi,
    I made the changes but still doesn’t work. I don’t know what’s going on!!.
   When I try to import the Data Base this is the message: You attempted to load
   file with unsupported compression (application/gzip). Either support for it is
   not implemented or disabled by your configuration.
 * but always I made the same process to import Data Base and this is the first 
   time with this issue. I put the same Data Base in another server and is working
   with no problem.
 * Thanks
 *  [mdshak](https://wordpress.org/support/users/mdshak/)
 * (@mdshak)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-29/#post-8994248)
 * Hi,
    1- Please download the fresh copy theme and try to upload FTP software after
   extract the downloaded zip.
 * 2- Have you tried the Admin > Appearance > Themes > Add New > Serach Zerif-lite
   and install.
 * Thanks
 *  Thread Starter [crazychamp](https://wordpress.org/support/users/crazychamp/)
 * (@crazychamp)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-29/#post-9017358)
 * Hi,
    I’m still have problem to upload the files from my local host now I get 
   http error 500 Thanks
 *  [mdshak](https://wordpress.org/support/users/mdshak/)
 * (@mdshak)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-29/#post-9017534)
 * Hi,
    Please check the error log to know the detail of this issue.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Parse error: syntax error, unexpected T_FUNCTION’ 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/)

 * 7 replies
 * 2 participants
 * Last reply from: [mdshak](https://wordpress.org/support/users/mdshak/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/parse-error-syntax-error-unexpected-t_function-29/#post-9017534)
 * Status: resolved