• Resolved Kimbert

    (@kimbert)


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

    after trying to update my theme on my wp dashboard, I got this error.
    and my site is not showing at all

    can i send this file to you?

    thank you
    K

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Kimbert

    (@kimbert)

    function zerif_jetpack_setup() {

    add_theme_support( ‘infinite-scroll’, array(

    ‘container’ => ‘main’,

    ‘footer’ => ‘page’,

    ) );

    this is the function in that file? should it be content instead of main?

    Plugin Author Jeremy Herve

    (@jeherve)

    Jetpack Mechanic ??

    The problem is indeed caused by your theme; while the function you posted above appears to be correct, the problem is most likely caused by other elements you may have added above and below this function.

    Could you try to replace that file with the same file from a fresh installation of the Zerif theme? That should help.

    If you continue to experience issues, I would recommend that you post in the theme support forums for help:
    https://www.ads-software.com/support/theme/zerif-lite/

    I hope this helps.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Parse error: syntax error, unexpected ‘function’ (T_FUNCTION) in /home/thereddo’ is closed to new replies.