Viewing 25 posts - 1 through 25 (of 25 total)
  • Author
    Posts
  • #923963

    On one of my Enfold sites I have a white screen of death (WSOD) in the frontend after the latest update. The dashboard still loads. The server log: [error] PHP Fatal error: require_once(): Failed opening required ‘config-layerslider/config.php’ in functions.php on line 41

    Disabling all plugins did not help. Reinstalling Enfold via ftp neither. Downgrading to Enfold 4.2 did not help, only downgrading to version 4.0.7 gave me back my normal website.

    As double-check I auto-updated to 4.2.6 again, resulting in a WSOD, so I reversed back to 4.0.7 and the site is working again.

    Hope you can sort this out. It’s not that urgent since the site is working, but I rather stay up-to-date with Enfold.
    best regards, Tjerk

    #924293

    Hey 1000zen,

    Thanks for the login details, I see that you running 4.0.7, though we would need to see the actual problem in order to investigate it. Maybe you could run 4.2.4 instead? If you want to try that out you can find it in private.

    Best regards,
    Rikard

    #924346

    Same issue here: WSOD, NOT good, please help!

    #924524

    Hi EZWebdesign,

    Can you please check server log for error?
    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #924536

    Hi Victoria,

    Thanks for your reply. See the private area for the FTP credentials.

    I will check the server for errors. However, I noticed that several people have this problem with 4.2.6…

    Regards,
    Roger

    #924576

    @Rikard Thanks for looking into this. I had tried version 4.2.0 but that also gave a WSOD. Only going back as far as 4.0.7 solved my problem. So I rather not try 4.2.4 also because this is a production website of a client.

    As I wrote, the PHP server error mentioned a layerslider file not loading.
    I did switch off the bundled layer slider at some point, and in debugging the WSOD I switch it on before a reinstall of the theme. Maybe this switching off triggered the error ?


    @EZWebdesign
    Did you switched off the layer slider as well?

    #924588

    @rikard Thanks for your answer and suggestion. Do you mean the Layer Slider WP? I’m not using that in this site. I don’t know how / where to turn it off?

    Best regards,
    Roger

    #924590

    Checked the server log, but no particular error messages found…

    #924599

    After enabling debug-mode, the sites shows only this error message:

    Fatal error: Can’t use function return value in write context in /var/www/virtual/connect2improve.com/htdocs/wp-content/themes/enfold/header.php on line 6

    #924631

    Hi!

    Sorry for the inconvenience. Please upgrade PHP version to minimum 5.6 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. Please also see – https://kinsta.com/blog/php-7-hhvm-benchmarks/

    Regards,
    Yigit

    #924806

    Thanks @yigit, i let you know the results asap. Great support :-)

    #924904

    Yes, thanks @Yigit for your great help!

    #925146

    Hi,

    Thanks for the feedback @1000zen and @ezwebdesign, and sorry for the problems. Please let us know if you should need any further help on the topic.

    Best regards,
    Rikard

    #926869

    Hi I have been having this same problem, site doesn’t load and I only get a white screen. I have reinstalled Enfold and disabled all plugins but still the same results. I recently updated to v 4.2.6 and this problem started. I have tried updating header.php code to the one above but I am not able to do so. I’m out of ideas, can anybody help?

    #926877

    Hi @fottaviano89,

    Is it possible for you to set the PHP version to minimum 5.6?

    Best regards,
    Roger

    #926886

    Hi Roger, not sure if I’m doing this wrong but I try to access the are where I would change my PHP version in the hoster Cpanel and when I click to gain access the page does not load, is there a workaround to this or am doing something wrong?

    #926891

    Hi @fottaviano89,

    I’m nou familiar with CPanel, I guess you should contact and ask your provider.

    In the meantime, you can use the following workaround, which worked for me:

    Replace the file header.php ( htdocs/wp-content/themes/enfold/header.php ) with this one:

    https://github.com/KriesiMedia/enfold-library/blob/master/temp_fixes/Enfold_4_2_6/header.php

    This should solve the problem for now. But with the next update you might encounter similar problems, so please ask your provider how to set the PHP version to 7.2 (or 5.6).

    Let me know if this workaround works for you.

    Best regards,
    Roger

    #926898

    When I tried to fix this in the back end I got the message,
    “unable to communicate back with site to check for fatal errors, so the PHP change was reverted. You will need to upload your PHP file chnge by some other means, such as by using SFTP.”
    I’m new to all this so not sure what this message means?

    #926899

    SOLVED:
    My PHP version was indeed lower than 5.6. Changing that in my hosting control panel to 7.2 solved my problems. I’m running the latest Enfold again.

    #926904

    @fottaviano89: I have no idea about this. Just go ahead and install Kriesi’s hotfix header.php.

    Good luck!

    #926912

    I’m going to call the hosting company tomorrow and hopefully they can advise me how to update my php server but at the moment I can’t access my FTP server and when I change the file header.php ( htdocs/wp-content/themes/enfold/header.php) to the one suggested I get an error message saying I can’t do it through the appearance editor. What’s strange though is that when I changed the template to reinstall enfold the site started working again but when i reinstalled enfold it went back to WSOD

    #926915

    @fottaviano89: Why can’t you access via FTP? You should definitely talk to your provider tomorrow, for you seem to have a couple of server- or administration-related problems.

    #926919

    I know, this is the first time I’ve experienced any of these issues so I’ll call tomorrow and hopefully i can resolve this issue.

    #926928

    Hi!


    @1000zen
    Great! :)


    @fottaviano89
    If you have cPanel access, you can replace header.php file in file manager. If you would like us to look into it, please start a new thread under Enfold sub forum and post cPanel and WP admin logins in private content field.


    @ezwebdesign
    Thanks for your help :)

    Regards,
    Yigit

    #926952

    I just started a new thread under the heading “Error 500 unable to access FTP to update php”, my website and a login are in there too.

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