WordPress Security & Hosting

How to Fix the WordPress White Screen of Death

blog-post-banner

Error Troubleshooting

How to Fix the WordPress White Screen of Death

The WordPress “White Screen of Death” (WSOD) is one of the most confusing errors — your site simply shows a blank white screen with no message. This guide shows every working fix used by professionals in 2025 so you can restore your site quickly without guesswork.

1

What Causes the White Screen of Death?

WSOD usually happens due to PHP or plugin conflicts.

Common reasons include:

  • Plugin or theme conflict
  • PHP memory limit exhausted
  • Corrupted WordPress core files
  • Error in functions.php
  • Outdated PHP version
  • Cached pages showing broken output

Now let’s fix it step-by-step.

2

Step 1: Enable WordPress Debug Mode

Debugging reveals the exact error causing the WSOD.

Edit your wp-config.php file and add or modify:

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

Now check your debug log here:

/wp-content/debug.log

3

Step 2: Disable All Plugins

The #1 cause of WSOD is a faulty plugin.

If you can access wp-admin:

  • Go to Plugins → Installed Plugins
  • Deactivate all
  • Enable them one by one to find the faulty plugin

If you CANNOT access wp-admin:

  • Open FTP or File Manager
  • Rename the folder “plugins” → “plugins_old
  • Refresh your website

If site works → one plugin is broken.

4

Step 3: Switch to a Default Theme

A broken theme or functions.php file may crash your site.

Switch to a default WordPress theme:

  • Twenty Twenty-Four
  • Twenty Twenty-Three

If wp-admin is inaccessible:

  • Rename your active theme folder
  • WordPress will auto-switch to a default theme

Check if the site loads normally.

5

Step 4: Increase PHP Memory Limit

Low memory = PHP crash = white screen.

Add this to wp-config.php:

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

Or increase memory via hosting control panel.

6

Step 5: Clear WordPress, CDN & Browser Cache

Sometimes you see an old cached blank page.

  • Clear plugin cache (LiteSpeed, WP Super Cache, WP Rocket)
  • Clear CDN cache (Cloudflare: Purge Everything)
  • Clear your browser cache

7

Step 6: Replace WordPress Core Files

Sometimes the core WordPress installation is corrupted.

Download a fresh copy of WordPress from WordPress.org, then:

  • Replace the wp-admin folder
  • Replace the wp-includes folder
  • DO NOT overwrite wp-content or wp-config.php

This restores clean system files.

8

Step 7: Fix Fatal PHP Errors

Fatal errors instantly cause WSOD.

Check your error log:

  • /wp-content/debug.log (WordPress)
  • Error Logs in hosting panel
  • PHP logs via cPanel or SSH

Common PHP issues:

  • Missing semicolon or bracket in functions.php
  • Plugin update failure
  • PHP version mismatch

Want Zero Errors on Your Website?

All SiteCrafted templates are optimized to prevent crashes, fatal errors, and theme conflicts.

Explore WP Templates

FAQ

Q: Why does WSOD happen randomly?

Usually due to plugin/theme auto-updates or PHP memory exhaustion.

Q: Can WSOD affect SEO?

Yes. Search engines can’t crawl your site when it’s blank.

Q: How do I prevent this?

Use quality themes, limit plugins, increase memory, and disable auto-updates.

SC
SiteCrafted Team

Helping you fix WordPress errors easily and confidently.

Leave a Reply

Your email address will not be published. Required fields are marked *