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

    We often get this code
    PHP Fatal error: Can’t use function return value in write context in
    /home4/mmroofsc/public_html/wp-content/themes/enfold/header.php on line 6
    Any solution?

    • This topic was modified 6 years, 8 months ago by mmroofs.
    #944630

    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

    Cheers!
    Yigit

    #944641

    Hi Yigit, while you are talking about php versions, I am running 7.0… do you recommend I upgrade to 7.1? I seem to recall there was some issues with 7.1 and Enfold and we were told to wait?

    Thanks,
    Rob

    #944830

    Hi Rob,

    I think most of the issues with 7.1 have been resolved, there are still some in 7.2 though. You can try to update to 7.1, you should be able to simply switch back if you notice any problems.

    Best regards,
    Rikard

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