wpXpart

Error Fixes

How to Fix the WordPress White Screen of Death (2026 Guide)

Fix the WordPress white screen of death in 9 steps: use recovery mode, clear caches, turn on debug mode, disable plugins, switch themes, raise the memory limit and restore a backup.

wpXpart AgencyUpdated on November 22, 20268 min read
How to Fix the WordPress White Screen of Death (2026 Guide)

You open your website and see nothing but a blank white page. No error, no message and no hint about what went wrong. This is the WordPress white screen of death, and although it looks frightening, it is one of the most fixable WordPress problems. Your content is almost always safe, and the cause is usually a plugin, a theme or a PHP error.

This guide explains what causes the WordPress white screen of death and gives you 9 clear steps to fix it, even if you cannot log in to your dashboard.

Quick answer: To fix the WordPress white screen of death, take a backup, turn on WordPress debug mode and read the error log, then disable all plugins by renaming the plugins folder, switch to a default theme, raise the PHP memory limit, replace corrupted core files and, if needed, restore a backup. Most sites are fixed by the plugin or theme step.
Illustration of a blank browser page, the WordPress white screen of death, next to five common causes: PHP error, plugin conflict, theme problem, memory limit and corrupted files
Illustration: a blank white page and five common causes.

What is the WordPress white screen of death?

The white screen of death (WSOD) is a blank page that appears instead of your website, your admin area or both. It happens when PHP stops running because of a fatal error, and no error message is shown on screen. Newer versions of WordPress may instead show the message There has been a critical error on this website, which has the same causes and the same fixes.

Common causes of the white screen

CauseTypical clueFix
Plugin conflict or bugIt started right after installing or updating a pluginDisable plugins and enable them one by one
Theme problemIt started after a theme update or a change in functions.phpSwitch to a default theme
PHP memory limitIt happens on heavy pages or in the adminIncrease the memory limit
PHP syntax errorYou edited code, often in functions.phpFix or remove the code
Incompatible PHP versionIt began after a host or PHP updateChoose a compatible PHP version
Corrupted core filesIt followed a failed updateReplace the WordPress core files
Cache problemThe site works for you but not for visitorsClear every cache layer

Before you start

  • Take a backup of your files and database from your hosting panel.
  • Get file access. You need FTP or your host’s File Manager, because the dashboard may not load.
  • Check your admin email. WordPress may send a recovery mode link to the administrator email when a fatal error happens. The link lets you log in and pause the broken plugin or theme.
  • Remember what changed last. A new plugin, an update or an edit is usually the cause.

How to fix the WordPress white screen of death: 9 steps

Six-step flow for fixing the WordPress white screen of death: turn on debug mode, read the error log, disable plugins, switch to a default theme, raise the memory limit and restore a backup
Illustration: six moves for fixing the white screen.

Step 1: Try the recovery mode email

Search the inbox of your site’s administrator email for a message about a technical issue on your website. It includes a special link that opens the dashboard in recovery mode, where the plugin or theme that caused the error is paused. From there you can deactivate or update it, and this is the fastest fix when it is available.

Step 2: Clear your caches

Clear your browser cache, your caching plugin, your host cache and any CDN such as Cloudflare. Sometimes the white page is an old cached copy of an error. Test in a private window and on another device.

Step 3: Turn on WordPress debug mode

Debug mode makes WordPress record the real error. Open wp-config.php in the main folder with File Manager or FTP, and add these lines above the line that says to stop editing:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Code card showing the three WordPress debug lines WP_DEBUG, WP_DEBUG_LOG and WP_DEBUG_DISPLAY with notes that they turn on error reporting, save errors to a log and hide errors from visitors
Illustration: the three debug lines for wp-config.php.

Reload the broken page, then open the file wp-content/debug.log. The last lines usually name the file and the plugin or theme that crashed, for example a path that contains plugins or themes followed by a folder name. Turn debug mode off again when you finish.

Step 4: Disable all plugins

Using FTP or File Manager, go to wp-content and rename the plugins folder to plugins-off. Reload your site. If it comes back, a plugin is the cause. Rename the folder back to plugins, then deactivate plugins one at a time from the dashboard, or rename single plugin folders, until you find the one that breaks the site.

Illustration of a file manager where the plugins folder inside wp-content is renamed to plugins-off to test whether a plugin causes the WordPress white screen of death
Illustration: renaming the plugins folder to test for a plugin problem.

Step 4b: Update or replace the broken plugin

Once you know the plugin, check for an update, contact its developer or replace it with an alternative. Always test updates on a staging site first.

Step 5: Switch to a default theme

If the site is still blank, rename your active theme’s folder inside wp-content/themes. WordPress will switch to a default theme if one is installed. If the site works, the problem is in your theme or in a recent edit to its functions.php file.

Step 6: Increase the PHP memory limit

Heavy plugins and page builders can exhaust the memory PHP allows. Add this line to wp-config.php:

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

Some hosts set a lower limit that wp-config.php cannot override, so ask your host if the change has no effect.

Step 7: Check your PHP version

In your hosting panel, check the PHP version your site uses. If the white screen began after a PHP change, try the previous version for a moment, then update your plugins and theme to versions that support the newer one. Use a currently supported PHP version for security.

Step 8: Replace the WordPress core files

Download a fresh copy of WordPress from WordPress.org and upload the wp-admin and wp-includes folders over the existing ones. Never overwrite wp-content or wp-config.php. This repairs damaged core files after a failed update.

Step 9: Restore a backup or ask your host

If nothing else works, restore the most recent clean backup of your files and database. Your host can also check server error logs, which often show the exact fatal error. If you also see a message about the database, read our guide on how to fix Error Establishing a Database Connection.

How to prevent the white screen of death

  • Back up before every update, and keep a copy offsite.
  • Test updates on a staging site, especially for page builders and WooCommerce.
  • Update plugins one at a time, so you know which one causes trouble.
  • Use only plugins and themes from developers you trust.
  • Never edit live theme code without a backup. A small typo in functions.php can take the whole site down.
  • Keep PHP updated, and give your site enough memory.
  • Use uptime monitoring so you learn about problems quickly.
Checklist of eight habits that help prevent the WordPress white screen of death, including backups, staging tests, updating plugins one at a time, trusted plugins, supported PHP, enough memory and monitoring
Illustration: a checklist to prevent the white screen of death.

When to ask an expert for help

Ask for help if you cannot access your files, if the debug log is too technical, if your site makes money, or if you suspect malware. At wpXpart we diagnose and fix WordPress errors, restore backups and set up monitoring. See our WordPress maintenance services and security solutions, or hire a WordPress expert.

Frequently asked questions

Will I lose my content?

Almost never. The white screen means PHP stopped running, but your posts, pages and settings stay in the database.

Why is only my admin area blank?

The error may be in code that only runs in the dashboard, such as a plugin’s admin file or a memory limit that affects heavy admin pages. The same fixes apply.

Is the critical error message the same thing?

Yes. It is the friendlier message that newer WordPress versions show for a fatal PHP error, and it is fixed the same way.

Can a hack cause a white screen?

Yes, malware or a broken injection can crash a site. If you find unknown files or users, follow our WordPress security checklist to clean and protect your site.

Is it safe to rename the plugins folder?

Yes. It does not delete anything. Rename it back to plugins when you finish testing, then reactivate your plugins carefully.

Do I need to leave debug mode on?

No. Turn it off when the problem is solved, and delete or protect the debug log, because it can reveal technical details.

How long does it take to fix?

Many sites are fixed in minutes once the faulty plugin or theme is found. Harder cases, such as corrupted files, can take longer.

What if I cannot access FTP or File Manager?

Ask your host for access or for help, because they can check the logs and rename folders for you.

Keep learning with these step-by-step guides from our team.

Conclusion

To fix the WordPress white screen of death, work calmly through the steps: recovery email, caches, debug log, plugins, theme, memory, PHP version, core files and backups. In most cases you find the culprit within minutes, and a habit of backups and staging tests keeps the next one small.

Need quick help? Start a project with wpXpart and we will bring your WordPress site back to life.

Share this article
Article bywpXpart Agency

The wpXpart team designs, builds, speeds up and supports WordPress websites, and shares practical guides along the way.

Need help with your WordPress site?

Tell us about your project and get a clear, written proposal.

Start a Project

Stay tuned with our latest updates

Subscribe for practical WordPress tips and news.

Scroll to Top