Fixing the WordPress White Screen of Death: Complete Troubleshooting Guide
Step-by-step instructions to diagnose and fix the dreaded WordPress White Screen of Death (WSOD), with solutions for every common cause.
WP Taskmate Team
Author

The WordPress White Screen of Death (WSOD) is one of the most frustrating errors you can encounter. Your site displays a blank white page with no error message. Let's fix it.
What Causes the White Screen of Death?
The WSOD typically results from:
Before You Start
Create a Backup
If you have any access to your site (even FTP), back up your files and database first.
Check if It's Site-Wide
Test different pages:
yourdomain.comyourdomain.com/wp-adminyourdomain.com/wp-login.phpThis helps narrow down the cause.
Solution 1: Enable Debug Mode
WordPress can show you what's going wrong instead of a blank screen.
Access wp-config.php
Connect via FTP or your host's file manager. Find wp-config.php in your WordPress root directory.
Enable Debugging
Find this line:
define('WP_DEBUG', false);
Change it to:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', true);
Check the Error
Reload your site. You should now see error messages indicating the problem.
After fixing, remember to disable debugging:
define('WP_DEBUG', false);
Solution 2: Increase PHP Memory Limit
Memory exhaustion is a common cause of WSOD.
Method 1: wp-config.php
Add before "That's all, stop editing!":
define('WP_MEMORY_LIMIT', '256M');
define('WP_MAX_MEMORY_LIMIT', '512M');
Method 2: .htaccess
Add to your .htaccess file:
php_value memory_limit 256M
Method 3: php.ini
Create or edit php.ini in your WordPress root:
memory_limit = 256M
Method 4: Contact Host
Some hosts restrict memory limits. Contact support to increase it.
Solution 3: Disable All Plugins
Plugins are the most common WSOD cause.
If You Can Access Admin
If Admin Is Inaccessible
/wp-content/plugins/plugins_disabledpluginsSolution 4: Switch to Default Theme
A broken theme can cause WSOD.
If You Can Access Admin
If Admin Is Inaccessible
/wp-content/themes/mytheme to mytheme_disabled)Solution 5: Check for Corrupted Core Files
Sometimes WordPress core files get corrupted.
Re-upload WordPress Core
- /wp-content/ folder
- wp-config.php
Use WP-CLI (If Available)
wp core verify-checksums
wp core download --force
Solution 6: Fix Database Issues
Database corruption can cause WSOD.
Enable Database Repair
Add to wp-config.php:
define('WP_ALLOW_REPAIR', true);
Then visit:
yourdomain.com/wp-admin/maint/repair.php
Click "Repair Database" or "Repair and Optimize Database."
After repair, remove the line from wp-config.php.
Check Database Connection
Verify your database credentials in wp-config.php:
define('DB_NAME', 'database_name');
define('DB_USER', 'database_user');
define('DB_PASSWORD', 'database_password');
define('DB_HOST', 'localhost');
Solution 7: Check PHP Version Compatibility
An incompatible PHP version can cause WSOD.
Symptoms
Fix
Solution 8: Check File Permissions
Incorrect permissions can cause issues.
Correct Permissions
Fix via FTP
Most FTP clients allow you to change permissions. Right-click a file/folder and look for "Permissions" or "CHMOD."
Fix via SSH
find /path/to/wordpress/ -type d -exec chmod 755 {} \;
find /path/to/wordpress/ -type f -exec chmod 644 {} \;
Solution 9: Check Error Logs
Server error logs often contain clues.
Where to Find Logs
/var/log/apache2/error.log or /var/log/nginx/error.log/wp-content/debug.log (if enabled)Common Errors and Fixes
| Error | Solution |
|-------|----------|
| Allowed memory size exhausted | Increase memory limit |
| Call to undefined function | Missing plugin or PHP extension |
| Cannot modify header information | Whitespace in PHP files |
| Parse error: syntax error | Code syntax issue |
Prevention Tips
Regular Backups
Use a backup plugin (UpdraftPlus, BackupBuddy) or host backups.
Staging Site
Test updates on a staging site before applying to production.
Keep Everything Updated
Use Quality Plugins and Themes
Quick Reference Checklist
Still Stuck?
WP Taskmate can help diagnose WSOD issues. Capture any error messages or your blank screen, describe what happened before the error, and get AI-powered troubleshooting guidance specific to your situation.