Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #929464

    Hi there,

    The website: (www.lastfirst.com) that I designed for my client has crashed. We updated the Enfold theme Version to 4.2.6 and WordPress Version to 4.9.4 and when we visited the site, it comes up with this:

    Fatal error: Can’t use function return value in write context in /home/lastfirst123/public_html/wp-content/themes/enfold/header.php on line 6

    I am not sure why this is happening. I have many other sites using Enfold on WordPress with the updated themes, and they are all functional. Please let us know how to fix as soon you can. Thanks!

    #929615

    Hey tivo_designs,

    Can you please check server log for error?
    Which version of php are you running?

    Best regards,
    Victoria

    #929907

    Hi there,

    The server log for error is coming up blank. The PHP version was 5.4. We tried switching it to 7.0 and 7.11, but the website is still coming up with Fatal Error.

    #929913

    Sorry, I meant PHP version 7.0 and 7.1.

    #929984

    Update **

    I ended up reinstalling an older version of Enfold (4.2.5) and it restored the site. Is there a reason why the newer theme version is crashing the site? We obviously would like to continue to have the most up to date theme version but we would love to avoid this issue again.

    Thank you!

    #930334

    Hi tivo_designs,

    Well, sometimes not all the files overwrite properly and so the errors might occur.

    Glad you got it working for you! :)

    If you need further assistance please let us know.

    Best regards,
    Victoria

    #930772

    Thanks Victoria,

    I’ve always been happy with your prompt responses and customer support.

    Do you have any suggestions on how to get the most up to date Theme Version without crashing the website?

    #930774

    Hi,

    Could you please post WP admin logins here privately as well so we can look into it?

    Best regards,
    Yigit

    #930777

    Hey Yigit,

    Login info is below…

    Just letting you know again that this is a LIVE site. Thank you!

    #930785

    Hey,

    I replaced header.php file via FTP and it worked. You can check out this post for more information – https://kriesi.at/support/topic/fatal-error-after-update-4/#post-929883 :)

    Best regards,
    Yigit

    #930798

    Thanks Yigit! I saw that the theme is the most up to date version too. Appreciate the help!

    #930818

    Hi,

    Yes, i updated the theme firstly and then replaced the file to fix the issue :)

    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 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Theme Update and WordPress Update has crashed the theme’ is closed to new replies.