Moderator
t-p
(@t-p)
site experiencing technical difficulties, check your admin email
WordPress 5.2 introduced new protection from sites crashing due to bad code (also known as a White Screen of Death, or WSOD for short).
If your site crashes, the technical difficulties message is shown, and an email is sent to the site admin with a way to log in and deactivate the plugin or theme causing problems, once that is done the site should start working again as expected.
If you didn’t get the email, you can look for an error log on your server to see what the problem is. If you can’t find one, use DEBUG mode to log an error so you can fix it. https://codex.wordpress.org/Editing_wp-config.php#Debug
Thanks T-P
It’s not sending me emails, so I’ll see what debug can do tomorrow …
Ouchie! When I enabled debug, this is what happened — an empty white screen with the following at the top …
Deprecated: Function create_function() is deprecated in /home/andreww/public_html/Juniors/wp-content/plugins/embed-chessboard/embedchessboard.php on line 348
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 135168 bytes) in /home/andreww/public_html/Juniors/wp-includes/pomo/streams.php on line 113
Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 135168 bytes) in /home/andreww/public_html/Juniors/wp-includes/pomo/streams.php on line 113
… so what now I wonder? I can contact the creator of the Embed Chessboard plugin but that looks like a huge amount of memory to be exhausted, unless I’m reading it wrong. Again, all help appreciated!
Addendum
The first error is now taken care of with a plugin update, but there was only a temporary improvement. I will research the memory errors online, but anyone can get in touch in the meantime, and I’d be most grateful 🙂
AW
DUH! ‘Increase the memory size in wp-config’ they said. ‘It’ll work’ they said. And it did. I’ll get me coat …