WordPress White Screen of Death fix (All Fixes!)
Written by Selim Rana. Posted in Uncategorized 2 Comments
Imagine a peaceful morning for you to get up with the desire to write an entry in WordPress or make any changes on the web and, suddenly, you see absolutely nothing! Only a completely white screen that does not offer any information about the error that is occurring. What has happened to your website? How can you solve it? Well, this particular phenomenon is known as the WordPress White Screen of Death!
In fact, it is easier to fix like when we encounter another common problem due to the database server error or wrong wp-config.php file settings. That is because it through a message in the screen as “Error Establishing Database Connection”. We will write an article to fix that in the near future also. But now in this article, we will be discussing all the possible way of how to fix WordPress white screen of that. Let’s get started:
WordPress white screen of death fix
The white screen of death is one of the most frequent problems faced by WordPress website developers. It is the most common, although it is not the most difficult to solve. It is difficult because you don’t get any clue what has happened due to the blank white page website. Let’s talk about the reason behind it.
Reasons for the WordPress white screen of death
There might be a lot of reason behind it. But in most cases, the error is caused by some modification by the WordPress site administrator. Some of the most common reasons are:
- Incorrect update of a plugin
- Changes in your theme file that have caused an error
- WordPress has reached the memory limit
- You have edited code on your website and oops! Something you have written wrong. Bad code!
How to solve the blank WordPress screen or the WordPress white screen of death
As we have mentioned, unlike other errors, this does not show the cause that is causing it. Therefore, unless you remember that you have made a specific change that could have caused this, we recommend that you follow the following steps to solve it.
Follow the next steps:
Disable WordPress Plugins:
The first thing is to identify if that error is caused by one of our plugins or not.
To identify which is the cause, it is advisable to deactivate all the plugins. If you see the site is working now then the reason is a plugin malfunctioning. So now, let’s activate one plugin at a time and check if it breaks the site or not.
Active a plugin and go to the main site to see if the WordPress white screen of death appears. If it appears then voila, remove that plugin or modify the code accordingly to figure out the error.
For code-based error, you need to debug which we will explain in a moment. Now, what if you can’t visit your dashboard? That means WordPress white screen of death in wp-admin, right? Well, I will talk about that also. Just bear with me.
Disable WordPress Themes:
If your Plugin check didn’t bring the site alive, then check the same steps for your theme.
Go to the dashboard and activated a default theme like Twenty Nineteen. If the site works, then the problem is in the theme code. Please check the theme compatibility or purchase a new one. We highly recommend using our premium WordPress theme from BD Themes. If you need custom theme development and customization service, you can consult with our friend at TechnoCrews.
Now you have done everything with theme and plugin but still, the problem appears. Okay, now it’s time to play dirty. Go to the next step. Oh if you couldn’t able to even login into the dashboard ( i.e Your-domain/wp-admin) wait for the step after the next step!
define (‘WP_DEBUG’, true) :
In the wp-config.php file, we will set the value of WP_DEBUG to true. In this way, we will activate the error messages, and it should be shown on the screen which error is causing the WordPress white screen of death. So now we can go to that line and fix accordingly. Again if you find the coding as a hard job, ping our friend at TechnoCrews!
So, you have done all the step above still but failed to log into the wp-admin to change the plugin or theme name. How to do it?
Use FTP / Hosting Control Panel File Manager.
- Go to your website hosting control panel or log in using FTP. Now, navigate to the wp-content folder.
- Rename wp-content/themes/YOURTHEME folder to something else. Like ‘ YOURTHEME-DUMB’.
- Now go and check if you can log into wp-admin. If you can, then it is a theme issue. Login and dump that piece of code or fix it.
If you still can’t, now the work become a bit harder. Go to,
- wp-content/plugins and rename it to wp-content/plugins-old
- Now make another wp-plugins folder (don’t forget to set the permission as 755 only for this directory nor for files). And bring one plugin from “plugins-old” into the new wp-plugin folder.
- Now go to your website and check if it is working. If not, you found the culprit. If it works, then bring the next one.
- And repeat the process until you find the culprit.
If the error is caused by insufficient memory, we can try to increase the memory limit, through wp-config.php or .htaccess.
define (‘WP_MEMORY_LIMIT’, ’64M’);
If you prefer to make the change through the .htaccess file, you can also. If you choose this path, you must modify the file by adding:
php_value memory_limit 64M
If still a problem this problem exist, you need to switch hosting to a higher plan. Consult to your web host to check the issue. If you have server administrators, you can ask them to investigate.
Verify that the files and folders have the correct permissions. Rules of thumb for WordPress:
Set all the directory permission as “755”
And File permission as “644”.
It is also recommended that you verify the error logs. There you will probably find what file is causing the error and why.
This error may scare you at first because you do not have any information. But as you have seen, in principle it is easy to detect and solve the problem. Please let us know if your thought about this article in the comment below. Until next time, stay safe and secure! Adios!
Spread in the world:
Want to know about the best premium elementor addons for blogger and affiliate marketers?
Get a free EP & PS license (Lifetime)
We are running a give-away program to our beloved consumers & subscribers who are connected to our official website BDthemes.com
Visit Element Pack or Prime Slider and share with us your thoughts. Lucky winners will receive a lifetime license worth $100. It will only take a minute to take part in.
2 thoughts on “WordPress White Screen of Death fix (All Fixes!)”
A good article with very important as well as rich information. Thank you for sharing such helpful information.
As a WordPress user I have faced this problem but never get such a smart solution. So many thanks for your sharing.