• maxianna

    (@maxianna)


    Hello,

    I just uploaded a website ( WooCommerce/Storefront) on my webhost server.The site doesn’t show and I have this error:

    Parse error: syntax error, unexpected T_FUNCTION in /home/a6518565/public_html/wpcontent/themes/storefront/inc/customizer/class-storefront-customizer.php on line 74.

    Is it something I could change in that file or in wp-config?
    Or it might be the PHP version used by the webhost (5.2.)?
    Unfortunately my webhost doesn’t upgrade the PHP version (at least not for my package).
    Is it another way to work this out?

    Thank you for your help.

Viewing 1 replies (of 1 total)
  • James Koster

    (@jameskoster)

    Hey there,

    It’s the PHP version. WordPress itself recommends 5.6 and Storefront requires 5.3.

    If your host isn’t even prepared to update to the WordPress recommended version I would personally switch.

Viewing 1 replies (of 1 total)

The topic ‘PHP parse error, unexpected T_FUNCTION’ is closed to new replies.