WordPress White Screen of Death

Category: WordPress Hosting ยท Updated 2026-11-03

The White Screen of Death (WSOD) in WordPress is a completely blank page with no visible error message, caused by a PHP fatal error that WordPress cannot display because error output is turned off. The fix is to turn on debug logging or check the server's PHP error log to find which plugin, theme or line of code crashed, then disable or fix it.

Why the screen is blank instead of showing an error

By default, many live WordPress sites turn off the display of PHP errors for security reasons, since error messages can reveal file paths or code details to visitors. When a fatal error happens, for example a plugin calling a function that no longer exists, PHP stops execution but nothing gets printed to the page, so the browser shows an empty white page instead of a message. The error is still being recorded, just not shown, which is why the first step is always to go looking for it rather than guessing.

Common causes

  • A recently updated or incompatible plugin that conflicts with the active theme or another plugin.
  • A theme function that calls code which no longer exists after an update.
  • Running out of PHP memory during a heavy operation (a related but distinct memory limit error).
  • A corrupted core file from an interrupted update.
  • A PHP version upgrade on the server that an old plugin or theme does not support.
  • A syntax error introduced while hand-editing theme files, such as in functions.php.

How to find and fix the cause

  1. Turn on debug mode by adding these lines to wp-config.php above the "stop editing" line:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

This writes errors to /wp-content/debug.log without showing them to visitors. Reload the blank page, then open that file and look at the most recent entry for the file and line number that failed.

  1. Deactivate all plugins via SFTP or file manager by renaming the /wp-content/plugins folder, or through wp plugin deactivate --all with WP-CLI if the dashboard is also blank. If the site comes back, reactivate plugins one at a time to isolate the culprit.
  2. Switch to a default theme temporarily by renaming the active theme's folder, which forces WordPress to a fallback theme and rules out a theme conflict.
  3. Check the server's PHP error log through your host's control panel if debug.log is not available or the dashboard itself is unreachable.
  4. Restore core files by re-uploading fresh WordPress core files if an update was interrupted.

Where the white screen tends to show up

Where it appearsLikely cause
Only the front endTheme template or a plugin that only loads on public pages
Only wp-adminA plugin's admin screen code, or an admin-only hook
Right after updating a pluginPlugin incompatible with the current PHP or WordPress version
Right after editing theme filesA PHP syntax error in the edited file

Preventing future white screens

Keep a recent backup and a staging copy before updating plugins or themes, update one plugin at a time on larger sites rather than all at once, and use a code editor that flags PHP syntax errors before you upload a hand-edited file. Hosts that run a staging environment or automatic pre-update backups make recovery much faster when this happens.

Frequently asked questions

What causes the white screen of death in WordPress?

It is almost always a PHP fatal error, often from an incompatible plugin, a theme function conflict, or exhausted PHP memory, combined with error display being turned off so nothing appears on the page.

How do I fix a white screen on my WordPress site?

Turn on WP_DEBUG_LOG in wp-config.php to capture the error, then deactivate plugins one at a time (or all at once via SFTP) and switch to a default theme to isolate the cause, fixing or removing whatever triggers it.

Can I fix a white screen if I cannot access wp-admin?

Yes. Connect by SFTP or your host's file manager, rename the plugins folder to deactivate everything, and rename the active theme's folder to force a default theme. Once the site loads again, restore items one at a time.

Is the white screen of death the same as a 500 error?

They are closely related. A white screen is what the browser shows when PHP fails silently with error display off, while a 500 Internal Server Error is the HTTP status code the server may return for the same kind of fatal error, depending on server configuration.

Does a white screen mean my site has been hacked?

Not usually. Most white screens come from a plugin or theme conflict or a memory limit, not malware. It is worth a malware scan if the problem appears alongside other suspicious signs, such as unknown admin users or strange files.

Will restoring a backup fix the white screen?

Restoring a backup from before the change that caused the error will fix it, but the underlying plugin or theme problem will return if you reapply the same update without addressing it first.

Related topics