Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #923463

    Hi,

    I just updated my Enfold Theme to v4.2.6 and I get this error message when viewing the site:

    Fatal error: Can’t use function return value in write context in /home/content/26/11983626/html/Katya Williams/wp-content/themes/enfold/header.php on line 6

    I need this fixed ASAP please. Thank you.

    • This topic was modified 6 years, 10 months ago by khoavo.
    #923468

    Hi Khoa!

    Sorry for the inconvenience. Please upgrade PHP version to minimum 5.6 or replace /wp-content/themes/enfold/header.php file with this one – https://www.dropbox.com/s/r389b5x4ippscyn/header.php?dl=0

    Regards,
    Yigit

    #923475

    Thank you so much for the quick response! your header.php replacement file is just a temporary fix right? I still need to have my web hosting provider upgrade to PHP v5.6 or higher, for future updates to work, correct?

    #923489

    Hi!

    That is recommended (please see – https://kinsta.com/blog/php-7-hhvm-benchmarks/ ) however not necessary. We will include that header.php file in upcoming Enfold update to make it backwards compatible with older versions of PHP :)

    Cheers!
    Yigit

    #923500

    Thanks for your help.

    #923508

    Hi,

    You are welcome! :)

    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 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Theme Update v4.2.6 – ERROR – Urgent!’ is closed to new replies.