← All articles
June 24, 2026

WordPress White Screen of Death: How to Fix Fatal PHP Errors

Your WordPress site went completely blank. No error message, no admin, nothing. Here's exactly how to diagnose and fix white screen errors without losing your content.

The White Screen Is Actually Good News

When WordPress shows a blank white page — sometimes called the White Screen of Death (WSOD) — it feels catastrophic. But it's almost always fixable in under 30 minutes. The white screen just means PHP crashed before it could render anything. The cause is almost always one of five things.

Step 1: Check If It's the Frontend or Admin

Go to yoursite.com/wp-admin.

  • Admin loads fine → the issue is in your theme
  • Admin is also blank → it's a plugin or a core PHP error
  • Admin shows an error message → great, you have something to work with

Step 2: Enable Debug Mode

WordPress hides errors by default. Open wp-config.php (in your site root) and add these lines before the line that says "That's all, stop editing!":

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

Now reload the white screen page. Then check wp-content/debug.log for the actual error.

Step 3: The Most Common Causes

Cause 1: Plugin Conflict

Rename the plugins folder temporarily via FTP or file manager:

/wp-content/plugins → /wp-content/plugins-disabled

Reload the site. If it comes back, you have a plugin conflict. Re-enable plugins one by one to find which one breaks it.

Cause 2: Theme Error

Switch to a default theme (Twenty Twenty-Three) from the database or via FTP — rename your active theme folder:

/wp-content/themes/your-theme → /wp-content/themes/your-theme-broken

WordPress will fall back to the default theme.

Cause 3: PHP Memory Limit

Add this to wp-config.php:

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

Or add this to .htaccess:

php_value memory_limit 256M

Cause 4: Corrupted Core Files

Re-upload clean WordPress core files (download from wordpress.org). Don't touch wp-content or wp-config.php.

Cause 5: PHP Version Mismatch

Your host upgraded PHP and your theme or plugins aren't compatible. Check your host control panel — try switching back to the previous PHP version temporarily.

What the Debug Log Will Tell You

Common error patterns:

Error Cause
Call to undefined function Plugin or theme calling a removed function
Allowed memory size exhausted Memory limit too low
Parse error: syntax error Someone edited a PHP file and broke the syntax
Class not found Plugin dependency missing or load order issue
Fatal error: Uncaught TypeError PHP 8 compatibility issue

If None of This Works

The debug log will give you the exact file and line number. At that point it's either:

  1. A specific plugin or theme file you can patch
  2. A PHP 8 compatibility problem (deprecated functions, changed behaviour)
  3. Database corruption — less common, fixable with a restore or CHECK TABLE

I fix WordPress white screen errors regularly. Usually takes 30–60 minutes once I can see the debug log. If you want a second pair of eyes, describe what's happening and I'll take a look.

Need help with this?

DevCev Digital specialises in exactly this kind of work. Tell us what you need — we'll respond within a few hours.

Get free diagnostic →WordPress Fix & Development
← Back to blogGot a project? Let's talk →