How to fix the WordPress White Screen of Death (blank white page)
The WordPress White Screen of Death (WSOD) is when your site, or only the dashboard, shows a completely blank white page with no error message. It almost always means PHP stopped with a fatal error and the error is hidden. This guide walks you through finding the cause and fixing it, from the quickest checks to disabling plugins and themes from cPanel when you cannot log in.
Step 1: Check what is white
- Only one page is white: the problem is in the content or a block on that page, or a plugin that runs only there.
- The front end is white but /wp-admin works: the theme or a front-end plugin is the likely cause.
- Everything is white, including /wp-admin: a plugin, the theme, PHP memory or the PHP version.
Also open the site in a private window. If it works there, clear your cache plugin (for example LiteSpeed Cache → Purge All) and your browser cache.
Step 2: Check your email for "recovery mode"
Since WordPress 5.2, when a fatal error happens WordPress tries to email the site administrator a message about a technical issue. It names the plugin or theme that failed and contains a special recovery mode link. Open the link, log in, and deactivate the plugin or theme it mentions. Check your spam folder too.
Step 3: Read the error
The quickest way to stop guessing is to see the real error:
- In cPanel File Manager, open your site folder (usually
public_html) and look for a file callederror_log. Also checkwp-admin/error_log. - Open it and read the last lines. A line with PHP Fatal error and a path such as
wp-content/plugins/plugin-name/tells you exactly who is to blame. - If there is no useful log, enable the WordPress debug log. See How to enable WP_DEBUG and read the WordPress debug log.
Step 4: Disable plugins from File Manager
If you cannot reach the dashboard:
- Go to
public_html/wp-content. - Right-click the
pluginsfolder and Rename it toplugins-off. This deactivates all plugins at once without deleting anything. - Reload the site. If it works, rename the folder back to
plugins. - Now rename the individual plugin folders one by one (for example
woocommercetowoocommerce-off) and reload after each, until you find the one that brings back the white page. - Keep that plugin disabled, then update it, replace it, or contact its developer.
Step 5: Switch to a default theme
If plugins are not the cause, test the theme. In wp-content/themes, rename your active theme's folder (for example mytheme to mytheme-off). WordPress then falls back to a default theme such as Twenty Twenty-Five, if one is installed. If the site loads, the problem is in your theme or child theme, often a recent edit to functions.php.
Step 6: Check memory and PHP version
- If the error says Allowed memory size ... exhausted, raise the memory limit. See How to fix the WordPress "Allowed memory size exhausted" error.
- If the problem started after a PHP version change, or the error mentions undefined functions, switch to a PHP version your theme and plugins support. See How to change the PHP version.
Common causes at a glance
| Cause | Typical sign | Fix |
|---|---|---|
| Plugin conflict or bad update | Started right after an update | Disable the plugin, update or replace it |
| Theme or functions.php edit | Started after editing code | Undo the edit or restore the file |
| Memory limit | "Allowed memory size" in the log | Raise memory or remove heavy plugins |
| PHP version | Started after changing PHP | Use a supported PHP version |
| Cache | Works in a private window | Purge cache |
Frequently asked questions
Did I lose my website content?
Almost never. A white screen means PHP cannot finish building the page; your posts, products and orders are still in the database.
The white screen came after I restored a backup. Why?
The backup may have been made on a different PHP version or with older plugins. Check the PHP version and the error log first.
What is the difference between this and "There has been a critical error"?
They have the same causes. Newer WordPress versions usually show the critical error message instead of a white page. See How to fix "There has been a critical error on this website" in WordPress.
Need help? Open a support ticket or message us on WhatsApp +20 127 113 3655.