Why do WordPress Throw this Error?
You can fix the WordPress white screen of death error using different solution below. In WordPress white screen of death is one of the common errors and can cause by many different things. The cause of this error is usually faulty plugins or themes installed in your WordPress site. It can also cause by the PHP memory limit sets in your web server.
In this tutorial we will show you different solutions to fix white screen of death.
Before you start troubleshooting this error you are highly recommended to keep the backup of your WordPress blog. You can see this guide on how to backup WordPress website manually.
Now, Check WordPress admin panel is working or not, if you can access your WordPress dashboard this error can be fix by deactivating installed plugins or themes. Follow Step-1 to deactivate the WordPress plugins.
How to Quick Fix the WordPress White Screen of Death?
- Step-1: Deactivate all the WordPress plugins.
- Step-2: Change your Theme to Default.
- Step-3: Increase PHP Memory Limit.
- Step-4: Debug to Find Error.
Step-1: Deactivate all the WordPress Plugins.
If WordPress dashboard is accessible you can deactivate the plugins clicking on installed plugins under plugins section. Check the box before plugin then choose deactivate from drop-down and click on apply button.
This will deactivate all the installed plugins from your website.
Connect to your web server to access files and folders using FTP client FileZilla. From Server section at the right double click on public_html folder (root directory) to open.
In the root directory e.g. public_html you will find wp-content folder. Inside the folder you will find plugins folder where all your website plugins are located. You need to rename the plugins folder name to any name e.g. plugins.fix which will deactivate all the installed plugins.
After deactivation, load your website if you didn’t see the error, you know one of the plugin is causing the issue. Find out the faulty plugin, first rename the plugins.fix folder back to default name Plugins.
Activate the plugin one by one from the dashboard until your site break then remove the plugins that breaks your site. You can refer to this step by step guide on how to deactivate WordPress plugins.
Step-2: Change your Theme to Default.
Again, if you are able to access WordPress dashboard you can change the current theme to default theme easily.
From the WordPress admin panel click on appearance then themes. Activate the WordPress default themes such as Twenty Seventy, Twenty Fifteen.
But if you are unable to access the WordPress dashboard then you need to activate default theme using FTP client such as FileZilla or CoreFTP.
Connect FileZilla to your web server and open root folder e.g. public_html. Double click on wp-content folder then open themes folder where you will find all your installed themes of your WordPress site.
Download the current theme, right click on current theme and click on download. FileZilla will start downloading the theme to your computer.
After downloading, right click on current theme folder and click on delete. It will delete the current theme from your website and activate WordPress default theme (if installed) such as twenty fifteen, twenty seventeen automatically. If you do not have default themes installed in your website then you need to install WordPress themes manually.
If this fix the issue, download the fresh copy of your current theme and install in your website.
Step-3: How to Increase PHP Memory Limit
Another cause of this error can be PHP memory limit set in your web server. You can easily increase the PHP memory limit adding the line of code in wp-config.php file using FileZilla.
Connect Filezilla to access your web server. Open the root folder e.g. public_html you will find wp-config.php file. Right click on wp-config.php file and click on view/edit.
File will open in file editor e.g. Notepad where you have to add the line of code below <?php tag and save it.
When you close the file editor, FileZilla will ask you to upload the edited file back to the web server click on yes button.
You can also see this detailed guide on how to increase PHP memory limit.
Step-4: Debug to Find Error.
Since white screen of death does not show any error message, debugging will help you to see what types of error has occur adding the code in wpconfig.php file using FileZilla.
Connect FileZilla to the web server and open root directory e.g. public_html then find wp-config.php file. Right click on wp-config.php file and click on view/edit.
The file will open in the file editor e.g. notepad. Add the below code and save it.
define( 'WP_DEBUG', true); define( 'WP_DEBUG_LOG', true );
Now, reload your website and you will see the error message which helps you to find the error and fix it removing or replacing it. If you didn’t see any error message you can open wp-content then find debug.log file where you will see all the errors.