How to Fix the WordPress White Screen of Death (WSOD)

The WordPress White Screen of Death is one of the most dreaded errors a site owner can face. You visit your site and instead of your carefully crafted content, you see… nothing. Just a blank white page.

The good news? WSOD almost always has a fixable cause. The bad news? Finding that cause can feel like searching for a needle in a haystack.

What Causes the White Screen of Death?

WSOD is typically caused by a PHP fatal error that WordPress cannot recover from. The most common culprits are:

  • Plugin conflicts — Two plugins trying to do the same thing, or a plugin incompatible with your PHP version
  • Theme errors — A broken functions.php or template file
  • Memory exhaustion — PHP running out of allocated memory
  • Corrupted core files — Failed updates leaving WordPress in a broken state
  • Database connection issues — Wrong credentials or a crashed MySQL server

Step 1: Enable Debug Mode

The white screen hides the actual error. To reveal it, enable WordPress debug mode by adding this to your wp-config.php:

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

Now reload the page. You should see a PHP error message pointing to the exact file and line causing the problem. If the screen is still white, check wp-content/debug.log for the error.

Step 2: Deactivate All Plugins

If you cannot access wp-admin, rename the wp-content/plugins folder to plugins-disabled via FTP or SSH. This deactivates all plugins at once. If the site loads, the problem is a plugin — re-enable them one by one to find the culprit.

Step 3: Switch to a Default Theme

If plugins are not the issue, rename your active theme folder. WordPress will fall back to a default theme like Twenty Twenty-Five. If that fixes it, your theme has a bug.

Step 4: Increase PHP Memory Limit

Memory exhaustion is a silent killer. Add this to wp-config.php:

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

If this fixes the WSOD, you have a plugin or theme consuming too much memory. WP Multitool can help you identify which queries and processes are eating your memory budget.

Step 5: Reinstall WordPress Core

If nothing else works, download a fresh copy of WordPress from wordpress.org and replace everything except wp-content and wp-config.php. This fixes corrupted core files without touching your content.

When You Need It Fixed Now

If your site is down and you do not have time to debug manually, fix-wp.com uses AI-powered diagnostics to identify and fix WSOD within an hour. It creates a full backup before making any changes, and you only pay if the fix works.

Preventing Future WSOD

  • Always test plugin and theme updates on a staging site first
  • Keep PHP updated — WordPress 6.x works best with PHP 8.1+
  • Use a hosting provider with automatic backups
  • Monitor your error log regularly
  • Set up uptime monitoring to catch WSOD before your visitors do

The White Screen of Death sounds scary, but with a systematic approach, you can diagnose and fix it every time.

Get WordPress Performance Tips

Join developers and agency owners who get backend optimization strategies, tool releases, and deep-dive guides.

No spam. Unsubscribe anytime. We respect your privacy.