-
AuthorPosts
-
March 8, 2018 at 5:41 pm #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, TjerkMarch 9, 2018 at 7:19 am #924293Hey 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,
RikardMarch 9, 2018 at 9:17 am #924346Same issue here: WSOD, NOT good, please help!
March 9, 2018 at 3:02 pm #924524Hi 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,
VictoriaMarch 9, 2018 at 3:18 pm #924536Hi 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,
RogerMarch 9, 2018 at 4:00 pm #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?March 9, 2018 at 4:07 pm #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,
RogerMarch 9, 2018 at 4:13 pm #924590Checked the server log, but no particular error messages found…
March 9, 2018 at 4:41 pm #924599After 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
March 9, 2018 at 5:31 pm #924631Hi!
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,
YigitMarch 10, 2018 at 1:18 am #924806Thanks @yigit, i let you know the results asap. Great support :-)
March 10, 2018 at 1:16 pm #924904Yes, thanks @Yigit for your great help!
March 11, 2018 at 6:30 am #925146Hi,
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,
RikardMarch 14, 2018 at 10:01 pm #926869Hi 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?
March 14, 2018 at 10:19 pm #926877March 14, 2018 at 10:38 pm #926886Hi 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?
March 14, 2018 at 10:47 pm #926891Hi @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,
RogerMarch 14, 2018 at 11:02 pm #926898When 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?March 14, 2018 at 11:03 pm #926899SOLVED:
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.March 14, 2018 at 11:09 pm #926904@fottaviano89: I have no idea about this. Just go ahead and install Kriesi’s hotfix header.php.
Good luck!
March 14, 2018 at 11:27 pm #926912I’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
March 14, 2018 at 11:32 pm #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.
March 14, 2018 at 11:37 pm #926919I 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.
March 14, 2018 at 11:47 pm #926928Hi!
@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,
YigitMarch 15, 2018 at 12:23 am #926952I 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.
-
AuthorPosts
- You must be logged in to reply to this topic.