Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1113604

    Hi,

    I have installed the enfold theme onto my wordpress site suechic.co.uk, however when I activated it I got the below error.
    Fatal error: Can’t use function return value in write context in /home/suechic/public_html/wp-content/themes/enfold/config-gutenberg/class-avia-gutenberg.php on line 31

    I then logged onto the ftp site, deleted the theme and re-uploaded it via ftp and still got the same error. I then tried deleting line 31 in that php file, after that I was able to get to the wordpress site again but when I tried to customise the theme I got the below error:

    Fatal error: Can’t use function return value in write context in /home/suechic/public_html/wp-content/themes/enfold/includes/loop-index.php on line 92

    Theme version is 4.5.7, PHP version is 5.4.45, host has advised they are unable to update the PHP version at the moment due to it causing issues with other sites on the server.

    Please help.

    Jess

    #1113830

    Hey Jess,

    The likely cause of your problem is the PHP version you are running, the minimum PHP version recommended to run WordPress on is currently 5.6.2. I would recommend that you to look for a better hosting provider if you current one can’t offer you PHP 7.x.

    Best regards,
    Rikard

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