Home » WordPress » WordPress White Screen of Death: Get a Blank Site Back Step by Step

WordPress White Screen of Death: Get a Blank Site Back Step by Step

Published 2026-10-03 | WordPress

WordPress White Screen of Death: Get a Blank Site Back Step by Step banner

The White Screen of Death is a WordPress page with nothing on it. No error, no header, no text. Newer WordPress versions often show "There has been a critical error on this website" instead, but the cause is the same: PHP hit a fatal error and stopped before printing anything.

The good news is that the error message exists. It is simply not being shown to you.

Step 1: check for the recovery email

Since WordPress 5.2, a fatal error triggers an email to the site's admin address with the subject "Your Site is Experiencing a Technical Issue". It names the plugin or theme that failed and includes a recovery mode link. Open that link, log in, and deactivate the named plugin. Done.

If no email arrived (mail not configured, or the error is too early in loading), continue.

Step 2: turn on the debug log

Edit wp-config.php in the site root using FTP or the host's file manager. Find this line:

define('WP_DEBUG', false);

Replace it with:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

Reload the white page, then open wp-content/debug.log. The last "PHP Fatal error" line names the file. The folder in that path tells you who is responsible:

  • /wp-content/plugins/plugin-name/ → that plugin.
  • /wp-content/themes/theme-name/ → that theme.
  • /wp-includes/ or /wp-admin/ → often memory, a corrupted core file, or a plugin calling core wrongly.

Step 3: disable all plugins without the dashboard

In wp-content/, rename plugins to plugins-off. Reload the site.

  • Site comes back: a plugin is to blame. Rename the folder back to plugins (they stay deactivated), then reactivate them one by one in the dashboard until the white screen returns.
  • Still white: move on to the theme.

Step 4: switch to a default theme

In wp-content/themes/, rename your active theme's folder. WordPress falls back to a default theme such as Twenty Twenty-Four, if one is installed. If the site loads, the problem is in your theme, most often a recent edit to functions.php.

Step 5: raise the memory limit

A log line like Allowed memory size of 134217728 bytes exhausted means PHP ran out of memory. Add to wp-config.php:

define('WP_MEMORY_LIMIT', '256M');

If the host caps memory lower than that, the setting has no effect. Ask them to raise it, or find the plugin that needs so much.

Step 6: other causes worth checking

  • Failed automatic update: a .maintenance file left in the site root shows "Briefly unavailable" or a blank page. Delete it.
  • PHP version change: old plugins may break on PHP 8. Switch back temporarily in the control panel.
  • Corrupt core files: re-upload fresh wp-admin and wp-includes folders from wordpress.org (never overwrite wp-content).

When the site is back, set WP_DEBUG to false again.

Common mistakes

  • Reinstalling WordPress before reading the debug log.
  • Leaving WP_DEBUG_DISPLAY on, which shows file paths to visitors.
  • Deleting plugin folders instead of renaming them.
  • Updating many plugins at once on a live site, which makes the culprit hard to identify.

Frequently Asked Questions

Why is the page white instead of showing an error?

WordPress and most hosts hide PHP errors from visitors for security. When a fatal error stops the page, nothing has been printed yet, so you get an empty page.

Only the admin area is white. Is that the same problem?

Usually yes, just in code that only runs in the admin, such as a plugin's settings page. The same steps apply. Check the debug log for the file name.

Will deactivating plugins delete their settings?

No. Renaming the plugins folder only stops them loading. Settings stay in the database and return when you reactivate the plugin.

Found a mistake or still stuck? Contact us. See how we write and check these guides in our editorial policy, or read about DocumentGuy.

More in WordPress