Fix "White Screen of Death" in WordPress
Ibrahim Monir
Full-Stack Developer

The WordPress White Screen of Death is usually a plugin conflict, theme error, or memory limit. Here is how to diagnose and fix it step by step — with and without admin access.
You open your website and instead of your homepage you get… nothing. A blank, white, empty page. No error, no menu, no content. This is the dreaded WordPress White Screen of Death (WSOD) — and while it looks catastrophic, it's almost always fixable in a few minutes once you know the usual causes. Here's exactly how to diagnose and fix it, step by step.
Quick answer: The WordPress White Screen of Death is usually caused by a plugin or theme conflict, a PHP memory limit that's been exceeded, or a PHP error. Fix it by enabling debug mode to see the error, then deactivating plugins, switching to a default theme, and increasing the PHP memory limit until the site loads again.
What causes the White Screen of Death?
A blank white page means PHP stopped running before it could output anything — and WordPress is (by default) hiding the error. The most common culprits are:
- A plugin conflict — a buggy or incompatible plugin, or two plugins fighting.
- A theme problem — an error in your active theme's code.
- Exhausted PHP memory limit — the site needs more memory than it's allowed.
- A PHP error or version mismatch — often after an update.
- A corrupted core file — rare, but it happens.
The fixes below work through these from most to least likely. Before you start, back up your site if you can.
Step 1: Turn on debug mode to see the real error
Don't fix blind. Make WordPress reveal what's actually wrong. Edit wp-config.php (via your host's file manager or FTP) and change the debug line to:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
With WP_DEBUG_LOG on, errors are written to /wp-content/debug.log. Open that file and the last error usually names the exact plugin, theme, or file causing the crash — which tells you precisely where to look. Turn debug back off when you're done.
Step 2: Deactivate all your plugins
Plugins are the number one cause. If you can still reach wp-admin:
- Go to Plugins → Installed Plugins, select all, and choose Deactivate.
- If the white screen disappears, a plugin was the problem.
- Reactivate them one at a time, reloading the site after each, until the screen goes blank again — that last plugin is the culprit.
If you can't reach the dashboard, do it over FTP or your host's file manager: rename the /wp-content/plugins folder to plugins-old. That deactivates every plugin at once. If the site returns, rename it back and disable plugins individually to find the bad one.
Step 3: Switch to a default theme
If plugins aren't the issue, suspect your theme. Activate a default WordPress theme (like Twenty Twenty-Four) from Appearance → Themes. If you can't log in, rename your active theme's folder inside /wp-content/themes via FTP — WordPress will fall back to a default theme automatically. If the site loads, the problem is in your theme's code (often functions.php).
Step 4: Increase the PHP memory limit
If the error log mentions "allowed memory size exhausted," your site needs more memory. Add this line to wp-config.php, just above the "That's all, stop editing" comment:
define( 'WP_MEMORY_LIMIT', '256M' );
If that doesn't stick (some hosts cap it), raise the limit in php.ini or your hosting control panel, or ask your host to increase it. Low memory is a very common WSOD cause on cheaper shared hosting.
Step 5: Clear all caches
Sometimes you've already fixed the problem but a cached copy of the broken page is still being served. Clear your caching plugin's cache, your host/server cache, and any CDN cache (like Cloudflare). Then hard-refresh your browser. Don't skip this — it's the reason many "still broken" sites are actually already fixed.
Step 6: Check for a corrupted core file
If nothing above works, a core WordPress file may be corrupted. Re-upload fresh copies of the /wp-admin and /wp-includes folders from a clean download of WordPress (matching your version) via FTP. This won't touch your content — your posts, pages, and settings live in the database and in /wp-content, which you leave alone.
Quick fix summary
Work through these in order and the white screen will almost always come back to life:
| If the cause is… | The fix is… |
|---|---|
| A plugin conflict | Deactivate all plugins, reactivate one by one |
| A theme error | Switch to a default theme |
| Memory exhausted | Raise WP_MEMORY_LIMIT to 256M |
| A hidden PHP error | Enable WP_DEBUG and read debug.log |
| A stale cached page | Clear plugin, server, and CDN caches |
| A corrupted core file | Re-upload /wp-admin and /wp-includes |
How to prevent the White Screen of Death
- Keep backups — automatic daily backups so you can roll back instantly.
- Update carefully — test plugin and theme updates on a staging site first.
- Use quality plugins — fewer, well-maintained plugins mean fewer conflicts.
- Give the site enough memory — a decent host and a sensible PHP memory limit.
- Stay on a supported PHP version to avoid compatibility crashes.
Frequently asked questions
What is the White Screen of Death in WordPress?
The White Screen of Death (WSOD) is a blank white page that appears instead of your website or admin area. It happens when a PHP error stops WordPress from loading and the error message is hidden, most often due to a plugin or theme conflict or an exhausted memory limit.
How do I fix the WordPress White Screen of Death without admin access?
Use FTP or your host's file manager. Rename the /wp-content/plugins folder to disable all plugins at once, and if that doesn't work, rename your active theme's folder to force a default theme. Then enable WP_DEBUG in wp-config.php to read the exact error.
Why does only part of my site show a white screen?
If only certain pages or just the admin area are white, the cause is narrower — often a specific plugin's page, a memory limit hit on a heavy page, or a theme template error. Enable debug logging and check which plugin or template the error points to.
Will fixing the White Screen of Death delete my content?
No. The standard fixes — deactivating plugins, switching themes, raising the memory limit, and re-uploading core files — don't touch your posts, pages, or settings, which live safely in your database and the /wp-content folder. Still, always back up before making changes.
Final thought
The White Screen of Death looks terrifying, but it's rarely as bad as it seems. In almost every case it comes down to a plugin conflict, a theme error, or a memory limit — and the six steps above will get you back online. Turn on debug mode first so you're fixing the real problem, work through the list in order, and clear your caches before you panic.
Stuck with a white screen and no time to troubleshoot? Get in touch and I'll get your WordPress site back up fast.


