WordPress white screen of death is one of the most common WordPress error. If you are a WordPress user, chances are you have faced WordPress white screen of death (WSOD).
WordPress white screen of death is an error that can be caused by many things, including a corrupt database, faulty plugins, or theme conflict. While this can be frustrating, the good news is that it is usually relatively easy to fix.
In this article, we will walk you through the steps on how to fix WordPress white screen of death.
Note: The steps are the same for all versions of WordPress, including WordPress.com and self-hosted WordPress sites. Before we begin, try refreshing your browser.
For most people, this is enough to fix WordPress white screen of death.
Reboot your computer If you are using a Windows computer reboot it and try again. This will restart all your programs, which may be enough to fix the problem.
What Is WordPress white screen of death (WSOD)?
If you’ve ever used WordPress, you’re probably familiar with the dreaded “white screen of death”. This term is used to describe a blank page that appears when something goes wrong with WordPress.
There can be many reasons for this to happen, but the most common reason is plugin or theme conflict. It can also be caused by a PHP error, a database connection issue, or a problem with your web server.
Luckily, there are a few things you can do to fix WordPress white screen of death. In most cases, this error is fixed by simply deactivating the plugins or themes.
Is this problem occurring on your other sites as well?
If other websites are also hosted on your hosting account, then also check those websites whether this problem is also coming on those websites or not.
and the other website is facing the same problem then it means that there is some problem in your hosting and this problem can be temporary for some time. If this problem persists then contact your hosting provider and ask them to solve this problem.
But on the contrary, if this problem is coming only on one of your websites then it means that there is some problem with your website and try to solve that problem by following the steps given below.
Fix White Screen Error Using Recovery Mode.
If the white screen error is caused by some kind of plugin or theme error, then WordPress easily catches this error.
Because such a feature has been given in WordPress 5.2 and above, due to which WordPress catches errors. Due to which the error of the site is having technical difficulties appears on your website instead of white screen error.
Whenever any error is detected on your website by wordpress, an email is also sent by wordpress to your admin email id and in this e-mail message it is told which plugin is causing the error on your site. Used to be
A link is also sent along with this message. By clicking on which you can enter WordPress Recovery Mode and you can deactivate or delete the plugin that is causing the error.
But if you have not received any kind of email through WordPress, still you are seeing white screen of death error, then it means that this error was not caught by WordPress.
Now you have to fix this error manually, below are some methods that you can use.
Steps to take if you found the WordPress White Screen of Death.
If you found WordPress White Screen of Death, there are a few steps that you can try and fix the problem.
First, try to reload the page. If that doesn’t work, try accessing the site from a different browser or device. If you’re still seeing the WordPress White Screen of Death, it’s time to access your site’s files via FTP.
Once you have accessed your files using FTP, you will need to navigate to the wp-content folder. In this folder, you need to delete the Plugins and Themes folders, Once these folders are removed, you can upload fresh copies of these folders from a backup or from a new download.
If none of these steps work, it is possible that your database is corrupted. You can try to fix your database through phpMyAdmin If the steps above don’t work, it’s time to back up your site and do a full restore.
All these steps need to be taken as soon as possible after seeing the WordPress White Screen of Death.
Check Memory Limit Issue
If you are facing WordPress White Screen of Death, the first thing you should check is whether the memory limit problem is there. This can be caused by a number of factors, including plugins or themes that are not optimized for memory usage.
You can increase the memory limit in your wp-config.php file. Just add this line of code to increase the limit to 64MB which is given below.
define (WP_MEMORY_LIMIT 64M)
If this doesn’t solve the problem, you need to contact your hosting provider and ask them to increase your memory limit.
Identify the problem by looking at your error logs.
If you are still seeing a white screen error after following the first step, then you need to check the error logs now. This will help you identify the problem so that you can fix it.
To find your error logs, go to your hosting account and look for the “Error logs” section. If you’re not sure where to find it, ask your hosting provider for help. Once you find the error logs, take a look at the latest entries. These will probably contain information about what went wrong and how to fix it.
If you’re still having problems after viewing your error logs, continue reading.
Deactivate All Plugins.
If your problem is not solved even after checking the error logs and you are still getting the white screen, then now you have to deactivate the plugins on your website.
If you are able to login to the admin panel of your website, then click on plugins and then click on installed plugin. Now select all plugins and click on ‘Bulk Actions’ drop-down, select ‘Deactivate’ and click on apply and now all plugins will be deactivated.
But if you are not able to login to the WordPress admin panel, then deactivate the plugins using FTP.
First of all, connect your WordPress website with FTP client. After connecting the website with ftp, go to the wp-content folder.
If you don’t know what is FTP and how to connect wordpress website with ftp click here.
Now here you will see the plugin folder. On which you have to rename by right clicking. Because as soon as you rename the plugins folder, all the plugins will be deactivated.
Plugin Deactivate will happen because WordPress looks for a folder named plugins to load the plugin. When WordPress cannot find the plugins folder, WordPress will deactivate all the plugins:
If deactivating the plugin solved your problem, now you have to find out which plugin is causing the problem For that you have to activate each plugin one by one and remove the plugin which is causing the problem or contact the plugin authors.
Replace Current Theme with Default Theme.
If deactivating the plugins did not solve your problem, then you need to replace your theme with the default theme.
First of all connect your WordPress website with FTP Now go to /wp-content/themes/. Here you will be able to see all the themes installed in your website.
Now to take a backup of your current theme, right click on it and download it.
After taking the backup, the current theme has to be deleted. For this, by going to /wp-content/themes/ in FTP Client, right clicking on your current theme and clicking delete.
Now if you have any other theme installed on your website, then WordPress will activate that theme automatically and if any theme is not installed on your website then now you have to upload a theme on your website using ftp client..
Also Read What is WordPress, and why is it everyone’s popular website building platform?
Enable Debug Mode to find Errors in WordPress.
If the above methods did not solve your problem, then now you have to enable Debug Mode in your WordPress website.
Paste the below code in wp-config php file using FTP Client.
define( ‘WP DEBUG bue), define( WP DEBUG LOG’, true
As soon as you add this code, you will now see errors, warnings, or notices on your website instead of
a white screen. Using which you can solve the problem.
If you are still seeing the WordPress white screen of death (WSOD) error, then now you need to check the debug log of your website. You can do this easily. First of all connect your website with FTP client.
Now go to the wp-content folder, here you will find a new debug log file. In which you will get a log of all errors notices, and warnings.
Now go to the wp-content folder, here you will find a new debug log file. In which you will get a log of all errors, notices, and warnings.
Increase PHP Memory Limit.
Assuming that you have followed the previous steps and are still seeing WordPress white screen of death (WSOD), now you have to increase your PHP memory limit.
First, check what your current memory limit is by creating a new file called phpinfo.php and adding the following line of code.
<?php phpinfo(), 75
Once you have added it, save the file and upload it to your root directory Then, go to their website to view the page. Now the memory limit of your website will appear here. If it is less than 64M, we recommend increasing it to 128M.
To do this go to the wp-config php file and paste the code below at the bottom of this file.
If your memory limit is high and you still can’t see your website, restart your web server and try again. If you’re still having problems, try contacting your web host and tell them you need a higher memory limit.
you’re still seeing the white screen of death (WSOD), the next step is to go back to the previous version of WordPress. This can be done by connecting to your site via an FTP client and replacing the wp-admin and wp-includes folders with a fresh download of WordPress.
Before you make any changes, back up your site first. Once you have backed up your files, go ahead and download a fresh copy of WordPress from the wordpress.org website.
Once you have downloaded WordPress, connect to your site via FTP Client and go to the wp-admin and wp-includes folders and delete them. Then upload these folders from your new WordPress download to your web server with the help of ftp. We hope that doing this will solve your problem.
Check Your .htaccess File.
If you are experiencing a WordPress white screen of death, one possible cause is an error in your htaccess file. This file controls how visitors access your WordPress site, so it is important to check if there are any issues with it.
To check your htaccess file, simply go to your WordPress installation folder and look for the file. If it’s not there you can create a new one. Once you have the file open, look for any code that may be causing the error.
If you’re not sure what to look for you can remove all the code and then save the file. This will reset the htaccess file to its default state and hopefully fix the problem.
If you are still experiencing the WordPress white screen of death after checking your htaccess file. then there is a possibility that some other issue is causing the problem.
Clear WordPress Cache.
Sometimes you are able to login to the WordPress admin panel, but when you visit your website, there is a white screen of death.
One reason for this can also be the caching plugin you have installed, so clear the cache on your WordPress website.
Fix Long Articles.
If you are getting to see only on white screen of death long post or pages then it can be easily fixed. Here we are going to tell you a trick that you can use.
This trick can increase the text processing capability by increasing the PHP limit. For this you need to paste the below code in the wp-config.php file.
ini_set(‘pare recursion_limit 20000000)
ini_set(‘pcre backtrack limit: 10000000).
We know that white screen of death is a huge problem We hope that you will be able to solve this problem by using the methods we have given above.
If you are a WordPress user, you are probably familiar with the dreaded white screen of death (WSOD). White screen of death is an error that can be caused by a number of things, but most often it is caused by a plugin or theme conflict. Luckily, there are a few things you can do to fix white screen of death. In this article, we will walk you through a step-by-step guide to fix WordPress white screen of death..
If you liked this article of ours, then share it with your friends and if you have any question then you can ask us by commenting in the comment box, we will answer your question soon.