WordPress White Screen of Death: causes and fix
Quick answer: A completely blank page means PHP stopped before building the page and the error is hidden. A plugin, theme or memory limit is usually to blame; turn on WP_DEBUG first to reveal the real error.

Symptoms
- The site or dashboard loads as a completely white page with no text
- Only certain screens go blank, such as the post editor
- Some browsers show "This page isn't working" instead of a white page
Likely causes
- A plugin or theme caused a PHP error while error display is turned off on the host
- PHP ran out of memory
- A caching plugin saved a broken copy of the page
- Theme or core files were uploaded incompletely during an update
- The host's PHP version is incompatible with the theme's code
Step-by-step fix
Start from step one and test again after each step; steps go from the simplest to the most technical.
-
Clear the cache
Clear your browser cache or open the site in a private window. If you use a caching plugin and the dashboard opens, purge its cache; if not, empty the wp-content/cache folder on the server (deleting its contents is safe and it rebuilds itself).
-
Test the dashboard separately
Open yoursite.com/wp-admin. If it loads, deactivate plugins there and switch to a default theme to find the culprit.
-
Turn on WP_DEBUG
Back up wp-config.php and add these lines above "That's all, stop editing": define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); The exact error and the file at fault are then logged to wp-content/debug.log. Remove the lines once the site is fixed.
-
Disable plugins from the server
If the log points to the plugins folder, or you can't read the log, rename wp-content/plugins to plugins-old using File Manager or FTP. If the site returns, rename it back and reactivate plugins one at a time from the dashboard.
-
Switch the theme
Rename the active theme's folder in wp-content/themes so WordPress falls back to a default theme. If the site loads, the theme or its functions.php is broken; if you recently added code to functions.php, remove it.
-
Raise the memory limit
If the log mentions "Allowed memory size", add define('WP_MEMORY_LIMIT', '256M'); to wp-config.php. If that has no effect, raise the PHP memory limit in your hosting control panel's PHP settings.
-
Repair core files and PHP
If the blank screen appeared after a failed update, re-upload wp-admin and wp-includes from the official WordPress package (leave wp-content alone). Also set a supported PHP version in your control panel. Back up the full site first.
If nothing worked
If the page is still white, send the contents of debug.log or your host's error log to their support; server resource limits or PHP settings may need changes only they can make. If the log is empty, a server-side cache or CDN may be holding the broken page; ask your host to purge it. Don't leave WP_DEBUG on for a live site, and delete debug.log when you're done, since it records server paths.
Frequently asked questions
Does a white screen mean my site was hacked?
Usually not; it's most often a simple PHP error. If the log points to an unfamiliar file or you see strange code in functions.php or .htaccess, treat it as a possible infection and restore from a clean backup.
Why does only the post editor go blank?
A plugin is usually conflicting with the editor or page builder, or that screen needs more PHP memory. Deactivate editor-related plugins one at a time and raise WP_MEMORY_LIMIT.
Related problems

There Has Been a Critical Error on This Website (WordPress)
A plugin or theme that broke after an update is almost always the cause. Open the recovery mode link in the admin email first; if there is none, rename the plugins folder via your host.

WordPress 500 Internal Server Error
A 500 error means the server hit a problem running your site without saying why. A broken .htaccess file, a faulty plugin or low PHP memory are the usual causes; check your host's error log first.

WordPress Allowed Memory Size Exhausted Error
PHP used up the memory allowed to build a page. Add define('WP_MEMORY_LIMIT', '256M'); to wp-config.php first; if that doesn't help, raise memory_limit in your hosting control panel.
Terms used on this page
More WordPress & Websites problems
All problems WordPress & Websites
Last updated: