Skip to content

Troubleshooting guide

WordPress white screen of death: how to fix it

A blank page means PHP hit a fatal error and display of errors is turned off. The real message is one configuration change away.

3 min read10 sectionsUpdated

On this page

Key points

  • Turn on WP_DEBUG_LOG, not on-screen display.
  • A recent plugin or theme update is the most likely cause.
  • Recovery mode emails may have gone to the admin.
  • Everything can be done without wp-admin.

What it means

A PHP fatal error stopped rendering before output began. Newer WordPress versions show "There has been a critical error", and send a recovery link by email, but a plain blank page remains possible.

Common causes

  • A plugin or theme update with a bug, or a conflict.
  • PHP version incompatibility after a host upgrade.
  • Memory limit reached.
  • Corrupted core files after a partial update.

Diagnose it

Add these to wp-config.php above the "stop editing" line, then reload the page and read the log.

bash
# wp-config.php
# define('WP_DEBUG', true);
# define('WP_DEBUG_LOG', true);
# define('WP_DEBUG_DISPLAY', false);

tail -n 30 wp-content/debug.log

# List recently updated plugins with WP-CLI
wp plugin list --fields=name,status,version,update

# Test with all plugins disabled
wp plugin deactivate --all --skip-plugins --skip-themes

Fixes

The log names the plugin or theme file. Deactivate that plugin using WP-CLI or by renaming its folder under wp-content/plugins via FTP or SSH. Switch to a default theme with wp theme activate twentytwentyfour --skip-themes. Reinstall core with wp core download --skip-content --force. Then raise WP_MEMORY_LIMIT if the log shows a memory error, and restore a backup if nothing else works.

After the fix

Turn off WP_DEBUG once finished, and remove wp-content/debug.log, because that file may be publicly reachable and can reveal paths and data. Then reduce the risk of a repeat: test plugin updates on a staging copy first, keep daily off-site backups, and avoid auto-updating every plugin at once on a busy site. Check that your PHP version is one that your plugins actually support before the host changes it. A blank page on only one screen, such as the post editor, usually means one plugin rather than a whole-site failure.

Catch it automatically

A blank page can return status 200, so a simple status check will pass it. Use an uptime monitor that also checks for a keyword in the page body. See WordPress monitoring for the full setup.

Frequently asked questions

Can I fix it without wp-admin?

Yes, with WP-CLI, or by renaming folders over FTP or SSH.

Why is the page blank instead of showing an error?

Production PHP hides errors from the page, which is correct for security.

Will disabling plugins lose data?

Normally not. Settings remain in the database.

Watch your own site and services with VitalRix

Uptime checks, APM, logs, real-user monitoring, alerts and status pages in one place. Every product has a free tier and no credit card is needed.