Whereas a lot of the world is accustomed to the well-known Home windows’ Blue Display of Dying, WordPress customers get to (sometimes) expertise their very own display of loss of life – the WordPress White Display of Dying.
This nasty error makes your whole web site disappear and replaces it with both with a very clean white display (in Firefox) or a display like under (in Chrome):
It’s one actually irritating error as a result of it looks as if your whole web site has disappeared in a puff of smoke. However don’t fear! It’s normally nothing severe and with some primary diagnostic steps, you need to have the ability to get your web site working once more very quickly.
That can assist you try this, I’m going to point out you how you can repair the White Display of Dying in WordPress.
Web page Contents
What Causes The White Display Of Dying In WordPress?
As is commonly the case with basic errors like this, there isn’t one single trigger for the WordPress White Display of Dying.
With that being stated, there are some frequent causes. In response to the official WordPress Codex, the preferred causes are:
- Plugin compatibility points
- Theme compatibility points
Aside from these talked about above, it’s fairly potential that your web site is hitting its PHP reminiscence restrict.
To diagnose and, hopefully repair the difficulty, you’ll have to:
- Decide whether or not your theme or plugins are inflicting these points
- Improve your WordPress web site’s reminiscence restrict
I’ll present you how you can do each, in addition to a diagnostic step you possibly can take if neither method fixes the difficulty for you.
Additionally take a look at: How To Repair “Error Establishing A Database Connection” In WordPress
How To Repair WordPress White Display Of Dying
As a result of the WordPress Codex lists plugin and theme compatibility points as the 2 most typical causes, we’re going to begin with that earlier than transferring on to methods to extend your web site’s reminiscence restrict.
Diagnostic #1: Verify For Plugin Compatibility Points
To examine if a plugin (or plugins) is inflicting the difficulty, the method is pretty easy:
- Deactivate all your plugins
- Reactivate plugins one after the other until you discover the precise trigger
For those who can nonetheless entry your WordPress dashboard, nice! You need to use the conventional Plugins interface to do that.
Nevertheless, as is the case normally, with the WordPress White Display of Dying staring in your face, there’s a very good probability you received’t have the ability to entry your WordPress dashboard.
Right here’s the foolproof option to deactivate and reactivate plugins for those who can’t entry your dashboard
Step 1: Hook up with your web site through FTP
To get began, you’ll want to hook up with your WordPress web site utilizing an FTP program and your FTP account credentials (you may get this info out of your host for those who don’t already understand it).
I’ll use FileZilla for my screenshots – however you should utilize any FTP program.
When you’re linked, browse to the …/wp-content/ folder:
Step 2: Rename plugins folder to plugins_old
Subsequent, right-click on the plugins folder (this must be contained in the wp-content folder) and Rename the folder to plugins_old:
Right here’s what it ought to appear like after you rename the folder:
At this level, you’ve deactivated all your plugins. Now, you simply have to reactivate them one after the other.
Step 3: Create a brand new plugins folder
Now, you’ll have to create a brand new folder referred to as plugins by right-clicking and selecting Create listing:
By now, you need to have two folders named:
Step 4: Transfer particular person plugin folders from plugins_old to plugins
Now, to reactivate your plugins:
- Navigate into the plugins_old folder
- Transfer all of the recordsdata from plugins_old to plugins
Step 5: Activate plugins one after the other in WordPress dashboard
By this level, you need to hopefully have the ability to entry your WordPress dashboard.
Inside your dashboard, go to the Plugins tab. You must see an inventory of all of your plugins. Every plugin must be deactivated:
Now, merely Activate every plugin one after the other till you discover the plugin that’s inflicting the difficulty.
Diagnostic #2: Verify For Theme Compatibility Points
To examine for theme compatibility points, you should utilize an nearly equivalent course of to the plugin methodology above.
For those who can nonetheless entry your WordPress dashboard, strive switching again to the default Twenty Seventeen theme to see if that fixes the difficulty.
For those who can’t entry your WordPress dashboard, you’ll have to dig into your web site through FTP once more.
Step 1: Hook up with your web site through FTP
As described earlier, connect with your web site through FTP and browse to the …/wp-content/ folder:
Step 2: Rename energetic theme’s folder
As a result of you possibly can solely have one theme energetic at a time, you don’t have to rename the whole themes folder.
As a substitute, browse into the themes folder and rename the folder that incorporates your energetic theme by appending _old to the tip of the folder title:
Whenever you’re completed, it ought to look one thing like this (under):
As quickly as you rename the folder, WordPress will attempt to revert again to the default theme, which must be Twenty Seventeen (assuming you continue to have Twenty Seventeen put in):
For those who don’t have some other themes put in, you possibly can at all times obtain a recent copy of Twenty Seventeen and add it through FTP.
In case your web site begins working as quickly as you revert to the default theme, that’s a fairly good indicator that your theme selection is inflicting the White Display of Dying.
Diagnostic #3: Improve PHP Reminiscence Restrict
In case your web site isn’t practical even after ruling out any plugin or theme compatibility points, the following factor that you may attempt to do is enhance your web site’s reminiscence restrict.
For those who’re on low-cost shared internet hosting, you might not have the ability to do that with out your host’s assist. So for probably the most foolproof option to enhance WordPress’ reminiscence restrict, I like to recommend simply speaking to your host assist.
With that being stated, there are some issues that you may strive your self to extend the reminiscence restrict (assuming you’ve gotten a number that permits it).
Choice 1: Edit wp-config.php file to extend reminiscence restrict.
Hook up with your web site through FTP and edit the wp-config.php file in your web site’s root folder. To extend WordPress’ reminiscence restrict, add this brief code snippet to your wp-config.php file and save your adjustments:
Choice 2: Edit .htaccess file to extend reminiscence restrict.
One other factor you possibly can strive doing is including a brief code snippet to your .htaccess file. Yow will discover this file in your web site’s root folder (the identical folder as wp-config.php):
php_value memory_limit 64M
Diagnostic #4: Allow WordPress Debug Mode
If not one of the options above have mounted your drawback, you possibly can attempt to diagnose smaller points by enabling WordPress debug mode.
Whenever you allow debug mode, WordPress will show each single PHP error, warning, and spot.
Whereas you will have some technical data to interpret these errors, they’ll normally level you in the best course. And for those who’re undecided what a selected error means, you possibly can at all times rent a WordPress developer that will help you perceive what the debug mode is exhibiting.
To allow WordPress debug mode, add the next code snippet to your wp-config.php file:
outline( 'WP_DEBUG', true );
As soon as enabled, WordPress will mechanically begin displaying any code errors (for those who don’t see any messages, which means WordPress isn’t encountering any points).
More often than not, the WordPress White Display of Dying is brought on by a easy theme or plugin problem. Whereas it may be irritating, utilizing the method of elimination can normally provide help to zero in on the offending theme or plugin. From there, you’ll have to both attain out to the developer for assist or discover a totally different resolution.