Everything you need to know about the

White Screen Of Death Error

What is causing it, and how can it be prevented and fixed?

WP White Screen Of Death Error

What's Causing The White Screen Of Death Error?

The white screen of death (WSOD) can be a site owner’s worst nightmare. This puzzling WordPress screw-up leaves you staring at a blank page without hinting at what went wrong.

This commonplace WordPress screw-up sometimes affects partial areas of your site, say the header or individual posts feeding what is happening.

We could have been viewing the white screen of death within the WordPress chairman locale while everything else was fine. For instance, we might have read a particular post several times.

Knowing the whys of this mess is essential to understanding how to fix it. Below, we discuss a few causes of the White Screen of Death and the steps to restore your site to its usefulness.

Overall, if you see a white screen of death when trying to visit your WordPress site, it suggests that something on your site has gone wrong.

The slow content either gets killed by your WordPress operating server or simply times out. Consequently, no error message is generated; you see a blank white page.

WordPress displays a white screen instead of the site. Regardless of the error, you may perceive a mishandled message.

For example, you may see an essential stumble message instead of a clear page.

Whether you see a blank screen or the message ‘There has been a critical error on your website,’ it’s a relative mistake.

This error can also be caused by an incorrectly coded subject or module added to your site. Very rarely, it can be an issue if your web is not playing nicely with the server.

Since two or three things can cause the white screen screw-up, deliberate troubleshooting is required.

Troubleshooting by Using Debug Mode

The white screen is vague and doesn’t tell much about the error. It’s almost impossible to fix anything without knowing what is causing it.

Although this step is optional and unnecessary, I highly recommend it to speed up the process.

Therefore, to find the real cause, we need to enable debug mode in WordPress.

To do that, use a file manager plugin or access your website using FTP software like FileZilla.

Then, right-click on the wp-config.php file in the WordPress root folder and click Edit.

Once opened, add the following code to the bottom of the file and click save.

define( 'WP_DEBUG', true);
define( 'WP_DEBUG_LOG', true );

Go back and refresh your website to see what the issue is being displayed on the screen (instead of a blank white screen).

Limited memory size

PHP's limited memory size can cause WSOD.

Poorly coded plugins or themes

Plugin conflicts or outdated plugins can trigger the white screen of death.

Broken database

Miscommunication between your website and hosting server.

Did you know...

Many reasons can create the WSOD. Knowing the cause is impossible just by looking at a blank screen. Therefore, it’s highly recommended that debug mode be enabled in WordPress.

How to fix the White Screen Of Death Error?

In most cases, the white screen happens because a script has exhausted your server’s memory limit and doesn’t have enough memory to finish.

WordPress will quit and won’t execute the script. Instead, it will show you a blank screen.

Increasing the server’s memory limit will solve the problem in that case.

Fix #1: Increase PHP Memory Limit

Check the Current Memory Limit

To check the current memory limit allocated to your WordPress website, navigate to Tools -> Site Health and go to the Info tab.

Expand the Server tab and look for the PHP memory limit value there.

Check WP Memory Limit

If your PHP memory limit value is less than 128M, you should increase it, especially if you have a heavy website requiring many resources.

Change the Memory Limit Function

There are several ways to increase WordPress’s allocated memory limit, and I’ll show you the most popular one.

The first step is to access your wp-config.php file. You can see how to access the file by reading the previous section.

Then, search for the /* That’s all; stop editing! Happy publishing. */ line, and paste the following code above it.

define( 'WP_MEMORY_LIMIT', '256M' );
Increase WP Memory Limit

Save the file and refresh the website to see if it’s working now.

You can also change the number of the memory limit to 512M if the 256M didn’t help.

Additionally, read our more in-depth tutorial on how to increase memory limit.

If increasing the PHP memory limit didn’t solve the white screen of death issue, move on to the next fix.

Fix #2: Deactivate All Plugins

If you experience a white screen of death after updating a plugin, the solution is to deactivate or delete it completely.

However, if you update multiple plugins and you don’t know which plugin caused the issue, we will need to deactivate them all.

To achieve that, access your WordPress root folder and enter the wp-content folder.

Look for the plugins folder and right-click on it to rename it.

Rename the plugins folder

You can change its name to anything you like. In our example, we will change it to pluginsDeactivated.

New plugins folder name

By default, WordPress searches the plugins folder to access the plugins installed on your website. It automatically deactivates all the plugins if it can’t find the folder.

Go back and refresh your website after you rename the plugins folder.

If a plugin caused your website to display a blank white screen, it should be fixed now because all plugins are inactive.

Log in to your website and rename the pluginsDeactivated folder back to plugins.

Then, from inside the plugins screen, activate the plugins one by one until you trigger the white screen of death again.

Activate each plugin individually

When you see the white screen of death after activating a specific plugin, that is the one that caused the issue. Please deactivate or delete it.

Fix #3: Restore to the Default Theme

Poorly coded or heavy scripts can also trigger the fatal white screen of death error.

If you inject your scripts into the functions.php file of your theme, there is a big chance that one of them is causing the issue.

The solution here is to restore your active theme to its default state.

First, access the themes folder, right-click on your active theme, and click Compress.

Compress all themes

After the compression, click the new zip-compressed file and select download.

This will download a copy of your theme to your local drive. If needed, we can use it later as a backup. After downloading the zip file, you can delete both the zip file and the theme’s folder from your server.

Then, please search for your theme in the WordPress repository and download it to your computer.

Download WordPress theme

Extract the default theme zip file we downloaded from the repository and upload its folder to the themes folder.

Upload a new folder theme

Go back to your website and refresh it. If the theme caused the white screen, it is now fixed.

However, you must still add the functions (code snippets) in the modified theme we compressed earlier.

Therefore, copy and paste each function into the new theme’s functions.php file.

Please refresh the website after each paste to see if the white screen is triggered.

When you see the white screen again, the latest code snippet causes it. Therefore, you’ll need to fix the code or delete it completely.

Tip: Instead of pasting the functions or code snippets into your functions.php file, use a custom plugin such as Pluginception.

A dedicated plugin like Pluginception will automatically proof-check and deactivate your codes before they trigger an error.

White Screen Of Death – Frequently Asked Questions

What causes the White Screen of Death in WordPress?

WSOD usually happens due to PHP errors, memory limit exhaustion, plugin/theme conflicts, or corrupted files.

Why does my WordPress site show a blank screen with no error message?

WordPress suppresses errors by default. You can enable debugging by adding define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); to the wp-config.php file.

Does WSOD affect both the front end and the admin dashboard?

It depends. If both are blank, it could be a core or server issue. If only the front end is blank, it’s likely a theme or plugin issue.

How do I fix the WSOD if I can’t access the admin panel?

Use FTP or your hosting file manager to rename the plugins or themes folder inside wp-content/ to disable them.

Can a plugin or theme cause the White Screen of Death?

Yes. A faulty or incompatible plugin or theme can trigger WSOD. Deactivating them via FTP can help identify the culprit.

What if WSOD only happens on some pages?

This may be due to a specific plugin, a corrupted database entry, or memory issues.

How can I prevent WSOD in the future?

1. Regularly update WordPress, themes, and plugins. 2. Test updates on a staging site before applying them. 3. Use error logging (wp_debug.log) to catch issues early.

Increase memory limit

Increase the PHP memory limit to 256m minimum.

Deactivate all plugins

Rename the plugins folder to activate all plugins. Then activate each individually.

Activate default theme

Activate the default WordPress theme instead of your current active one.

Fixing it yourself sounds too complicated?

Let us fix the White Screen Of Death Error for you!

Get the White Screen Of Death Error fixed in two different ways:

Single Purchase

A single purchase of White Screen Of Death Error fix.

$39

Maintenance Plans

The White Screen Of Death Error fix is included in our maintenance plans.
Here are a few tips from us before you leave

Practical tips, examples, and best practices to keep your WordPress site safe.

Your website will thank us, you welcome :)