WordPress White Screen of Death: How to Fix It
A blank page where your WordPress site used to be. Here's why the white screen happens, the usual causes, and the fix sequence that finds the real one.
Quick answer: the WordPress white screen of death (WSOD) is a completely blank page where your site should be. It is almost always a PHP fatal error from a plugin, the theme, or the PHP memory limit. To fix it, turn on the debug log and read the last fatal error, disable every plugin by renaming wp-content/plugins, switch to a default theme, raise WP_MEMORY_LIMIT to 256M, and check whether the PHP version changed. Clear every cache before you decide a fix didn’t work.
Why the Screen Is White
A white screen means PHP stopped with a fatal error before WordPress sent anything to the browser. You see a blank page, or a short “This page isn’t working” message from the browser, because the server returned an empty response.
It’s blank rather than showing an error because live sites (correctly) have PHP error display switched off: you don’t want raw errors shown to visitors. So the fix starts with the logs, not with guesses.
Since WordPress 5.2, most fatal errors show “There has been a critical error on this website” instead of a blank page. A true white screen means the failure was severe enough that WordPress’s recovery handler couldn’t catch it (memory exhaustion is the usual one), the site runs an older WordPress, or a cache is serving a blank copy of the page. If the browser says “500 Internal Server Error” instead, the web server failed first: follow the WordPress 500 error fix.
First: Where Is It White?
Before you change anything, spend two minutes narrowing it down. Where the white screen appears tells you which layer broke.
- The whole site and wp-admin are blank. Something loads on every request: a plugin, the theme’s
functions.php,wp-config.php, or the memory limit. - The front end is blank but wp-admin works. Almost always the theme, or a plugin that only runs on the front end (page builders, caching, SEO output). Switch themes from Appearance and look again.
- Only wp-admin is blank. An admin-only plugin, a broken dashboard widget, or memory running out on heavy admin screens. Try
/wp-admin/?ver=1and the plugins screen directly. - Only one page or post is blank. A shortcode, block or page-builder layout on that page is failing, or that page is too heavy for the memory limit.
- It’s white for you but fine on your phone’s mobile data. It’s a cache, not WordPress. Clear the caching plugin, the host’s cache and the CDN.
Then ask what changed just before it broke: a plugin, theme or core update (including automatic ones), a PHP upgrade by the host, a code snippet, or a migration. The answer usually points straight at the cause.
How to Fix the White Screen of Death, Step by Step
Stop changing random things on the live site. Reinstalling plugins blindly or editing core files on top of a failure is how a ten-minute outage becomes a two-day cleanup. Take a backup first if your host lets you, then work through these in order.
Step 1: Check for the recovery mode email
If WordPress caught the error, it emails the site’s admin address with a recovery mode link that logs you in with the broken plugin or theme paused. Check the inbox and the spam folder. If the email is there, use the link, deactivate what it names, and you’re back.
Step 2: Turn on the debug log
Edit wp-config.php over SFTP or your host’s file manager, and add these lines above “That’s all, stop editing”:
define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);
Reload the blank page, then open wp-content/debug.log. The last “PHP Fatal error” line names the file and line that crashed. A path under wp-content/plugins/ tells you the plugin; under wp-content/themes/, the theme. “Allowed memory size exhausted” means Step 5.
If debug.log stays empty, check the server error log in your hosting panel (cPanel, Plesk or your host’s dashboard). Fatal errors show up there even when WordPress can’t log them.
Step 3: Disable all plugins at once
Rename wp-content/plugins to plugins-disabled. If the site loads, a plugin is the cause, which it is more often than anything else. Rename the folder back (plugins stay deactivated), then reactivate them one by one from the dashboard, or rename single plugin folders, until the white screen comes back. That one is your culprit.
With SSH and WP-CLI the same test is one command: wp plugin deactivate --all --skip-plugins --skip-themes.
Step 4: Switch to a default theme
If plugins weren’t it, rename the active theme’s folder in wp-content/themes. WordPress falls back to an installed default theme such as Twenty Twenty-Four. If the site loads, the problem is in the theme, very often a recent edit to functions.php or a child theme calling a function its parent no longer has.
Step 5: Raise the PHP memory limit
Add define('WP_MEMORY_LIMIT', '256M'); to wp-config.php. If that fixes it, don’t stop there: find what is eating memory. Heavy page-builder layouts, large WooCommerce catalogs, and plugins running unbounded queries are the usual suspects. If your host caps PHP memory below what you set, the change does nothing and you need the host to raise it.
Step 6: Check the PHP version
If the white screen started after a server change you didn’t make, ask your host whether PHP was upgraded (for example from 7.4 to 8.x, which is stricter and removed old functions). Switching back to the previous version temporarily confirms it; the real fix is updating or replacing the plugin or theme that isn’t compatible.
Step 7: Clear every cache
A caching plugin, the host’s server cache or a CDN can keep serving the blank page after you’ve fixed the cause. Purge all of them, then test in a private window. Many “it’s still broken” moments are just a cached white screen.
Step 8: Reinstall WordPress core
If nothing above helped, core files may be damaged or modified. Download a fresh copy from wordpress.org and upload wp-admin and wp-includes over the existing ones. Never overwrite wp-content: that’s your themes, plugins and uploads. With WP-CLI: wp core download --force --skip-content.
When the site is back, turn debug mode off again (define('WP_DEBUG', false);). Leaving it on in production writes error details to a file anyone can try to read.
The Most Common Causes, by What You’ll Find in the Log
- “Call to undefined function” or “Cannot redeclare”. A plugin or theme conflict, or code written for an older PHP or WordPress version.
- “Allowed memory size of … bytes exhausted”. The memory limit is too low for what the page is doing, or something is looping.
- “syntax error, unexpected …”. A typo in a file someone just edited, usually
functions.phpor a snippet plugin. - “Failed opening required”. A missing file after an interrupted update or a partial migration.
- Nothing in any log. Look at caching, file permissions, or the server itself. If the whole server isn’t answering, use the site down diagnostic checklist.
When the White Screen Keeps Coming Back
White screens that appear during heavy work (imports, bulk edits, checkout, plugin updates, traffic spikes) and disappear on light requests usually mean the hosting is out of headroom, or a plugin, cron job or object cache is doing too much. Sites passed between vendors are a classic case too: one person updates plugins but not PHP, another updates PHP but never checks the theme. And a white screen that comes back after every fix can mean injected malware: see hacked WordPress repair.
To stop the next one: test updates on staging before production, keep a backup you have actually restored once, and monitor uptime so you hear about a blank site before a client does. If updates are what keep breaking things, read why WordPress updates break sites.
When to Call for Help
If the white screen is on a live store or lead-generating site and the steps above haven’t brought it back, or the log points at files you don’t recognize, don’t keep experimenting on production. Parameter’s emergency diagnostic is built for that moment: 60 minutes of hands-on work for $99 flat, fixing what fits in that window and leaving you a clear action plan for the rest. The $99 is credited toward a Protect plan started within 7 days.
If the site is back but you want to know why it broke, start with a free audit.
WordPress White Screen of Death FAQ
What causes the WordPress white screen of death?
Almost always a PHP fatal error: a plugin or theme that conflicts with another plugin or with the server’s PHP version, a broken edit to functions.php or wp-config.php, or PHP running out of memory. Less often it is a cache serving a blank copy of the page, or file permissions that stop WordPress from loading its own files.
How do I fix the white screen of death when I can’t get into wp-admin?
Work through SFTP or your host’s file manager. Rename wp-content/plugins to plugins-off to disable every plugin at once; if the site comes back, rename it back and disable plugins one at a time. If not, rename the active theme’s folder so WordPress falls back to a default theme. Turning on WP_DEBUG_LOG in wp-config.php tells you which file failed, so you don’t have to guess.
Why is only my WordPress admin (or one page) a white screen?
Only wp-admin blank usually means an admin-only plugin or memory running out on heavy admin screens. Only one page blank usually means a shortcode, block or page-builder module on that page, or a cached blank copy. The where is it white section above maps each case to its likely cause.
Does the white screen of death delete my content?
No. Your posts, pages and orders are in the database and the white screen doesn’t touch them. The danger is in the fix: restoring an old backup over a working database can overwrite recent orders or form entries, so take a fresh backup before you change anything.
Can a white screen mean my WordPress site was hacked?
Sometimes. If the log points at files you don’t recognize, or the white screen comes back after every fix, check for injected code. See the hacked WordPress site repair guide.
Can someone fix the white screen of death for me right now?
Yes. Parameter’s emergency WordPress support puts a senior engineer on the site within the hour during US business hours, for a $99 flat 60-minute diagnostic and fix.
Want WordPress to feel handled?
Self-serve onboarding takes minutes. Parameter takes care of the rest, hosting, ops, and improvements when you need them.