Title: Syntax error in &#8230;/themes/zerif-lite/inc/jetpack.php
Last modified: August 31, 2016

---

# Syntax error in …/themes/zerif-lite/inc/jetpack.php

 *  [tkemmere](https://wordpress.org/support/users/tkemmere/)
 * (@tkemmere)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/syntax-error-in-themeszerif-liteincjetpackphp/)
 * Dear all,
 * After updating the theme Zerif-lite it didn’t quite work well, so I decided to
   fall-back to the backup (files & DB) I made just before updating.
 * I erased everything and after uploading all the files, and importing the Database
   I get this:
 * Parse error: syntax error, unexpected T_FUNCTION in /domains/mydomain.nl/DEFAULT/
   wp-content/themes/zerif-lite/inc/jetpack.php on line 1
 * On the root as well as on /wp-login.php. So I’m stuck.
 * If you have a solution that addresses the problem, that would be most welcomed.
   Thank you in advance.
 * Regards, Thomas.

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

 *  [Rintesh Roy](https://wordpress.org/support/users/rintesh/)
 * (@rintesh)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/syntax-error-in-themeszerif-liteincjetpackphp/#post-8267313)
 * Hi! I had the same problem while migrating my WordPress site.
 * Just open the following files in your mentioned folder in /domains/mydomain.nl/
   DEFAULT/wp-content/themes/zerif-lite/inc/
 * jetpack.php
    extras.php hooks.php
 * Scroll down to the bottom of each of these files and insert a closing php tag‘?
   >’ and save them.
 * My problem vanished as soon as I did that. Good luck!
 *  [allbadz](https://wordpress.org/support/users/allbadz/)
 * (@allbadz)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-in-themeszerif-liteincjetpackphp/#post-8526416)
 * try to transfer again in Binary Mode, you can define the transfer type in your
   file transfer manager (in Ex. FileZilla)
 *  [russellh1](https://wordpress.org/support/users/russellh1/)
 * (@russellh1)
 * [9 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-in-themeszerif-liteincjetpackphp/#post-8887728)
 * Just had this problem and fixed as follows.
    It was not just the jetpack.php 
   that had the problem- also hooks.php and extras.php in the same folder. When 
   I viewed the server version of the files the code was condensed, on the back 
   up file it was not- simply copied the back up content and pasted it over the 
   server file, saved and problem fixed. I then had to go to /wp-login.php instead
   of my usual /wp-admin.php route to the dashboard.
    -  This reply was modified 9 years, 2 months ago by [russellh1](https://wordpress.org/support/users/russellh1/).

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

The topic ‘Syntax error in …/themes/zerif-lite/inc/jetpack.php’ is closed to new
replies.

## Tags

 * [Jetpack.php](https://wordpress.org/support/topic-tag/jetpack-php/)
 * [syntax error](https://wordpress.org/support/topic-tag/syntax-error/)
 * [zerif-lite](https://wordpress.org/support/topic-tag/zerif-lite/)

 * 3 replies
 * 4 participants
 * Last reply from: [russellh1](https://wordpress.org/support/users/russellh1/)
 * Last activity: [9 years, 2 months ago](https://wordpress.org/support/topic/syntax-error-in-themeszerif-liteincjetpackphp/#post-8887728)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
