Erro activate theme - by mglbento - on WordPress WooCommerce support

This topic has 3 replies, 2 voices, and was last updated 6 years, 6 months ago ago by Olga Barlow

  • Avatar: mglbento
    mglbento
    Participant
    June 8, 2018 at 19:56

    Hi I’m trying to install my xstore theme but, the following error occurs when trying to activate:

    Parse error: syntax error, unexpected T_FUNCTION in /public_html/wordpress/wp-content/themes/xstore/framework/template-elements.php on line 348

    can you help me ?

    2 Answers
    Avatar: mglbento
    mglbento
    Participant
    June 8, 2018 at 20:18

    line 348 is this :

    add_filter($filter_for,function($items){return $items .= etheme_show_sign_link(‘menu-item item-level-0’, true); });

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    June 9, 2018 at 08:59

    Hello,

    Contact your hosting provider and make sure that PHP version is 5.6 or higher https://www.8theme.com/documentation/xstore/theme-installation/xstore-theme-requirements/
    If you got that error then PHP version is less than 5.3.

    Regards

  • Viewing 3 results - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.