How to fix WordPress white screen of death
WordPress white screen issue occasionally seen, when WordPress core and theme or Plugins get updates. I recently came across a frustrating problem with a WordPress website showing an intermittent blank white screen – otherwise known as the “WordPress white screen of death“. No error messages, no HTML code generated anything.
WordPress displays blank screen after update
There are some certain possibilities when you will face front website or wp-admin URL white screen issue. Some time we face WordPress white screen of death after migration.
WordPress white screen issue
WordPress sites are the combinations of different themes and Plugins with different authors. To match the standard of code and avoid chances of code conflict is very difficult. And this is the major reason to get white screen of death. These problems were also picked up by crawl errors in Google Webmaster Tools along with http and ping monitoring, with a server response code of 500 being returned.
How to fix WordPress white screen of death problem
- Have you recently updated your WordPress theme?
- Have you recently updated WordPress Plugin?
- It is automatically update enable?
Let it be.
To solve WordPress white screen of death issue, the following possible solutions.
Disable all WordPress Plguins
Deactivate all WordPress Plugins follow the steps:
- Login to cPanel or FTP
- Locate File Manager
- Navigate to the wp-content >> Plugin that’s caused the error, rename it to Plugin-inactive or something else you like.
- Recently added new Plugin that’s caused the error, simply delete the folder that contains the white screen.
- If the error is caused by a coding mistake, locate the code and delete the code which you added and click save
- If your problem solve then login to WordPress admin dashboard and active Plugin one by one.
- Else still facing issue? Jump to theme replacement section.
Out-of-date Plugins are more likely to cause problems resulting in the white screen of death. Always remember to use Plugins that are actively supported by the developer and compatible with the latest version of WordPress.
Replace WordPress theme with a Default Theme
If Plugins deactivate not solve your issue. Then you should try to troubleshoot with theme replacement to a default theme.
Now you again go to file manager by login in cPanel or FTP,
Navigate to the wp-content >> themes folder
Then rename the theme. WordPress will automatically fall back to the default theme.
Alternatively way to replace WordPress theme via php MyAdmin, you can go in your php MyAdmin and update the database tables in wp_options table.
The following table names would have to be updated:
template, stylesheet, and current_theme. Change the value to twentysixteen
If this fixes the issue, then you should look at your theme’s functions.php file. If there are extra spaces at the bottom, then you should consider fixing it.
A good way to avoid blank screen scenario is to use a child theme instead of modifying the parent functions.php file. This is the safest way you can keep changes to your current theme without losing original code that your theme used to work properly.
We strongly suggest you to save a copy of the live working version of your theme on your local system. After that you are free modify the original PHP file that came with your theme. Doing so ensures that you can easily replace your original theme if you encounter the white screen of death problem.
Alternative solution of WordPress white screen of death
If both of the above fixes not work for you, not sure why you’re white screening? The white screen of death appears for mysterious reasons. You weren’t modifying any Plugins, nor were you rewriting your theme’s code. You were just minding your business when all of a sudden. It may be possible that a core file have been corrupted.
It’s situations like this when WP_DEBUG really comes in handy. Just read the error message and remove, modify, or overwrite the file that’s breaking your site.
Add the following code in your wp-config.php file.
Login to cPanel or FTP
Locate to file manager or (public_html folder if using FTP)
In the root installation you will see a file name as wp-config.php
error_reporting(E_ALL); ini_set(‘display_errors’, 1);
define( ‘WP_DEBUG’, true);
Once you add this, the blank screen will now have errors, warnings, and notices. These may be able to help you determine the root cause.
Even if you’re not using WP_DEBUG, fear not. There are other ways to bring your website back.
Other possible causes WordPress white screen of death
At the being we said, there are many reasons your site might be white screening. If you’ve diagnosed above method and observe that neither Plugins, themes, nor code is the root of your problem, here are a few more possibilities:
Caching: Clear your browser history and cache memory. If your site comes back, stop the troubleshooting steps there was no issue with your site.
Corrupted file(s): Your WordPress database or files may be corrupted due to virus or malware. May be deleted by hackers another cause. Contact your web host and ask them to diagnose the problem.
Server down: Access your site via proxy server like kproxy.com or anonymouse.org. Try to ping your site via command prompt. Many hosting providers notify customers when servers are down, whether it’s planned downtime or not.
Memory Limit: Sometime memory limit cause the issue add the following code in your wp-config.php file
Conclusion: We face WordPress white screen of death many time and solve it with different different method. It’s depend on causes if you facing similar issue and not able to solve it, let us know by comments. If you also have any other solution of WordPress white scree of death issue a part from this post please inform us to update our post.
If you get help by this post kindly share it to get help others.