• Resolved jcabrerap

    (@jcabrerap)


    Hi,

    I’m working with local WordPress with theme Zerif Lite and it works perfectly. However i moved it to Hostinger but the following error message appears :

    Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/u582870705/public_html/wp-content/themes/zerif-lite/inc/jetpack.php on line 1

    I came back to local WordPress and removed the theme, installed the plugin jetpack, installed again the theme and put it again in Hostinger and the same error appears.

    What could be the problem ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Did you use FTP to install the theme to your server? If yes then your FTP software messed up the mark up of the file.

    In that case, please delete the theme from /wp-content/themes/ folder and then install it using the Theme Installer, following this tutorial: http://docs.themeisle.com/article/4-how-to-install-wordpress-themes

    Let me know if it works. 🙂

    Regards,
    Hardeep

    thank you Hardeep Asrani, that worked for me!!

    I’ve got a similar issue. I installed the theme via the theme installer and still get the error. I don’t have the JetPack plugin installed at all. Additionally the default themes will preview but won’t activate – they produce the same error. (Even did a fresh install of WordPress!)

    This is the error:

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/s/a/l/salcwik/html/wordpress/wp-content/themes/zerif-lite/inc/jetpack.php on line 1

    Pulling my hair out….can someone help?

    Thanks

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

The topic ‘zerif Lite unexpected function jetpack.php’ is closed to new replies.