How to Fix the WordPress White Screen of Death (WSOD): Rapid Recovery Plan
Google AdSense In-Article Display Placement
Publisher ID: ca-pub-XXXXXXXXXXXXXXXX (Configured in config.php)The White Screen of Death (WSOD) occurs when a fatal PHP error occurs with display_errors disabled, causing the server to return an empty 200/500 HTTP response with 0 bytes of HTML.
1) Enable WP_DEBUG in wp-config.php to see the actual error message. 2) If both frontend and wp-admin are blank, rename "wp-content/plugins" to "plugins_old" via FTP. 3) Increase WP_MEMORY_LIMIT to 256M in wp-config.php. 4) Check wp-content/debug.log for the exact file causing the crash.
📋 Guide Table of Contents
1. Problem Diagnosis & Symptoms
Visitors and site owners encounter a completely blank browser window without any text or clues.
2. Primary Root Causes
- Cause: PHP memory limit reached.
- Cause: Faulty plugin update or corrupted theme functions.php.
3. Step-by-Step Diagnostic Fixes
Expose the Underlying Fatal Exception
Edit wp-config.php before the happy publishing line:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', true );
4. How to Verify the Resolution
- Refresh the page and read the specific fatal error message displayed.
5. Diagnostic Troubleshooting Matrix
| Symptom Observed | Root Cause | Recommended Action |
|---|---|---|
| Frontend blank, but wp-admin accessible | Active theme template error | Switch to a default WordPress theme in wp-admin |
6. Critical Mistakes to Avoid
- ❌ Never reinstall WordPress from scratch before checking plugins and debug logs.
7. Frequently Asked Questions
❓ Does WSOD delete my posts or database?
No! WSOD is a PHP execution halt. Your MySQL database and media files remain completely intact.
Official Technical References
Google AdSense In-Article Matched Content Unit