"Parse error: syntax error, unexpected T_FUNCTION" after installing theme

Home Forums Jevelin Theme "Parse error: syntax error, unexpected T_FUNCTION" after installing theme

Home Forums Jevelin Theme "Parse error: syntax error, unexpected T_FUNCTION" after installing theme

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    RESOLVED Posts
  • benterz222
    Participant

    I am getting the following error after installing the theme:

     

    <b>”Parse error</b>: syntax error, unexpected T_FUNCTION in <b>/home1/XXXXX/public_html/XXXXXX/wp-content/themes/jevelin/inc/init.php</b> on line <b>22″</b>

     

    I get this when either previewing the theme under theme installation menu, or after activating the theme; rendering the site un-usable.

     

    How do I fix this?

    Solution for this topic

    Hi @benterz222,

     

    Sorry to hear of the problem you are having.

     

    Please make sure you are using latest version of PHP on your server by referring the information provided in the following page.

     

    https://www.wikihow.com/Check-PHP-Version
    http://php.net/supported-versions.php

     

    Best regards,
    Shufflehound team

    benterz222
    Participant

    Thanks for your response. I was running 5.2 (without realising), so have updated to 7.1 and it now works properly.

    You are most welcome here 🙂

Viewing 4 posts - 1 through 4 (of 4 total)