WordPress white screen of death: causes and fixes
The WordPress white screen of death is a blank page caused by a fatal PHP error, most often from a plugin or theme conflict or an exhausted memory limit. Turn on the debug log to read the exact error, then disable plugins and the active theme over FTP if you cannot reach wp-admin.
- A blank page means PHP stopped with a fatal error and display of errors is off.
- WordPress documentation lists plugin conflicts and theme problems as the main causes.
- You can fix it without wp-admin by renaming folders over FTP or a file manager.
How do you fix the white screen, in order?
- 01
Check your email for the recovery link
Since WordPress 5.2, a fatal error triggers an email to the admin address with a recovery mode link. The link pauses the broken plugin or theme for your browser only, so you can log in and deactivate it.
- 02
Turn on the debug log
Add the three constants shown below to wp-config.php, reload the page and read wp-content/debug.log. The last fatal error names the file and plugin or theme at fault.
- 03
Disable all plugins
Rename wp-content/plugins to plugins_old over FTP. If the site returns, rename it back and reactivate plugins one at a time until the blank page returns.
- 04
Switch to a default theme
Rename the active theme folder inside wp-content/themes. WordPress falls back to an installed default theme such as a Twenty Twenty theme.
- 05
Raise the PHP memory limit
If the log says "Allowed memory size exhausted", raise WP_MEMORY_LIMIT in wp-config.php or ask your host to raise the PHP limit.
- 06
Restore from backup
If none of this helps, restore the last backup taken before the first blank page and re-apply updates one at a time.
How do you read the actual error?
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
// Errors are written to wp-content/debug.logWordPress advises against leaving debug tools on live sites. Remove or set WP_DEBUG back to false when done. See Debugging in WordPress.
What does the debug log line tell you?
| Log line contains | Likely cause | Next move |
|---|---|---|
| Allowed memory size of ... bytes exhausted | PHP memory limit too low for a plugin, theme or import | Raise the limit, then find the heavy plugin |
| /wp-content/plugins/name/... | That plugin crashed or is incompatible with your PHP or WordPress version | Rename that plugin folder, update or replace it |
| /wp-content/themes/name/... | The active theme or child theme code broke | Rename the theme folder, then fix functions.php |
| Call to undefined function | Missing dependency or a plugin loaded without its parent plugin | Reinstall or reactivate the required plugin |
| Parse error: syntax error | A bad edit to a PHP file, often functions.php | Undo the last edit over FTP |
A white page can still return HTTP 200
Some blank pages return 200 OK while others return 500. A plain "is the URL up" check can miss the 200 case, so confirm with a content check for text that must be on the page. Aepto can check for changed or missing page content on paid plans.
Common questions
What causes the WordPress white screen of death?
WordPress documentation names plugin conflicts and theme problems as the main causes. Underneath, it is a fatal PHP error with error display turned off, so the browser shows a blank page. Memory limit exhaustion and bad edits to PHP files cause the same symptom.
How do I fix a white screen if I cannot log in?
Use FTP or your host file manager. Rename wp-content/plugins to plugins_old and reload. If the site returns, deactivate plugins one by one. If not, rename the active theme folder so WordPress falls back to a default theme.
Is the white screen of death the same as the critical error message?
They share a cause: a fatal PHP error. Newer WordPress versions often show "There has been a critical error on this website" and email a recovery mode link instead of a blank page. A blank page usually means a fatal error earlier in loading, or a host-level setting.
Can a PHP version upgrade cause a white screen?
Yes. A plugin or theme written for an older PHP version can hit a fatal error on a newer one. The debug log names the file and line. Update the plugin, replace it, or ask your host to revert PHP while you fix it.
Keep reading
Watch your domains automatically
Aepto monitors expiry, DNS, SSL and uptime for every domain you own and alerts you when something changes. Free for 3 domains.