I purchased a new license for Enfold today. The install was successful, but the following message appears when trying to view the site.
Fatal error: Can’t use function return value in write context in ……../wp-content/themes/enfold/header.php on line 6
Hey webdevmt,
Typically this is due to a older PHP version being used by your webhost, I see you are using PHP v5.3.29. Please ask them to update your PHP version to v7
Another solution could be to replace your header.php with this one.
Best regards,
Mike
Upgrading the PHP version did not work, but using the header.php you provided along with the PHP 7.1 did.
Thanks for resolving this for me in such a short period of time.
Marcus
Hi,
Glad we were able to help, we will close this now. Thank you for using Enfold.
For your information, you can take a look at Enfold documentation here
and the video tutorials here
And if there are features that you wish Enfold had, you can request them and vote the requested ones here
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,
Mike