A White Screen of Death (WSOD) is one of the most frustrating WordPress errors – your site loads as a blank white page with no error message. This can happen to any WordPress site, often without warning.
In this guide, we’ll cover:
✅ Top causes of the WordPress White Screen of Death
✅ Step-by-step troubleshooting & fixes
✅ How to prevent it from happening again
What Causes the WordPress White Screen of Death?
The WSOD occurs when PHP crashes silently, preventing WordPress from loading. Common causes include:
1. Plugin or Theme Conflict (Most Common Cause)
🚨 What happens: A faulty plugin/theme crashes PHP execution.
🔧 How to fix: Disable plugins/theme via FTP or recovery mode.
2. Memory Limit Exhausted
🚨 What happens: PHP runs out of memory (Allowed memory exhausted).
🔧 How to fix: Increase wp-config.php memory limit.
3. Corrupted WordPress Core Files
🚨 What happens: Missing or damaged wp-admin or wp-includes files.
🔧 How to fix: Reinstall WordPress manually.
4. PHP Version Incompatibility
🚨 What happens: Old PHP versions conflict with WordPress/core plugins.
🔧 How to fix: Upgrade to PHP 8.0+ (or downgrade if needed).
5. Database Connection Errors
🚨 What happens: wp-config.php has wrong DB credentials.
🔧 How to fix: Verify database settings.
6. Broken .htaccess File
🚨 What happens: Misconfigured rewrite rules crash the site.
🔧 How to fix: Rename .htaccess to reset it.
How to Fix the White Screen of Death (Step-by-Step)
1. Enable Debugging (Find the Error)
Add to wp-config.php:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
Check /wp-content/debug.log for errors.
2. Disable Plugins (Manual Method)
- Access via FTP/SFTP (FileZilla, Cyberduck)
- Go to
/wp-content/plugins/ - Rename plugins folder to
plugins_old - Reload site—if it works, reactivate plugins one by one.
3. Switch to Default Theme
- Go to
/wp-content/themes/ - Rename your current theme (forces WordPress to use Twenty Twenty-Four)
4. Increase PHP Memory Limit
In wp-config.php, add:
define('WP_MEMORY_LIMIT', '256M');
5. Check Database Connection
Verify in wp-config.php:
define('DB_NAME', 'your_db_name');
define('DB_USER', 'your_db_user');
define('DB_PASSWORD', 'your_db_password');
define('DB_HOST', 'localhost');
6. Reinstall WordPress Core
- Download a fresh WordPress.zip
- Upload wp-admin and wp-includes folders (keep
wp-config.php&wp-content)
7. Check for Corrupted .htaccess
- Rename
.htaccessto.htaccess_old - WordPress will generate a new one.
How to Prevent the White Screen of Death
✔ Update WordPress, plugins & themes regularly
✔ Use a staging site to test changes
✔ Enable automatic backups (UpdraftPlus, BlogVault)
✔ Monitor PHP errors (Query Monitor plugin)
Need Professional Help?
Our WordPress Hosting includes:
✅ Automatic backups & 1-click restore
✅ PHP error monitoring
✅ 24/7 expert support
FAQ
Q: Can a hacked site cause WSOD?
A: Yes! Malware can break WordPress – scan with Wordfence.
Q: Why can’t I see an error message?
A: PHP errors may be hidden – enable WP_DEBUG.
Q: Should I disable all plugins at once?
A: Yes, then reactivate one by one to find the culprit.
Don’t panic—follow these steps to recover your site! 🔧
