10 Easy Hacks To Solve WordPress White Screen Of Death Error

Wordpress white screen on death error
By Mohit Surati WordPress 34 Views

Are you someone who is working as a WordPress Developer for a long time? OR Are you someone who is an owner of an IT company who is providing customized WordPress solutions to all the clients across the globe? Then, you must have dealt with various errors of WordPress.

Now, one of the most frustrating errors that anyone has to deal with is the White Screen Of Death in WordPress. The reason we say this is the most frustrating error is, there are no error or any information displayed on your screen when it takes place. So, it becomes tough for anyone to guess whether this error has occurred or not.

What Is White Screen Of Death Error?

White Screen Of Death is one of the Most Common WordPress Errors that you’ll encounter as a developer. When you’re trying to access your WordPress website and the WordPress Website Showing is Blank Page without any error or information; then it is a symptom of WordPress Site White Screen Of Death error.

Root Causes Of White Screen Of Death Error

Before going into the details of Troubleshooting WordPress White Screen Of Death error, you need to find out the root causes of it. Some of the most common reason for it are as follows:

  • An Incompatible Plugin
  • A Theme Conflict
  • Missing Of Theme File
  • Low Memory Limit
  • A Syntax Error

How To Fix WordPress White Screen Of Death Error?

So far, we have understood the basics of White Screen Of Death error and its root causes. In this section, we’re going to shift our focus on Fixing WordPress White Screen Of Death error.

So, let’s get the things underway.

Here’s the list of hacks through which you can resolve the White Screen Of Death error.

1.  Try Disabling Plugins

As we have already discussed that, one of the reasons for White Screen Of Death error as per the WordPress Codex is incompatible plugins. Now, to find which plugin is incompatible from your WordPress website, you need to disable all the plugins at one go.

 For that purpose, move to your WordPress Admin Dashboard as shown in the screenshot below.

After that, move to Dashboard >> Plugins as shown in the screenshot below.

Here, you will see a drop-down for Bulk Action as shown in the screenshot below.

From the Bulk Action drop-down menu, select ‘Deactivate’ which will deactivate all the plugins installed on your WordPress website. After disabling the plugins, try to access your site.

If you’re able to access your site, then you’re guaranteed that the cause of White Screen Of Death error was an incompatibility with one of the plugins. Now, to know which plugin created the havoc, try installing all the plugins one-by-one and see if you any access your website or not.

After installing any of the plugins, if you’re not able to access your website, then that is the root cause of your error. So, you need to rectify the mistakes within that plugin.

However, if you’re not able to access your WordPress Admin Dashboard, then you need to reset all the plugins via FTP or cPanel. First of all, log into the server using FTP Client or cPanel as per your hosting & then, browse the wp-content folder. It is where all your plugins reside.

Now, to deactivate the plugins on your WordPress website, rename the plugin folder which will reset your site to the default state.

2. Changing The Theme

After following the above method, if you’re still Can’t Access WP-Admin Page Not Found error, then there could be some issue with the theme installed on your WordPress website.

So, try changing the theme for your WordPress website. For that purpose, move to your WordPress Admin Dashboard as shown in the screenshot below.

Now, navigate to Dashboard >> Appearance >> Theme as shown in the screenshot below.

Once you reach there, the next step is to activate the default WordPress theme, i.e., Twenty Seventeen. After enabling this theme, type the URL of your website in the address bar and see if you can access your site or not.

If you can access your website, then there was a problem with your theme which was causing the White Screen Of Death error. However, if you can’t access your WordPress Admin Dashboard, login to your server via FTP or cPanel and then, browse the wp-content folder.

In this folder, you will find a folder of all the files of your currently active theme. Make a copy of that files and then, delete the folder. It will revert your website to default WordPress theme. If doing so fixes the error, then you should check the functions.php file of your faulty theme, as that’s where the problem lies.

3. Changing Memory Limit

Sometimes, you may have seen a WordPress WP-Admin Blank Page while trying to access your website. It is also a symptom of White Screen Of Death error, and one of the root cause of it could be the limitation of PHP memory unit.

If the PHP doesn’t have a sufficient amount of memory to run your website, then it will show you the blank screen. For example, when your WordPress website comprises of too many plugins and also getting a lot of traffic, then default memory limit may not be enough to cope with that.

So, to solve that issue, you need to increase the memory limit of your PHP unit. For that purpose, login to your server via FTP or cPanel and then, browse the wp-config.php file. Once you find that file, add the following line of code to that file.

define( 'WP_MEMORY_LIMIT', '256M' );

It will increase the memory of the PHP unit which will help you to resolve the White Screen Of Death error. However, while making this change, don’t forget to take the backup of your WordPress website.

4. Fixing Syntax Error

Many experts say that one of the most common reasons for White Screen Of Death error is any syntax error. Assume a scenario where you were editing code on your WordPress site, and you accidentally mistyped something or utilized the wrong syntax.

One bad character can ruin your entire website. That’s the reason why you should never edit any code on your live site. However, you can always connect to a website via FTP, SFTP or cPanel and then, revert the changes that you’ve done manually.

Once you resolve all the syntax errors, your WordPress website will start working as per your need, and there won’t be any White Screen Of Death error.

5. Switch On Debugging Mode

If you see a blank screen while accessing your WordPress website, then it is a clear-cut indication of White Screen Of Death error. Now, to solve that issue, you can enable the debugging mode, as it will help you to expose any errors.

As a developer, you must be knowing that whenever any fatal error occurs, the script ends the execution. If this happens before any content is displayed, then it results in White Screen Of Death error.

To enable the debugging mode, move to wp-config.php file via FTP or cPanel and find the following line of code.

define( 'WP_DEBUG', false );

Here, you need to replace false with true & reload your website. However, if this line doesn’t exist in your wp-config.php file, then you can add it to the top. Once you do that, you will get an error message instead of the white screen which will help you to identify the root cause.

For example, if you get an error message like:

Cannot redeclare get_posts() (previously declared in /var/www/html/wordpress/wp-includes/post.php:1874) in /var/www/html/wordpress/wp-content/plugins/my-test-plugin/my-test-plugin.php on line 38

Then, it means there is something wrong with your plugins. So, you should try to disable the plugin which may solve your issue.

6. Check File Permission Issues

As there is a famous saying:

“Hope for the best, plan for the worst”

— Lee Child

The same applies to the case of White Screen Of Death where the file permissions isn’t one of the reasons for it. However, to be on the safe side, checking that could prove to be a masterstroke for you.

Before going into the details of file permission, you need to be aware of default file permission for WordPress. They are as follows:

  • For files – 664 or 644
  • For folders – 775 or 755
  • For wp-config.phpfile – 660, 600 or 644

Now, if you’ve SSH access to your server, then you can apply the appropriate rules with the following command.

sudo find . -type f -exec chmod 664 {} +
sudo find . -type d -exec chmod 775 {} +
sudo chmod 660 wp-config.php

However, if you’re unsure of how to deal with file permission setting, then you can contact your hosting provider which will seal the deal for you.

Still, if you’ve any issue with the file permission, you should Hire WordPress Developer from a reputed organization.

7. Check For Failed Update

If you’re someone who is working as a WordPress Developer, then you must be knowing that sometimes the WordPress ecosystem may run into an issue while an update is on.

Most of the times the error gets resolved automatically. However, in some wild cases, it may lead to White Screen Of Death error. To check this issue, move to the WordPress root directory and check if there is a .maintenance file.

Once you find that file, immediately delete that file and try to load up your website again. If your WordPress website starts working still, then that was an issue of the failed update.

8. Clear The Browser Cache

Most of you must be following this trick for solving any error. However, you should also follow this step when it comes to White Screen Of Death Error.

To clear the browser cache, go to your browser’s settings and locate your browsing data. You will see a page like as shown below in the screenshot which comprises of history, cookies & saved data.

Click on the ‘Clear data’ and wait for a few seconds. After that, close your browser and reopen it. Now, go to your website and move to its wp-admin. Are you still seeing the White Screen Of Death error? If not, then you’ve identified as well as rectified the issue.

Read also: Step-By-Step Guide To Add Two-Factor Authentication In WordPress

9. Review Other WordPress Integrations

The conflicts in WordPress are not limited to plugins and themes. It can also occur with other WordPress integrations such as CDNs and SSL Certificates. Most of the times any third-party tools will seamlessly integrate with WordPress.

However, by chance, if your CDN provider has a conflict with your SSL provider, then your website could go down, and you could have White Screen Of Death scenario. So, if you’ve altered anything within the WordPress ecosystem in the last 24 hours, deactivating or removing it could solve your burning problem.

10. Restore Recently Updated File To Original State

If you or someone else with admin access was implementing the changes to the code without testing them on a staging site, then it could invite White Screen Of Death error. To fix this issue, you need to determine the file where you were making the changes.

If you were customizing something like the wp-config.php or .htaccess files and you don’t have an unaltered version of the file saved, then you should download the latest version of WordPress. From there, you will get the unaltered version of the wp-config.php and .htaccess file.

For that purpose, move to WordPress Website and download the latest version.

After downloading the latest version, extract the files that you want. After doing that, go into your file manager or FTP and delete the file you feel is corrupted.

Now, upload the identical file from the fresh install and return to your WordPress website. On returning, if you can find your WordPress website in working condition, the data you’ve replaced were the root cause of White Screen Of Death error.

However, before starting your work in the live environment, make sure that you test the new code once in your local environment.

Concluding Things…

White Screen Of Death is one of the most frustrating errors as far as any Custom WordPress Development company is concerned. In fact, it has given many sleepless nights to WordPress website owners across the globe.

Putting this whole scenario into perspective, here we have tried to provide you with a ten easy hack which will help you to solve WordPress White Screen Of Death error.

What are the ways you’re following to overcome White Screen Of Death scenario? Do let us know in our comment section. We’ll try to respond to each of your queries. Thank You.!

If you’re someone who is having trouble with the White Screen Of Death error, then don’t hesitate to contact us. We’re one of the leading WordPress Development Company who provides cost-effective and robust solutions. Hire Our Accomplished WordPress Developers & assure a growth for your organization.

looking-for-result-driven-wordpress-theme-development-services

Disclaimer: We at eSparkBiz Technologies have created this blog with all the consideration and utmost care. We always strive for excellence in each of our blog posts and for that purpose, we ensure that all the information written in the blog is complete, correct, comprehensible, accurate and up-to-date. However, we can’t always guarantee that the information written in the blog correct, accurate or up-to-date. Therefore, we always advise our valuable readers not to take any kind of decisions based on the information as well as the views shared by our authors. The readers should always conduct an in-depth research before making the final decision. In addition to these, all the logos, 3rd part trademarks and screenshots of websites & mobile apps are the property of the individual owners. We’re not associated with any of them.

Mohit Surati

Mohit Surati

A post-graduate in Computer Engineering. Passionate about innovative writing & Content Marketing. A rich vein of experience in writing articles related to WordPress right from plugins, themes, customization, security, WooCommerce & Gutenberg. Pens down his thoughts for eSparkBiz @Custom WordPress Development Company where you can Hire WordPress Developer as per your requirements.

Related Post

10 Reasons To Stop Usage Of Nulled WordPress Themes & Plugins

10 Reasons To Stop Usage Of Nulled WordPress Themes & Plugins

Are you someone who has been working as a WordPress Developer for a long time? Then, you must have heard about the WordPress Nulled Plugins &…

Step-By-Step Guide On Bulk Upload Files To WordPress Website

Step-By-Step Guide On Bulk Upload Files To WordPress Website

Are you someone who is working as a WordPress Developer for a long time? OR Are you someone who is an owner of an IT…

12 Innovative Ways To Utilize Forms On WordPress Website

12 Innovative Ways To Utilize Forms On WordPress Website

It is perhaps one of the best ways to utilize the forms on your WordPress website. Many of you would be using the form feature…

get in touch image

Growth Is Just One Click Away

Don’t feel like calling? Just share some project details & our company representative will get in touch. Schedule A Meeting with our Director of New Business

How long would you like the meeting to be?
Get In Touch