Troubleshooting

WordPress White Screen of Death — How to Fix It

A blank page with no error message. Here's how to find out what actually broke.

Quick Answer: The white screen of death is a PHP fatal error with no error message displayed — usually caused by exceeded PHP memory, a plugin or theme conflict, or a code syntax error. Enable WP_DEBUG_LOG in wp-config.php to see the real cause in /wp-content/debug.log. If you need the site back immediately, raise the memory limit with define( 'WP_MEMORY_LIMIT', '256M' ); and rename the /wp-content/plugins folder via FTP to rule out a plugin conflict.

Staring at a Blank White Page Right Now?

Tell us what's happening and we'll help you get it back up — or take it off your plate entirely going forward.

Why the Screen Is Blank Instead of Showing an Error

The white screen of death happens when a PHP fatal error occurs while error display is turned off — the default, safer configuration for a live site, since showing raw PHP errors to visitors is itself a security risk. The tradeoff is that you, the site owner, also don't see anything useful. The fix is the same either way: turn on error logging (not display) so the error is captured somewhere only you can see it.

Step 1: Enable Debug Logging

Via FTP or your host's file manager, open wp-config.php and add these lines just above /* That's all, stop editing! */:

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

Reload the blank page once, then open /wp-content/debug.log. This will contain the exact PHP fatal error — typically a memory exhaustion message or a specific function call that failed in a named plugin or theme file.

Step 2: Raise the PHP Memory Limit

Memory exhaustion is one of the most common causes of a true white screen. Add this line to wp-config.php:

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

If the site loads after this change, memory was the cause. That's a working fix, but it's worth following up by checking what's actually consuming that much memory — often a plugin doing something inefficient, or a hosting plan that's simply undersized for the site's current plugin load.

Step 3: Isolate the Plugin or Theme

If the debug log points to a plugin, or memory wasn't the issue, rename the /wp-content/plugins folder via FTP to force-deactivate every plugin at once. If the blank screen resolves, rename the folder back and reactivate plugins one at a time, reloading after each, until the white screen returns — that identifies the plugin responsible. If plugins aren't the cause, repeat the same test by renaming your active theme's folder in /wp-content/themes; WordPress will fall back to a default theme automatically.

Step 4: Check for a Syntax Error in Custom Code

If you or a developer recently edited functions.php or added a custom snippet, a single missing bracket or semicolon can cause an immediate white screen. The debug log will usually name the exact file and line — go back to the last edited file and check the syntax carefully, or restore the previous version from a backup if one exists.

Preventing It Going Forward

A blank white page is one of the least forgiving WordPress failures because it gives visitors and search engines nothing — no partial page, no error message, just nothing. It's also one of the most preventable: testing plugin, theme, and core updates on a staging environment before deploying to production catches the vast majority of white-screen causes before they ever reach a live visitor.

Related Troubleshooting Guides

Martin Van Den Boogerd
Martin Van Den Boogerd
Founder & Owner, CriticalWP — background in cybersecurity and municipal government infrastructure
More about Martin →

Common Questions

A blank white page with no error message is almost always a PHP fatal error with error display turned off — most commonly caused by exceeding the PHP memory limit, a plugin or theme conflict, or a syntax error in custom code. Because nothing is displayed, you have to enable debug logging to see what actually happened.
Enable WP_DEBUG_LOG in wp-config.php and reload the page, then check /wp-content/debug.log for the fatal error. If you can't access wp-config.php, check your host's PHP error log instead — both will show the specific file and line causing the blank screen.
Often, yes, if the cause is memory exhaustion. Add define( 'WP_MEMORY_LIMIT', '256M' ); to wp-config.php. If the site loads afterward, memory was the immediate cause — though it's worth identifying what's consuming so much memory rather than just raising the limit indefinitely.
Yes, this is one of the most common causes, especially right after a plugin update. Rename the /wp-content/plugins folder via FTP to deactivate everything at once, confirm the site loads, then reactivate plugins one at a time to identify the one responsible.
They share the same root cause — a PHP fatal error — but display differently. Since WordPress 5.2, most installs show the "critical error" message instead of a blank screen. A true white screen usually means an older WordPress version, a very early-stage failure, or a host configuration that suppresses the newer error message entirely.

Stop firefighting blank screens after every change.

Managed WordPress operations means every update is tested on staging before it touches your live site — so this error doesn't happen to your customers in the first place.