Knowledge Base
WordPress White Screen of Death
WordPress White Screen of Death
The "White Screen of Death" (WSOD) shows a blank white page instead of your WordPress site. This usually indicates a PHP error.
Causes
- Plugin conflict
- Theme issue
- PHP memory exhaustion
- Corrupted core files
- PHP syntax error
Solutions
1. Enable Debug Mode
See what's causing the error. Edit 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. Increase PHP Memory
Add to wp-config.php:
define('WP_MEMORY_LIMIT', '256M');
3. Disable All Plugins
Via FTP or File Manager:
- Navigate to wp-content
- Rename plugins to plugins.disabled
- Check if site loads
- If yes, rename back and activate plugins one by one to find the culprit
4. Switch to Default Theme
Via FTP or File Manager:
- Navigate to wp-content/themes
- Rename your active theme folder (e.g., mytheme to mytheme.disabled)
- WordPress will fall back to a default theme
5. Re-upload WordPress Core
- Download fresh WordPress from wordpress.org
- Delete wp-admin and wp-includes folders (NOT wp-content)
- Upload fresh wp-admin and wp-includes
- Upload fresh files in root (except wp-config.php and .htaccess)
6. Check PHP Version
Some themes/plugins require specific PHP versions:
- In DirectAdmin, check current PHP version
- Try switching between PHP 7.4 and 8.x
Recovery via JetBackup
If all else fails, restore from a backup:
- In DirectAdmin, go to JetBackup
- Select a backup from before the issue
- Restore Files and Database