How to fix the WordPress white screen of death

How to fix the WordPress white screen of death:-The white screen of death is most common problem of wordpress site. Also its one of the most irritating type of error because there is no error message and you are locked out.

Another issue with the WordPress white screen of death error is that sometimes it affects only a certain part of your site.

Why WordPress white screen of death error occurs?

Many times when you see white screen of death it means that a script has exhausted the memory limit. The unresponsive script either killed by hosting server or it simply times out. That’s why it doesn’t generate any error message and you will see a plane white screen.

This error can also happen due to bad coded theme or plugin installed on WordPress site. Sometimes it causes due to issue with hosting server. Since the white screen error can be caused by various number of things.  It requires troubleshoot to fix it.

Does the problem occur on other sites?

If you have other WordPress sites also on the same hosting account, then you may need to check the problem is occurring on other sites as well. If it has issue with other sites as well then it’s a indication that something is wrong with hosting server. This is a temporary issue and you should have to reach out to them for help & support.

Also if the issue is only with one site then the issue is with your particular website.

Fixing White Screen Error with WordPress recovery mode:-

If the white screen of death error is happed due to a theme or plugin then WordPress is able to catch it. The fatal error protection feature of WordPress 5.2 sometimes catches the error so you don’t see white screen. Instead you will see a error message.

Also you would receive an email alert with subject “Your site having a technical issue”. This email message point out the plugin which cause the error and also have special link. These link allows you to login WordPress recovery mode and deactivate faulty plugin.

How to fix the WordPress white screen of death

If you don’t get email or recovery mode option then you have to fix this issue manually.

Increasing the memory limit:-  Normally this error happens due to script has exhausted  the memory & quit. To resolve this issue, you need to increase Php memory available to WordPress. This will allow the script to use the memory required to finish the job.

Disable all plugins:- if increasing memory limit doesn’t fix the issue or if you  have a high memory limit like 256M or 512M, then you need to move fixing the issue. Always we found that issue is either with a specific theme or plugin. Let’s go ahead and disable all plugins.

if this will resolve the issue, then enable one plugin at a time to find the faulty plugin. once you find it you can replace the issue with alternative.

Various other options are also used to troubleshoot this issue such as:

  • Replace theme with default theme
  • Enable debug mode to catch errors
  • Clear Catche
  • Fixing longer articles