Title: syntax error
Last modified: August 22, 2016

---

# syntax error

 *  Resolved [MBumpy](https://wordpress.org/support/users/mbumpy/)
 * (@mbumpy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/)
 * When I downloaded and activate you theme I got this error:
 * Parse error: syntax error, unexpected T_FUNCTION in /home/a8354393/public_html/
   wp-content/themes/zerif-lite 2/inc/jetpack.php on line 1
 * [Here is a link to my site ](http://thecellmc.herobo.com/)
 * Please could you help me.

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/syntax-error-99/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/syntax-error-99/page/2/?output_format=md)

 *  [WPShout](https://wordpress.org/support/users/codeinwp/)
 * (@codeinwp)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5414929)
 * You should not have spaces in your theme name : /zerif-lite 2/ , should be zerif-
   lite-2 .
 *  [Mauro Mascarenhas](https://wordpress.org/support/users/mauromascarenhas/)
 * (@mauromascarenhas)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5414930)
 * Is the live view working now?
    If yes, try to re-download the theme and reinstall
   it… Try to activate it again…
 * 🙂
 *  Thread Starter [MBumpy](https://wordpress.org/support/users/mbumpy/)
 * (@mbumpy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5414936)
 * I changed the theme name.
 * I can’t access anything, it just says the same message.
 *  [Mauro Mascarenhas](https://wordpress.org/support/users/mauromascarenhas/)
 * (@mauromascarenhas)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5414952)
 * Have you tried to use FTP?
    You can edit or delete that file. After go to PHP
   My Admin and change the theme if necessary.
 * Another option is going direct to login page and chang settings:
    [http://www.yoursite.com/wp-login.php](http://www.yoursite.com/wp-login.php)
 * I hope it helps you…
 * 🙂
 *  Thread Starter [MBumpy](https://wordpress.org/support/users/mbumpy/)
 * (@mbumpy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5414956)
 * I tried that but it still does not work. I changed host and restarted from scratch
   the wordpress site and installed the theme again. Now I get a new error:
 * > error: require() [function.require]: Failed opening required ‘/home/u551170531/
   > public_html/wordpress/wp-content/themes/zerif-lite/inc/jetpack.php’ (include_path
   > =’.:/opt/php-5.3/pear’) in /home/u551170531/public_html/wordpress/wp-content/
   > themes/zerif-lite/functions.php on line 516
 *  [Mauro Mascarenhas](https://wordpress.org/support/users/mauromascarenhas/)
 * (@mauromascarenhas)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5414999)
 * Have you imported the older database?
 * 😕
 *  [WPShout](https://wordpress.org/support/users/codeinwp/)
 * (@codeinwp)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5415028)
 * Looks like you are using a free host, which isn’t a good thing to do, so they
   might have some limitations. The theme works fine.
 *  Thread Starter [MBumpy](https://wordpress.org/support/users/mbumpy/)
 * (@mbumpy)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5415036)
 * I fixed it. I was downloading the theme and then uploading it with FileZilla 
   but there was an error on my computer. I then uploaded it using the add theme
   button on the control panel of my site and it worked.
 * I love you theme.
 *  [lisasweddingworld](https://wordpress.org/support/users/lisasweddingworld/)
 * (@lisasweddingworld)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5415051)
 * I have the following problem, I wonder can you help me? My site is not there 
   to view or login in. I don’t know if I am supposed to change something in the
   hooks.php file or if I delete the theme will it gone back to being plain that
   I can install again?
 * My webhost engineers have advised that the issue appears to be my .htaccess file–
   it has additional rewrite rules in it, possibly from another WP plugin, that 
   are incorrect
 * They have commented them out so only the default WP rules are in the file.
 * The logs currently show the following:
 * PHP Parse error: syntax error, unexpected $end in /mnt/website/standard/l/i/lisasweddingworld.
   com/web/wp-content/themes/omega/lib/hooks.php on line 405
 *  [Mauro Mascarenhas](https://wordpress.org/support/users/mauromascarenhas/)
 * (@mauromascarenhas)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5415105)
 * Have you changed the login page?
    If yes, you should change the string(that refers
   to login page) on your database. If the problem is with your .htaccess file, 
   you should download and open it with Notepad or Notepad++(recommended), then,
   change the links that are being redirected to other links, after upload it again
   using FTP (You have to substitute the file).
 *  [Andrew Nevins](https://wordpress.org/support/users/anevins/)
 * (@anevins)
 * WCLDN 2018 Contributor | Volunteer support
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5415108)
 * Make sure to create your own thread to discuss your own issues; [https://wordpress.org/support/theme/zerif-lite#postform](https://wordpress.org/support/theme/zerif-lite#postform)
 *  [lisasweddingworld](https://wordpress.org/support/users/lisasweddingworld/)
 * (@lisasweddingworld)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5415116)
 * I deleted church and omega from the themes folder in FTP and my default site 
   came back to let me log in. I re-installed the church theme then.
 *  [zipzit](https://wordpress.org/support/users/zipzit/)
 * (@zipzit)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5415312)
 * That’s very odd. I downloaded the theme directly from themeisle.com, and got 
   version **1.4**
 * I got the same error. `Parse error: syntax error, unexpected 'function' (T_FUNCTION)...
   in jetpack.php` then I found this discussion thread. I deleted the entire directory
   from my wp-content/themes/ folder via FileTransferProtocol. Reinstalled it again
   thru the wp-admin add themes interface. This time it works great. But I notice
   the version is now at **1.6.0**. I thought themeisle.com was the author of this
   theme? Why are they shipping out old cruddy code directly from their website?
 * Don’t get me wrong, I’m grateful for the product. But what’s up with this?
 *  [WPShout](https://wordpress.org/support/users/codeinwp/)
 * (@codeinwp)
 * [10 years, 12 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5415313)
 * Hello,
 * Yes, we are ThemeIsle, and we are the authors of the theme. I am very sorry for
   the inconvenience. I updated the theme on themeisle.com to the current version,
   1.6.0.
 * About the syntax error you mentioned, that I due to the fact that when installed
   through FTP, the theme sometimes, is not copied right. We recommend using the
   wp-admin interface.
 * Thank you,
    Rodica
 *  [vynce1982](https://wordpress.org/support/users/vynce1982/)
 * (@vynce1982)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/syntax-error-99/#post-5415315)
 * I also have this error after the latest update…is there anyway to fix this without
   re-installing via the wordpress theme install? I would like to just FTP my files
   if possible without losing the frontpage customizing
 * [http://www.hacvince.com](http://www.hacvince.com)
 * wp-content/themes/zerif-lite/inc/jetpack.php on line 1

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/syntax-error-99/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/syntax-error-99/page/2/?output_format=md)

The topic ‘syntax 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/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [T_FUNCTION](https://wordpress.org/support/topic-tag/t_function/)
 * [zerif-lite](https://wordpress.org/support/topic-tag/zerif-lite/)

 * 22 replies
 * 10 participants
 * Last reply from: [Sarah809](https://wordpress.org/support/users/sarah809/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/syntax-error-99/page/2/#post-5415328)
 * Status: resolved