How to Fix WordPress White Screen of Death (WSOD)-: You may have seen Blue Screen of Death on your Windows PC which stop Working of your PC. same way WordPress Website has error White Screen of Death which shows Blank Space. White Screen of death occurs due to installation of a Theme and Plugin which is not compatible with core WordPress file. In this post, I will talk about how to Fix White screen of death for a WordPress Website.
How to Fix White Screen of Death in WordPress-:
1.Disable Plugins and Themes-:
Most of the Time WSOD occur due to installation of theme or plugin that is not compatible with core WordPress file or outdated with current version of WordPress. Head over to your WordPress dashboard and disable all the plugin and check if your website is Working. If it is working start enabling plugin one by one, you will come to know which plugin is creating the problem.
If you are unable to Login into your WordPress Dashboard. you can access your plugin and Theme using FTP or Your Hosting cPanel. Read my complete guide on How to use Filezilla FTP client with your Hosting account. Once you are able to access your files Rename the Plugin Folder something like Plugin_old. this method will disable all your plugin if any plugin causing an error. If this method works rename your plugin folder to again “Plugin” and rename each plugin folder inside to find out culprit plugin.If your any plugin not causing any issue to replace your WordPress Theme to Twenty Nineteen. If problem still exists follow the next step.
2.Resolve Syntax Errors-:
If you are using Managed WordPress Hosting, you will have automatic Backup contact to your Hosting provider if you are unable to get your backup. If you have changed anything recently to your WordPress Core file revert it back. If you have old backup upload it.
3.Debug you wp-config.php File-:
In WordPress, if any fatal error occurs script the script simply ends execution. which result in White Screen of Death. You can enable debugging, all you have to add following line of code in your wp-config file. at top of the file. Please note before making any changes take a backup of your WP-Config file.
define( ‘WP_DEBUG’, true )
After adding above piece of code it will show White Screen of Death with an error message at least you will come to know which file creating problems.
4. Increasing Memory Limits-:
WSOD may occur due to exhaust of memory limit. In such a case, you can increase the memory limit add the following line of code to your wp-config file. load your website.
if above code does not work then add following line of code to your .htaccess file
php_value memory_limit 64M
if your hosting provider use NGINX server instead of Apache then you will not have .htaaccess file.You can use your php.ini file to increase the memory limit. Anywhere inside the file add the following line:
memory_limit = 64M
if problem exist then check out the theme or any plugin using maximum of your system resource.
Thanks for reading…“Pardon my grammar, English is not my native tongue.”
If you like my work, Please Share on Social Media! You can Follow WP knol on Facebook, Twitter, Pinterest and YouTube for latest updates. You may Subscribe to WP Knol Newsletter to get latest updates via Email. You May also Continue Reading my Recent Posts Which Might Interest You.