Tagged: 

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

    After updating from 3.?? to 4.2.6 my site returns the following error:

    Fatal error: Can’t use function return value in write context in /home/content/88/9922488/html/main/wp-content/themes/enfold/header.php on line 6

    Please advise on how to fix.

    #943615

    Hi,

    Sorry for the inconvenience! Issue occurs on servers running PHP versions older than 5.6. You can either upgrade your PHP version to minimum 5.6 and preferably to 7.x or replace /wp-content/themes/enfold/header.php file with this one – https://www.dropbox.com/s/r389b5x4ippscyn/header.php?dl=0 to bring up backwards compatibility with older PHP versions.

    If that does not help, please post FTP and WP admin logins here privately so we can look into it

    Regards,
    Yigit

    #943619

    Thank you! That worked fine. For those who are dealing with this I went into my hosting account (godaddy) and then to my products > wordpress and checked the php version used (it was 5.3) I selected the latest available (5.6) and saved it. I also had to go to my root folder and change the name of the file php5.ini to php56.ini and my site was fixed.

    #943621

    Hi,

    Glad you figured it out and thanks for sharing your solution! :)

    For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Yigit

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Header Error after update!’ is closed to new replies.