Received the following error after updating Enfold to 4.2.6 at http://helindsay.com/
“Fatal error: Can’t use function return value in write context in /hsphere/local/home/c352928/helindsay.com/wp-content/themes/enfold/header.php on line 6”
Tried the following with no success:
Switched to parent theme
Turned off all plugins
If I switch to different theme, the site loads.
Please help!
Thanks,
Matt
Hey,
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.
Best regards,
Yigit
That worked! Thank you!
Hi,
I’m glad you got this corrected. If you need additional help, please let us know here in the forums.
Best regards,
Jordan Shannon