WordPress White Screen of Death
The dreaded "White Screen of Death" is a completely blank page where your WordPress site should be, often with no error message at all. It looks alarming, but it is almost always recoverable. The cause is usually a PHP fatal error, exhausted memory, or a plugin or theme conflict — and each has a clear fix.
What Causes It
- A PHP fatal error — broken code in a plugin, theme, or a recent update stops the page from rendering.
- Exhausted memory — the site tried to use more RAM than allowed and was cut off.
- A plugin or theme conflict — two components clash, or one is incompatible with your PHP version.
A white screen and a 500 Internal Server Error share many of the same causes; the difference is often just whether the server surfaced the error. The recovery steps overlap heavily.
Step 1: Turn On WP_DEBUG
By default WordPress hides errors, which is why you see a blank page. Enable debugging to see what actually failed.
- Open File Manager in cPanel and edit
wp-config.phpin your WordPress folder. - Find the line
define('WP_DEBUG', false);and change it 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 instead of shown to visitors. Reload the site, then open that log to read the exact error.
debug.log usually names the exact plugin or theme file that failed. That single line often tells you precisely what to disable in the steps below.
Step 2: Raise the Memory Limit
If the error mentions Allowed memory size exhausted, give WordPress more memory. Add this to wp-config.php above the "That's all, stop editing" line:
define('WP_MEMORY_LIMIT', '256M');
You can also raise PHP's own memory_limit from the MultiPHP INI Editor in cPanel if the WordPress setting alone isn't enough.
Step 3: Deactivate All Plugins
If you can't reach the admin dashboard, deactivate every plugin at once by renaming their folder.
- In File Manager, browse to
wp-content. - Rename the
pluginsfolder toplugins-off. - Reload your site. If it comes back, a plugin was the cause.
- Rename the folder back to
plugins. Now rename each plugin subfolder one at a time, reloading after each, until the white screen returns — that last one is the culprit.
Step 4: Switch to a Default Theme
If plugins aren't the cause, your theme may be. Force WordPress back to a default theme.
- In File Manager, browse to
wp-content/themes. - Rename your active theme's folder (for example
mythemetomytheme-off). - WordPress automatically falls back to a default theme such as Twenty Twenty-Four if it is present.
- If the site loads with the default theme, the problem is in your theme — check its
functions.phpfor recent edits.
Step 5: Read the Error Log
Alongside debug.log, the server keeps its own error log. In cPanel, go to Metrics > Errors and read the most recent entries. Together with WP_DEBUG output, this pinpoints the failing file and line.
WP_DEBUG back to false. Leaving debug logging on in production can expose information and grow the log file over time.
Still Blank?
If you've disabled every plugin, switched themes, and raised memory but the screen is still white, open a support ticket. Include your domain and the latest lines from wp-content/debug.log and the cPanel error log so we can trace it quickly.