Image Showing How To Fix The Wordpress White Screen Of Death Error

One of the most prevalent WordPress issues is the WordPress white screen of death, which you appear to be experiencing.

The term implies the seriousness of the position you are in. We are here to assist you in getting through and out of the experience. So, stay in there!

Although WSoD is a regular WordPress problem, it is frightening since it does not always display an error notice on your screen.

It’s also possible that you’ll get locked out of your account but, to make matters worse, your site visitors will experience the same issues while reading your site’s content.

Let’s get this problem resolved!

What Causes WordPress White Screen of Death?

Most of the time, a white screen of death signifies that a script on your website has reached its memory limit.

Your WordPress hosting server will either terminate the unresponsive script, or it will just time out. As a result, no simple error message is created. You’re then faced with a blank white screen.

Instead of a blank white screen, you may occasionally get a crucial error notice.

Image Showing Wordpress White Screen Of Death

It’s the same error whether you see a blank screen or the notice “There has been a severe issue on your website.”

This issue might potentially occur due to a poorly written theme or plugin that has been placed on your site.

It might happen if your web hosting server has an issue. Because a variety of factors can cause the white screen problem, it takes careful investigation to resolve.

Is this an issue on any of your other sites?

Whether you have additional WordPress sites installed on the same hosting account, check if the problem also affects them.

If it is, it is a clear indication that something is not right with your WordPress hosting provider. It might be a temporary problem with their service, and you should contact them for additional information.

If, on the other hand, the problem only occurs with one website or a particular section of that website, you know that the fault is with that unique website.

The White Screen of Death in WordPress: How to Fix It

One of the most common WordPress issues is the white screen of death. It’s also one of the most annoying since you’re locked out of WordPress with no error notice.

The white screen of death also has the problem of just affecting a portion of your website.

For example, inside the WordPress admin area, all you see is a white screen of death, but everything else looks normal.

In other circumstances, you may see it on a single post while everything else works well.

In this post, we will look at many options for resolving the WordPress white screen of death.

How to Fix White Screen Error with WordPress Recovery Mode

WordPress may detect the white screen of the death problem if a WordPress plugin or theme causes it.

You may not even see a white screen due to the new fatal error avoidance function included in WordPress 5.2.

Instead, you will get a notice indicating that the site is experiencing technical problems.

Technical Difficulties

You would also receive an email with the subject ‘Your Site is Having a Technical Issue’ to your admin email address.

Technical Issue Email Sent To Admin

This email message will identify the plugin that is generating the problem and will include a unique link.

This link will take you to the WordPress recovery mode, where you may disable the problematic plugin.

Wordpress Recovery Mode

However, suppose you see a pure white screen of death with no email or recovery mode choices. In that case, you must manually resolve the problem.

Increasing Memory Capacity

Typically, this error occurs when a script runs out of memory and terminates in the middle of its execution. To resolve this, you must increase the amount of PHP RAM accessible to WordPress.

It will allow the script to use additional RAM to complete the task at hand.

Disabling All Plugins

If raising the memory limit does not help, or if you have a large memory limit, such as 256M or 512M, you should begin researching.

In our experience resolving this issue, we’ve always discovered that the problem is with a specific plugin or a theme. Let’s disable all of the plugins now.

If you still have access to the WordPress admin area, navigate the Plugins > Installed Plugins page. Select all installed plugins and click the ‘Deactivate’ button in the ‘Bulk Actions’ drop-down menu.

Deactivate All Plugins Via Wordpress Admin Area

However, if you do not have access to the WordPress admin area, you must disable all plugins through FTP.

To begin, use an FTP program to connect to your WordPress site. Once connected, navigate to the wp-content folder and look for the ‘plugins’ folder.

Rename Plugins Folder To Deactivate All Plugins

You must now right-click on the plugins folder and select rename. The plugins folder might be renamed plugins-deactivated.

Plugins Deactivated

Your FTP client will now rename the plugins folder.

To load all plugins, WordPress looks for a folder called plugins. When it is unable to locate the folder, it simply deactivates all plugins.

If this resolves the problem, activate one plugin at a time to get to the root of the problem. Once you’ve identified the plugin that’s causing the pain,

you can either replace it with another plugin or report the issue to the plugin’s creators.

Replace Theme with a Default Theme

If the plugin troubleshooting does not resolve the issue, you should consider switching to a default theme.

First, use an FTP program to connect to your website and navigate the /wp-content/themes/ folder.

It lists all of the themes that have been installed on your website.

Right-click to choose your current WordPress theme and save it as a backup to your PC.

Download Current Theme As Backup

The following step is to remove your current theme from your website. Select ‘Delete’ from the context menu of your theme folder.

The theme will immediately be removed from your website using your FTP client.

Delete Current Theme

Suppose you have a default WordPress theme installed on your website, such as (Twenty Eighteen or Twenty Nineteen). In that case, WordPress will use it as the default theme automatically.

If you don’t already have a default theme loaded, you’ll have to do it using FTP.

If this resolves the problem, you should check the functions.php file in your theme. If the file has additional spaces at the bottom, delete them; this will often solve the problem.

The white screen of the death problem can also be caused by utilizing a poorly written function in your theme’s functions.php file.

Consider downloading a new copy of your theme from the source and then installing it.

Enabling Debug Mode in WordPress to Catch Errors

If nothing else has worked, the next step is to enable debugging in WordPress. It will allow you to examine the kind of errors that are being generated.

Paste the code below into your wp-config.php file.

1

2

define( ‘WP_DEBUG’, true);

define( ‘WP_DEBUG_LOG’, true );

Once you’ve done that, the blank screen will contain errors, warnings, and notifications. These may be able to assist you in determining the underlying reason.

Even if you don’t observe any problems, you should still look at the debug log. Using an FTP client, navigate to your website’s wp-content folder.

There will be a new debug.log file there, which will contain a log of all problems, notices, and warnings.

Complete Guide On How To Fix The Wordpress White Screen Of Death In 2021

Clean the WordPress Cache

You may have access to the backend at times, but the site’s front end displays the white screen of death. It can occur as a result of a caching plugin. Clear your cache.

Fixing Longer Articles

If you only have a white screen of death on an extremely long post or page, this small tip may help.

By extending the recursion and backtrack limits, this method essentially increases PHP’s text processing power. You can insert the code below into your wp-config.php file.

1

2

3

/** Trick for long posts */

ini_set(‘pcre.recursion_limit’,20000000);

ini_set(‘pcre.backtrack_limit’,10000000);

We appreciate that this is a very frustrating mistake. We hope that one of the solutions listed above has resolved the problem for you.

You may also be interested in our WordPress troubleshooting guide, which teaches you how to detect and resolve WordPress issues on your own.

Check File Permission Issues

Permission and ownership problems are other possible sources of the WSoD. It’s an issue that you can solve on your own.

However, unless you are confident in your abilities, we advise against it since you may accidentally create weaknesses that attackers exploit.

There are three basic principles to follow when it comes to WordPress permissions:

The file should be 664 or 644.

Folders should be set to a size of 775 or 755.

It should set the wp-config.php file to 660, 600, or 644.

If you have SSH access to your server, execute the following command from the root WordPress directory to apply the relevant rules:

sudo, find. -type f -exec chmod 664 {} +

sudo, find. -typed -exec chmod 775 {} +

sudo chmod 660 wp-config.php

If you’re unsure how to do this or are afraid, ask your web host for support.

Inspect for Failed Auto-Update Issues

WordPress occasionally has problems with updates, such as when the server timeouts. Most of the time, this issue resolves itself on its own. In certain rare situations, though, it may result in the WordPress White Screen of Death.

The first thing you need to do is check your WordPress root directory for an a .maintenance file.

What you should attempt is removing the file and reloading your site.

If it completes the upgrade, but WordPress did not automatically remove this file, everything should be back to normal.

If the update was not finished, it may be resumed automatically, in which case everything should return to normal.

Fix Syntax Issues or Restore a Backup

Another common reason for the WordPress WSoD is when you alter the code on your WordPress site and unintentionally miswrite something or use improper syntax.

Because a single character in the incorrect place might bring your entire site down, you should never modify code on your live production site.

But don’t be concerned. You may always log in to your site through FTP and undo any changes you made by hand. If you don’t know what modification triggered the issue, having WordPress backups on hand comes in useful.

Remember that if you previously selected debug mode in WordPress, an error message suggesting a parsing syntax problem may occur.

If this is the case, it should advise you where to look for the issue code.

How to avoid WordPress’s White Screen of Death

It is critical to take preventative steps to avoid the white screen of death in the future. Here are a few pointers:

  • Always make a backup of your website: Daily backups ensure that you can quickly recover it if your website ever goes down.
  • Install only trustworthy plugins and themes: Every marketplace will give popularity data, reviews, and the most current update date for every plugin and theme accessible.

Choose only well-reviewed and often updated add-ons since they are less likely to cause compatibility issues with your current system.

  • Use a staging site: Before adding plugins, themes, or anything else that affects your site, test your changes in a staging environment,

It is a private replica of your public site. It prevents any compatibility problems from affecting your live site.

  • It should read Notices from software: Don’t dismiss those dashboard notifications. They include essential information on upgrading your plugins and themes.
  • Maintain strong user controls: It isn’t easy to maintain track of website modifications when several individuals access it—restricting user rights to just needed team members.

The WordPress white screen of death sounds frightening, but we believe the term is a little theatrical. The methods provided above can resolve the problem. And restore your website’s functionality.

If all else fails, contact your web hosting provider for one-on-one support, and proceed with care when making future modifications to your site.

Conclusion

The WordPress White Screen of Death may be highly irritating, if not terrifying. Several things can go wrong, but the situation is typically not as difficult as it appears.

In most situations, a simple plugin or theme check should resolve the WSoD issue. Acquainting yourself with WordPress debug mode will undoubtedly throw additional light on the topic and help you.

Finally, we can conclude that, while there are a few solutions to repair the white screen of death problem with WordPress, you should still proceed with caution.

If you make changes to your WordPress code without knowing what you’re doing, you could wind up doing something that breaks your site and shows the WordPress white screen of death.

As a result, make sure you stick to the preceding instructions.

Load More Related Articles
Load More By Susana Taylor
Load More In Wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *