How to fix the WordPress white screen of death

A calm, step-by-step guide to diagnosing and fixing a blank white WordPress page, from recovery mode and debug logs to plugins, themes and memory limits.

By the UK Technology Hub teamPublished 4 minute read

The short answer

A blank white WordPress page usually means a PHP error stopped the page loading, most often caused by a plugin or theme conflict, an update that went wrong, a PHP version mismatch or running out of memory. Check for WordPress's recovery mode email, turn on debug logging to see the error, then disable plugins and switch themes to find the culprit. Always take a backup before changing files.

Few things are as alarming as visiting your website and seeing nothing but white. The good news: the "white screen of death" is usually fixable in minutes once you find the cause. Work through these steps in order.

Before you start

  • Take a backup of files and database if you can, or confirm your host has a recent one.
  • Note what changed recently: plugin or theme updates, new plugins, PHP version changes or code edits. The cause is usually the last thing that changed.
  • Check whether the problem is site-wide or only on the admin area or specific pages.

Step 1: Check your email for recovery mode

Since version 5.2, WordPress detects many fatal errors and emails the site administrator a link to "recovery mode." This lets you log in with the faulty plugin or theme paused and fix it from the dashboard. Check the admin email inbox, including spam.

Step 2: Turn on debugging

Edit wp-config.php (via your host's file manager or SFTP) and enable debug logging:

  • Set WP_DEBUG to true.
  • Set WP_DEBUG_LOG to true, so errors are written to a log file in the wp-content folder.
  • Set WP_DEBUG_DISPLAY to false on live sites so errors aren't shown to visitors.

Reload the page, then open the debug log. The error message usually names the plugin, theme or file causing the problem. Turn debugging off again when finished.

Step 3: Disable plugins

If the error points to a plugin, or you can't see an error:

  1. Using SFTP or the file manager, rename the wp-content/plugins folder to something like plugins-disabled.
  2. Reload the site. If it works, a plugin is the cause.
  3. Rename the folder back, then rename individual plugin folders one at a time until the site breaks again, revealing the culprit.

Then update, replace or remove the problem plugin, or contact its developer.

Step 4: Switch to a default theme

If plugins aren't the cause, the theme may be. Rename your active theme's folder in wp-content/themes. WordPress will fall back to a default theme if one is installed. If the site loads, the theme has a problem, often a recent edit to functions.php.

Step 5: Increase the memory limit

"Allowed memory size exhausted" errors mean PHP ran out of memory. You can raise WordPress's limit with the WP_MEMORY_LIMIT setting in wp-config.php, but your host's server limit may also need increasing. Heavy plugins are often the underlying cause, so consider replacing them.

Step 6: Check the PHP version

Old plugins may break on newer PHP versions, and new plugins may require newer PHP. Check your host's control panel for the PHP version and error logs. Switching versions can help temporarily, but update code to support current, supported PHP versions.

Step 7: Check server error logs

If WordPress's debug log shows nothing, your host's error logs may. A related problem, the 500 error, often shares causes; see our guide to fixing 500 internal server errors.

Step 8: Clear caches

Caching plugins, server caches and CDNs can keep serving a blank page after the problem is fixed. Clear them all, then check in a private browser window.

If only the admin area is white

Plugins that load only in the dashboard can cause admin-only white screens. Follow the same steps. If you see a database error instead, read our guide to fixing "error establishing a database connection".

Preventing it next time

  • Test updates on a staging site first.
  • Update plugins one at a time, not all at once.
  • Remove unused plugins and themes.
  • Keep regular, tested backups.
  • Use a child theme for custom code.
  • Monitor uptime so you know immediately when something breaks.

How we help

Our maintenance and support team fixes broken WordPress sites quickly and keeps them updated safely. Our CMS development team cleans up problematic plugins and themes, and our web development team can rebuild fragile sites on a more stable foundation.

Frequently asked questions

What causes the WordPress white screen of death?

Usually a PHP fatal error from a plugin or theme conflict, a failed update, a PHP version mismatch or exhausted memory.

Will I lose my content?

Usually not. The content is in the database; the white screen is typically caused by code. Still, take a backup before making changes.

Can I fix it without access to the dashboard?

Yes. Use your host's file manager or SFTP to enable debugging and disable plugins or themes.

This guide is general information, not legal, tax or financial advice, and details such as prices, features and rules can change. Product and company names mentioned are trademarks of their respective owners and are used only to identify those products; UK Technology Hub is not affiliated with or endorsed by them.

Related guides

All bug fixes & troubleshooting guides