There was a problem loading the comments.

How to Fix the WordPress White Screen of Death

Support Portal  »  Knowledgebase  »  Viewing Article

  Print

Quick answer: The white screen of death is a PHP fatal error. Enable WP_DEBUG_LOG in wp-config.php to read the exact cause in wp-content/debug.log, then isolate it by deactivating plugins (rename the plugins folder), switching to a default theme, or raising the memory limit.

The WordPress "white screen of death" is a blank page with no error message, usually caused by a PHP fatal error from a plugin, theme, or exhausted memory. Because nothing is shown, the fix is about switching on visibility and isolating the culprit.

1. Turn on error display temporarily

Edit wp-config.php and enable debugging so the blank page reveals the actual error:

define('WP_DEBUG', true);
define('WP_DEBUG_LOG', true);
define('WP_DEBUG_DISPLAY', false);

With WP_DEBUG_LOG on, the error is written to wp-content/debug.log. Open that file - it names the exact plugin or theme file and line causing the crash. Set these back to false when you finish.

2. Rule out a plugin

If you can reach wp-admin, deactivate all plugins, then reactivate them one at a time until the screen breaks again - that last one is the cause. If you cannot reach admin, rename the wp-content/plugins folder to plugins_off via FTP or File Manager; that disables every plugin at once. If the site returns, rename it back and disable plugins individually.

3. Rule out the theme

Switch to a default theme such as Twenty Twenty-Four. Without admin access, rename the active theme's folder in wp-content/themes so WordPress falls back to a default. If that fixes it, the theme (often a recent edit to functions.php) is the problem.

4. Rule out memory

If the debug log shows "Allowed memory size exhausted", raise the memory limit (see the related article). This is common on import-heavy or builder-heavy sites.

Frequently asked questions

I can't reach wp-admin - how do I disable plugins?
Rename wp-content/plugins to plugins_off via FTP to disable all of them at once.

What usually causes it?
A plugin or theme conflict, a bad functions.php edit, or exhausted PHP memory.

Managed WordPress hosting removes most of these situations before they happen: on SoftSys managed WordPress hosting we keep staging available so plugin and theme changes are tested off the live site, and our team can read the logs and roll back a bad change for you.


Share via
Did you find this article useful?  

Related Articles

Tags

© Softsys Hosting