Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #952308

    I installed the theme today but when I preview I met with:

    Parse error: syntax error, unexpected T_FUNCTION, expecting ‘)’ in /var/sites/f/<my.domain.name>/public_html/wp-content/themes/enfold/framework/php/class-htmlhelper.php on line 94

    I’m running WordPress 4.9.5

    What is the fix for this?

    #952312
    This reply has been marked as private.
    #952315

    The version of PHP I was running was 5.2.6
    Added AddType x-httpd-php56 .php to .htaccess and it now works

    #952512

    Hi,

    Great, glad you got it working and thanks for sharing your solution. Please let us know if you should need any further help on the topic or if we can close it.

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.