WordPress White Screen of Death fix solutions

There is a big chance that you encountered WordPress white screen of death at least once in your lifetime. The white screen of death is one of those problems when you can’t tell exactly what is the problem. This might be very frustrating for users because it locks you out of your WP admin panel too. Also, there are no error outputs and you are on your own. Sometimes white screen of death will only affect a certain part of your site; you may only see the white screen of death on your WordPress admin dashboard while everything else works fine and vice versa. In some other cases, you may see it on a specific post while everything else works just fine.

So, let’s see what we can do to to fix this.

Caution: Before you take any of the following steps, create your backup of everything (files + database).

1. Memory Limit

In most cases, when you see a white screen of death, it means that you exhausted the memory limit. Memory limit, in most cases, is exhausted by a plugin that is not functioning as needed. Sometimes it may happen because the theme you use is poorly coded. And last, but not least, there might be an issue with your Web server.

If increasing the memory limit did not help, then you need to start digging deeper. Most of the cases, if memory isn’t issue, the issue is either with a plugin or a theme. So the next logical step is:

2. Disable all the plugins.

If this fixes the issue, then enable one plugin at a time and see what plugin caused your WSOD.

3. Replace Theme with a Default Theme

If disabling the plugins doesn’t fix the problem, then you should try replacing your current theme with a default twenty “something” theme.

The easiest way to do this is by deleting the theme (don’t forget to make a backup of your theme folder first). When you delete your theme folder, WordPress will automatically use the default theme.

4. Reinstall WordPress

If none of the above fixes it, then you should try to re-install a WordPress. It’s most unlikely, but there is a chance that a core file is corrupted.

5. Caching

When you can access the dashboard but the front-end of the site has white screen of death, that can be caused because of a caching plugin. Simply empty your cache.

If you have a WSOD only on a very long post page, then you should also try to clearing cache. Also, try increasing the recursion and backtrack limit. You can paste the following code in your wp-config.php:

ini_set('pcre.recursion_limit',20000000);
ini_set('pcre.backtrack_limit',10000000);

WSOD is, generally, a very frustrating thing. Using some of the advices posted here might fix the problem for you. Sometimes, problem might be more complex. If you found another solution(s), let us know and we’ll update this post.

Leave a Reply

Your email address will not be published. Required fields are marked *