WordPress white screen of death: causes and step-by-step fix
The WordPress White Screen of Death (WSOD) is a completely blank page with no error message. Per the official WordPress documentation, it usually comes from a PHP error or a database error, and the most common causes are a plugin or a theme. The fix is an ordered set of steps, not guesswork.
Step 1: reveal the real error with WP_DEBUG
The white screen hides the error message. WordPress has a debug mode that shows it. Open wp-config.php in the site root and change the line to:
define( 'WP_DEBUG', true );
Reload the page and you will usually see a message pointing at the plugin or theme file responsible. Set it back to false when done; showing errors to visitors exposes server details.
Step 2: rule out plugins
If you can access the admin screens: deactivate all plugins, and if the site comes back, reactivate them one by one until the culprit appears.
If you cannot log in, connect via FTP or your hosting file manager and rename wp-content/plugins to plugins_old. This deactivates every plugin at once. If the site loads, a plugin is the cause: rename the folder back and deactivate them one by one from the admin.
Step 3: rule out the theme
Especially if the white screen appeared right after activating a new theme. In the admin, activate a default theme such as Twenty Twenty-One. If you cannot log in, go via FTP to wp-content/themes/ and rename the active theme's folder; WordPress falls back to a default theme automatically.
Step 4: memory exhaustion
If WP_DEBUG shows Allowed memory size exhausted, your WordPress install does not have enough memory for what it is trying to do. The official doc suggests: increase the memory limit in wp-config.php, or in php.ini, noting that php.ini is not a WordPress file, so if you are unfamiliar with it, ask your host to raise the limit.
Quick diagnosis table
| Sign | Likely cause | Step |
|---|---|---|
| White screen after activating a plugin | Plugin | Deactivate it from the admin or rename its folder |
| White screen after activating a theme | Theme | Switch to a default theme or rename the theme folder |
| Sudden white screen across the whole site | PHP or database | Enable WP_DEBUG and read the message |
| Allowed memory size exhausted message | Memory | Raise the memory limit or ask your host |
FAQ
Will I lose data by deactivating plugins? Renaming the folder only deactivates plugins; it deletes neither them nor their data.
What if the screen stays white after all this? The WordPress doc notes database errors can look the same; check the database credentials in wp-config.php or contact your host.
If you would rather have someone watch and fix your site for you, see our hosting and maintenance service. Related read: website speed basics you can apply today.
