The WordPress white screen of death is a blank page or fatal error caused by a crashed plugin, theme or memory problem. To fix it, turn on WP_DEBUG in wp-config.php to read the exact error, deactivate the plugin or theme it names, raise the memory limit if needed, and turn debugging off again afterwards.
What is the white screen of death?
If your site goes blank or shows a fatal error, a plugin or theme has most likely crashed.
Visitors see an empty white page, and sometimes the admin area is blank too. It is scary because there is no message, but the cause is almost always a code error, and the fix is almost always simple.
What causes a blank WordPress screen?
| Cause | What triggered it |
|---|---|
| Plugin error | A new, updated or incompatible plugin crashed |
| Theme error | A theme update or edit introduced broken code |
| Memory exhausted | The site ran out of allowed PHP memory |
| PHP version mismatch | A plugin needs a different PHP version |
| Syntax slip | A missing bracket in a file you edited |
The key point: something changed just before it broke. Remember the last thing you installed, updated or edited.
How to use WP_DEBUG to find the cause
Open wp-config.php, find the line define(‘WP_DEBUG’, false); and change false to true. Refresh your site. Instead of a blank screen, WordPress will show the specific plugin name and the line of code causing the error.
WordPress documentation notes that WP_DEBUG is off by default and shows PHP errors, warnings and notices when on. It also warns that debug tools are meant for testing and staging, not live sites, because errors shown on screen can reveal file paths to visitors.
The safer way: log errors without showing them
On a live site, use these three lines together instead of a single switch:
- define(‘WP_DEBUG’, true);
- define(‘WP_DEBUG_LOG’, true);
- define(‘WP_DEBUG_DISPLAY’, false);
WP_DEBUG_LOG writes the errors to a file called debug.log inside the wp-content folder, and WP_DEBUG_DISPLAY set to false stops errors from appearing on the page. Open debug.log in File Manager and read the last lines. When you have fixed the problem, change WP_DEBUG back to false.

How to fix a plugin that crashed your site
Once the error names a plugin, you have two routes.
If you can still reach the dashboard
Go to Plugins, deactivate the named plugin, and reload your site. If it comes back, update the plugin, replace it with an alternative or contact its developer.
If the dashboard is locked too
Open File Manager, go to wp-content, then plugins, and rename the plugin’s folder, for example from contact-tool to contact-tool-off. WordPress cannot find the folder, so it deactivates the plugin. Reload the site and log in.
How to fix a theme that crashed your site
If the error names a theme file, open wp-content, then themes, and rename the active theme’s folder. WordPress falls back to a default theme if one is installed. Log in, then switch themes properly in Appearance. If you edited theme files yourself, restore the original file from your backup.
Reading debug.log: what to look for
Open wp-content/debug.log and scroll to the bottom, because the newest entry is last. Look for a line that begins with “Fatal error” or “PHP Fatal error”. It ends with a file path and a line number. A path containing /plugins/ followed by a folder name tells you which plugin is guilty, and a path containing /themes/ points at the theme. Copy the whole line when you ask a developer or the plugin’s support forum for help, because it contains everything they need.
Check memory limits next
A blank screen can also mean memory ran out. If the debug log mentions allowed memory size exhausted, increase the limit as explained in the memory exhausted article in this module, then test again.
When to restore from a backup instead
If you cannot find the cause within 30 minutes, if the site stays down and visitors are affected, or if you edited many files, restore the latest working backup and repeat the changes one at a time. Restoring is faster than guessing.
A pre-update safety routine
- Take a backup before updating anything.
- Update one plugin at a time, not twenty.
- Check the front page and one inner page after each update.
- Keep a list of what you updated and when.
This routine turns a white screen from an emergency into a minor rollback.