WordPress White Screen of Death: How to Fix a Blank Page
Your site or admin shows a blank white page and no error. Find the cause with debug mode, then switch off the plugin or theme behind it.
A blank white page with no message almost always means a PHP error that your site is hiding. The usual causes are a plugin, a theme, or the site running out of PHP memory. The steps below find out which.
Step 1: Turn on the error log
Open wp-config.php in your hosting File Manager. Just above the line that says That's all, stop editing!, add:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
Reload the page, then open wp-content/debug.log. The last lines name the file and plugin or theme that failed, for example wp-content/plugins/some-plugin/....
Step 2: Switch off the plugin that failed
In File Manager, open wp-content/plugins and rename that plugin's folder, for example some-plugin to some-plugin-off. WordPress then treats it as missing and deactivates it. Reload your site.
If you cannot tell which plugin it is, rename the whole plugins folder to plugins-off. If the site comes back, rename it back to plugins, then rename plugin folders one at a time until you find the culprit.
Step 3: Check the theme
If it is not a plugin, rename your active theme's folder inside wp-content/themes. WordPress falls back to a default theme such as Twenty Twenty-Four, if one is installed.
Step 4: Check memory
If the log says Allowed memory size exhausted, see our memory guide.
Step 5: Turn debug mode off
When the site works, change WP_DEBUG back to false or remove those lines. Debug logs can contain private details.
If nothing works
Restore a backup from your hosting panel, or ask your host to check the server error log.
Related guides
- WordPress Theme Broke the Site: Switch Back to a Default Theme Without Dashboard Access
- WordPress Posts or Pages Show 404 Not Found but the Homepage Works
- WordPress Pages Show 404 Not Found (Posts Work, Pages Do Not)
- WordPress 'Parse error: syntax error, unexpected' After Editing Code