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

    Hi! I updated the theme and now my website is down: Fatal error: Can’t use function return value in write context in /home/xxxxxx/public_html/wp-content/themes/enfold/header.php on line 6

    I search the forum here and followed what you suggested on how to fix this – upgraded PHP version to 5.6. It didn’t work. Then I replaced the /wp-content/themes/enfold/header.php with this https://www.dropbox.com/s/r389b5x4ippscyn/header.php?dl=0

    After that, now I can see my website’s front end but only when I am logged in as admin when I click on “Visit Site”. If I check my site from other browser (not logged in) I’m still getting white/blank space with this note: Fatal error: Can’t use function return value in write context in /home/supervir/public_html/wp-content/themes/enfold/header.php on line 6

    I have also another website that is down because I also updated the theme. Same problem.

    I’m hoping someone can help! Thank you!

    • This topic was modified 6 years, 9 months ago by janel.
    #923425

    Hi,

    It was cache related. I removed cache files and that helped. Please hard refresh your page and review your website.

    Best regards,
    Yigit

    #923723

    All good! Thank you!!!

    #923775

    Hi,

    Glad that Yigit helped you! Thanks for using Enfold and have a great day :)

    Best regards,
    Nikko

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