White Screen of death WordPress is perhaps one of the most common errors that occur on this platform. Even though there are quite some proven ways to troubleshoot this error, but for many website owners, it is quite distressing at first as it feels like your WordPress site has been taken down or hacked.
But don’t worry. In this article, we’ll take you through a ten-step guide on how to fix WordPress white screen errors and avoid this error in the future. But before we talk about it, let’s briefly discuss what WordPress white screen of death is and its causes.
As we have mentioned above, the WordPress White Screen of Death (WSoD) is one of the most common errors encountered by WordPress site owners. As the name suggests, you’ll see a WordPress white page instead of your website once you attempt to sign into your wp_admin dashboard.
Even though this white screen error is quite common with WordPress sites, it becomes quite frustrating because there is no error code or message to help you realize the problem behind it. However, some browsers showcase HTTP 500 Error,but all it shows is a message “This page isn’t working,” which isn’t helpful.
One thing to remember here is that white screen error doesn’t always affect your whole website. Instead, there are certain pages of your website where you’ll see this WordPress white page.
As an example, you might see this white screen error on your admin panel only while your WordPress site’s other pages would seem to work perfectly fine.
Note that you can’t eliminate the possibility of this error affecting your entire website.
Now you know what WordPress White Screen of Death (WSoD) is, which brings us down to its causes.
Let’s talk about them.
There are a couple of minor and major issues that cause white screen errors on your WordPress website. However, some of the most communal causes include issues with your website’s database or PHP.
Here are the three most common reasons stated by WordPress that cause white screen error.
WordPress’s three causes are typically behind the white screen error. Still, you can’t rule out the possibility of many other factors involved in this issue like exceeded PHP memory, unresponsive script and timed out servers, etc.
In many cases, there are even issues with the server which can be resolved from the hosts’ end. Therefore, it is a decent idea to check if your other websites on the same hosting account are functioning as they should. If these websites are running fine with no white page error, then the root cause of this error is your website’s theme, script, or plugins.
Now that you know what might be triggering the white screen error on your WordPress site, refer to this step-by-step guide to troubleshoot this error.
While it may sound quite simple while looking at the causes, the WordPress white screen of death fix is no easy task. Instead, it is quite a daunting task requiring a great deal of patience to execute and restore your website perfectly.
Follow this ten steps guide to fix the WordPress white screen error.
Note that it is important to create a backup of your site when executing a white screen error fix on WordPress. You can also form a manual backup of your site if you do not have access to the backend.
One of the most common possibilities of getting white screen errors on your WordPress site could be your browser’s cache. If that’s the reason for the error in your case, then it’ll be resolved without needing to follow all the other steps mentioned below in this guide. To clear your browser cache (Google Chrome, for example), here’s what you can do.
By removing cached data in your browser, there are chances that you won’t see a white screen error anymore. However, if that’s not the case, move on to the next step, which retraces your recent activities.
There’s a high chance that a white screen error results from your recent actions executed on the website, like installing new or updated plugins and themes, etc. While this may sound quite basic, looking back at the activities you conducted on your website before the error would help you find the root cause much easier.
When retracing your recent activities conducted on a website, you can ask yourself these questions.
If you find something fishy in any of these answers, look into the following facts relevant to the suspicious entity.
In contrast, if you do not find any of your actions responsible for the white screen error, consider the other steps mentioned below.
The entire idea around executing this step is to figure out whether your entire site is affected by the white screen or just the wp-admin screen.
There are typically two simple ways to figure this out.
If you cannot find any error messages on your site, then turning the Debugging Mode is also a great idea for locating the cause of the error. To turn on the debugging mode
Once you’ve turned Debugging mode on, any problems in your site’s PHP would be revealed. Now you can fix these issues and reload your site to check if the white screen error has been resolved.
It is worth noting that you should change back the value in wp-config.php to “False” regardless of whether any errors are revealed or not because WordPress recommends you to do so.
If the front end of your website, if you see an error message of “Theme is missing,” then it is most likely that someone hasn’t properly deployed theme files in the live installation of your WordPress site.
To solve this problem, you’ll have to deploy these files into the server through the FTP client or host’s file manager. Here’s how to do that.
Find the Themes folder in the wp-content and Rename it to whatever you want. This is to ensure that WordPress can’t call on this theme anymore. In simpler words, it would technically disable your theme. Now try to reload your site. If the white screen error is gone, then the error’s root cause is your site’s theme.
Here’s what you need to do around it.
However, if the white screen error still appears, then there’s a possibility of the plugin being a culprit.
Plugins are among the most common reasons your WordPress could be affected by white screen error. Even if you haven’t installed or updated a plugin, you can’t rule out this possibility because of the automated WordPress updates.
Here’s what you need to do.
If your site has been restored, then the error is coming due to one of your site’s plugins. Now you’ll have to determine which one among your plugins is the culprit.
Here’s what you need to do
Navigate your Plugin screen and activate each plugin one at a time, and refresh your site. Ensure you start from the first plugin and keep doing this unless you find the plugin that is causing the error.
Once you find the infected plugin, here’s what you can do.
There are chances that none of your plugins is responsible for error. If that’s the case, then move on to the next step,reviewing third-party integrations.
Even though this doesn’t happen much often, any third-party integration with your sites, such as SSL certificates and CDNs, could also cause a white screen error. The main reason behind this is the conflict between two different elements, for example, a CDN conflicting with an SSL certificate.
If you’ve integrated anything from a third-party to your website before the white screen error, deactivate or uninstall it. If the error is resolved, then consider looking for an alternative for that third-party tool.
One of the most communal reasons why the WordPress white screen of death occurs is the alteration in code without testing.
To fix this error, swap an altered version of the wp-config.php or .htacessfile with the fresh copy and see if your website is restored.
If this doesn’t work, then move down to this next step.
If you find no problem with the potential causes of the white screen error above, then there’s a high chance that you’ve exceeded your server’s memory limit. To fix this problem, you’ll have to adjust your server’s memory limit. Here’s how
Unless you receive a message recommending you to set specific storage, the ideal storage is 64 MB. Typically, there are three files through which you can adjust your memory. However, it is important to save a copy of the file that you choose to alter beforehand.
The first file that you can alter to adjust your server’s memory is the wp-config.PHP file. To adjust the memory, add this line of code.
Another great way of adjusting your memory is to add this line of code in your .htacessfile.
Note that the .htaccess file is often hidden; therefore, it is important to reveal all files once you plan to alter them.
The third file that you can alter is the php.ini file in your site’s root directory. Add this line of code into this file.
memory_limit = 64M
Note that it is not important to alter all the files. Start with the first file and check if the error has been resolved. If not, then move on to the next file.
Once you’ve successfully adjusted the memory, the next thing is to adjust the maximum execution time allowed. If you haven’t received an error message recommending a specific execution time, then the ideal time to start is 60 seconds.
Unlike the memory, here, you can adjust your maximum execution time in two files only. Here’s what you need to do.
Add this code in your .htaccessfile.
Another file that you can alter is the php.ini. Add this line of code to this file.
max_execution_time = 60
Note that you have to adjust the max execution time in only of these files. If the root cause of the white screen error is your server, then it should be resolved. However, it is essential to consider upgrading your hosting plan.
When you’ve gone through all the steps mentioned above in this guide, you should’ve been able to resolve this issue. However, if nothing still seems to work, you might need to consider contacting your hosting provider.
Their team would provide all the details related to your website’s recent activities that might have caused the error.In simple words, they’re the only people that can help you at this point.
However, having a support ticket can quickly help you get to the root of this issue and recover your website as soon as possible.
Now that you know how to fix the WordPress white screen of death, here’s how you can avoid it in the future.
If you’ve been faced with the white screen error, then you must know how troublesome WordPress becomes at times. Even a mere plugin can cause massive problems and distress. To prevent the white screen of death from happening in the future, here’s what you need to do.
The last and most significant point is to choose a reliable hosting provider who is available 24/7 to ensure your site’s smooth performance.In case of an emergency, these hosting providers help you quickly resolve the errors.
Moreover, you can always hire a reliable WordPress maintenance service providing agencies like WP-Pals to handle your site’s maintenance.
By reading this conclusive guide, you can effectively solve the WordPress White Screen of Death. Before we conclude, it is important to know that testing plugins and themes before integrating them into your website is crucial. Also, before you implement any changes to it, it is important to put your WordPress site in maintenance mode because it won’t impact your audience negatively.