WordPress white screen of death: how to fix it
By Asad S. ·
The WordPress white screen of death is almost always caused by a PHP error from a plugin, a theme, memory limits or a failed update. Enable debugging, read the error log, deactivate the culprit plugin or theme, and fix or replace it.
1. Take a backup
Before changing anything, back up files and the database, even if the site is broken. It gives you a safe point to return to.
2. Turn on debug logging
Set WP_DEBUG and WP_DEBUG_LOG to true in wp-config.php so errors are written to a log file instead of a blank page. The log usually names the file and plugin at fault.
3. Deactivate plugins
If you cannot reach the admin, rename the plugins folder through FTP or your hosting file manager. If the site returns, rename it back and re-enable plugins one at a time to find the cause.
4. Switch to a default theme
Rename your active theme folder so WordPress falls back to a default theme. If the site works, the problem is in your theme.
5. Check memory and PHP version
Increase the PHP memory limit if the log shows memory exhaustion. Also confirm your plugins and theme support your PHP version, since a host upgrade can break old code.
6. Check for an interrupted update
A stuck update can leave a maintenance file in the site root. Delete it if the site says it is briefly unavailable for maintenance.
7. Rule out a hack
If the log shows unknown files or strange code, the site may be compromised. Treat it as a security incident, not just a bug.
If you are stuck, send us the error and we will quote a fixed price within 24 hours.
Related services
- WordPress Fixes, Migration & Multilingual Set-up
- WordPress Security & Malware Removal
- Hosting, Server Setup & Deployment