Last week, we had a client whose site was getting errors and then during troubleshooting, White Screen Of Death.
White Screen Of Death? What is that now?
White Screen Of Death is just that: a blank, white screen glaring at you when you try to visit your blog. It may occur on full site or just admin area. In both cases, getting rid of it is not hard.
In this post, I am going to tell you about first steps that you should take to get rid of White Screen Of Death.
What Causes White Screen Of Death?
Before fixing, we need to know the things that can cause WordPress to show White Screen of Death.
Here are the common causes:
- Plugin or Theme Install: Sometimes, a plugin or theme install can render your blog unusable by causing white screen. This is the most common problem and easiest to solve.
- Incorrect Code Modification: If you edit a plugin or theme file incorrectly, white screen can occur. It is also easy to solve.
- WordPress Upgrade: It is another common problem. Sometimes, you may get the white screen out of nowhere after an upgrade.
- Malware: If a virus or malware manages to gain access to your server, it may cause white screen. This is a bit difficult to solve.
Once you know what caused the problem, it is not very hard to troubleshoot. You need following software and data:
- Filezilla: It is a free FTP client. Using it, you can access all the WordPress files. Download Filezilla here.
- FTP Access To Server: You need your server’s IP address, a username and password combination. cPanel access also works well. You just need to be able to edit files on the server.
Fixing The Problem
If the problem occurred after installing a plugin, it can be fixed by deleting that plugin.
Connect to your host via FTP and then go to /wp-content/plugins
Here, delete the plugin that you had installed most recently.
If you do not know about one plugin that was responsible, rename plugins folder to old_plugins and see if you site loads fine now.
If site works after renaming the plugins folder, change the name back to plugins, take a backup of site and start deleting plugins one by one to see the problem. Once you identify the problem, restore all plugins except that one by copying the plugin folders from backup folder to plugins folder.
If the problem was caused after a theme install, connect via FTP and then go to /wp-content/themes
Delete the theme that you most recently installed. Then try deleting the one that you are using(take backup, your customisations are important!).
That should solve the problem.
Incorrect Code Modification
If you were editing a file before the error, all you have to do is simply revert the changed back. If you follow the good WordPress habits, you should have a backup copy of your files.
Just access site via FTP or cPanel and simply paste older version there.
Most of the times, it happens due to a plugin or theme conflicting with changes made in new version of WordPress. You can fix the problem by troubleshooting the plugins and themes one by one. Try deleting the plugin and theme folders(after taking backup) and that should fix the problem.
If it is a malware, it may have affected the plugin or theme files. In worst case, it will affect core WordPress files. Try deleting plugins and themes.
In that does not help, download WordPress on your desktop and upload wp-includes and wp-admin folders to your server.
This will fix the problem.
Sometimes, the error occurs when WordPress runs out of memory. To troubleshoot this, you can increase the memory limit. Just go to wp-config.php file via FTP and cPanel and add the following line to end:
Did these steps solve the problem for you? Let us know via comments.
If you still need help, just contact us for a quote.