How do I fix the WordPress white screen of death?

Reading Time: 2 minutes

TL;DR: Enable debugging to reveal the actual error, then deactivate plugins and switch themes via FTP if the admin is inaccessible. Most cases are a PHP fatal error from a plugin conflict or exhausted memory.

A blank white page means PHP failed before producing output. The screen is uninformative by design, so your first job is to make the error visible.

Step 1 Turn on debugging

In wp-config.php set WP_DEBUG and WP_DEBUG_LOG to true while keeping WP_DEBUG_DISPLAY false on live sites. Reload the failing page, then read wp-content/debug.log.

Step 2 Read the named file and line

The logged fatal error normally identifies the exact file and line, which usually points straight at the responsible plugin. This one step resolves most cases.

Step 3 Regain access if the admin is dead

Connect via FTP or your host’s file manager and rename the plugins directory to deactivate everything. If the site returns, rename it back and then rename individual plugin folders until the failure reappears.

Step 4 Rule out the theme

If plugins are not responsible, rename your active theme’s folder. WordPress falls back to a default theme if one is installed, which tells you whether the theme was at fault. Keep a default theme installed for exactly this purpose.

Step 5 Check memory exhaustion

If the log reports allowed memory size exhausted, raise WP_MEMORY_LIMIT and, if necessary, the PHP memory limit in your hosting panel. Then investigate the cause, because repeatedly raising the ceiling hides a leaking plugin.

Step 6 Verify file integrity

A partially completed update can leave missing or truncated core files. Reinstall core from the Updates screen if you have access, or replace wp-admin and wp-includes from a fresh download, never touching wp-content.

Step 7 Look at server-level causes

Check your host’s PHP error log too. An unsupported PHP version after a host upgrade, a security rule, or a full disk can produce a blank page with nothing in the WordPress log.

Step 8 Restore and prevent

If diagnosis stalls, restore your most recent known-good backup to get the site live, then reproduce the fault on staging. Adopt staging-first updates and tested backups so the next incident is an inconvenience rather than an outage.

Back to How-To

Was this helpful?

Thanks for your feedback!

Comments are closed