In this article you will see the 5 ways to fix the White Screen Of Death error in WordPress. It is one of the most common error, when you are dealing with a WordPress site.
The main issue with this error is that, the entire screen goes white blank and there is no error message and so at times it can be irritating to find out what the exact problem is.
5 Ways To Fix The White Screen Of Death Error In WordPress
So, without further ado, let’s dive right into the problems that cause this error and see the 5 ways to fix the White Screen Of Death error in WordPress.
Deactivate all the plugins
One of the most basic problem that is causing the White Screen Of Death error is a bad plugin. If you have access to your WordPress site’s admin area then log in to the website and deactivate all the plugins. To deactivate the plugins you can go to Plugins » Installed Plugins from your WordPress Dashboard.
If you don’t have access to your WordPress site’s admin area, you will have to deactivate all the plugins via FTP such as FileZilla.
Connect to your WordPress site with the help of your FTP client. Once you have connected, go to the wp-content folder where you will see the plugins folder.
Right click on the plugins folder & then simply rename the folder to plugins-deactivated.
If the issue is fixed, then enable one plugin at a time and check if the website is loading properly or not. Once you find the plugin causing the issue, you can delete it permanently.
Out of the 5 ways to fix the White Screen Of Death error in WordPress, this is one of the most important and relevant solution. This solution might solve the problem up to 70%.
Change Theme To Default Theme
In case the error does not get resolved with the plugins troubleshooting, then you can try out this solution.
Sometimes, the theme that you are using may have some development issues & this may cause the White Screen Of Death error. To resolve this, simply replace the current theme with your WordPress site’s default theme.
For replacing your current theme with the default theme, go to Appearance => Themes and Activate your default WordPress site theme.
If you don’t have access to your WordPress site’s admin area then you can access the themes folder via FTP such as FileZilla. Once you are connected to your WordPress site via FTP find the themes folder and delete the current theme from it.
This will automatically prompt WordPress to start using it’s default theme. In our case the Twenty Twenty-Two theme will be activated.
Clear Your WordPress Site Cache
This is one more common reason for your WordPress site to show the White Screen Of Death error. In order to correct the error, you will have to clear the cache using a plugin such as WP Super Cache.
If you don’t already have the plugin then you need to install it. In case you don’t know how to install a WordPress plugin then check out our article on, How To Install And Activate A WordPress Plugin.
Once you have installed the plugin, go Settings => WP Super Cache => Delete Cache
Increase Memory Limit Of Your WordPress Site
If you are still seeing the White Screen Of Death error after trying some of the above solutions, there might be a problem with the memory limit of your WordPress site. You site might have exhausted the default memory. In such a case you will have to assign more memory to your website.
This can be done through by editing your wp-config.php file and adding the following code to it.
define( 'WP_MEMORY_LIMIT', '256M' );
This code increases the PHP memory limit to 256MB for you WordPress site.
Once you have added the code, save the changes before exiting. You can now check if the error has disappeared.
Increase Text Processing Capability
Even after following the above steps the error is still there then there might be a more not so common cause for it. Sometimes the problem might occur because of a page or post is particularly long. If this is the case, you can try adjusting the PHP text processing capability on your site, by increasing the backtrack and recursion limits.
Go to your wp-config.php file & paste the following code.
After inserting the above code don’t forget to save the changes before exiting your wp-config.php file.
Above mentioned are the main culprits for the White Screen Of Death error for your WordPress site.
If you apply the given solutions, your problem would be resolved the error would no longer trouble you.