Site down right now? Emergency fix for a fixed $129. I reply within 3 hours (7 am to midnight Pakistan time).Fixed for $129.

Fix it now

Error library · WordPress

The WordPress white screen of death

What your browser shows(a completely blank white page, no message at all)
Site or page downOften HTTP 500 with an empty page

What it means

A PHP error stopped WordPress before it could send anything to the browser, and nothing was set up to show you a message. So you get an empty page.

On a modern site this is rarer than it used to be. Since WordPress 5.2, most crashes show "There has been a critical error on this website" instead. I tested both on WordPress 7.1.4: the same broken plugin showed the critical error message normally, and a completely blank page (HTTP 500, zero bytes) once WordPress's error handler was switched off.

Why you might get a blank page anyway

  • WordPress's error handler is switched off, with WP_DISABLE_FATAL_ERROR_HANDLER in wp-config.php. Some developers add it and forget.
  • The crash happens very early, for example a typo in wp-config.php itself, before WordPress has loaded the part that shows the message.
  • The site ran out of memory before it could build the error page.
  • A cached blank page. A caching plugin or CDN saved the broken page and keeps serving it after the real problem is gone.
  • Only one page is blank, not the whole site: usually a theme template or a page builder that output nothing, rather than a crash.

How to fix it

  1. Narrow it down. Is the whole site blank, or just wp-admin, or one page? Try a private window to rule out your own browser's cache.
  2. Clear caches. Purge your caching plugin (if you can reach wp-admin) and your host's or CDN's cache.
  3. Turn on the error log with our debug snippet tool, reload the blank page, then open wp-content/debug.log. The last lines name the file and line that crashed.
  4. Check your host's error log too, usually under "Logs" or "Error log" in the hosting panel. It catches errors that happen before WordPress loads.
  5. Switch off plugins by renaming their folders in wp-content/plugins, or switch theme by renaming its folder. The steps are the same as for the critical error.
  6. If the log says "Allowed memory size ... exhausted", add define( 'WP_MEMORY_LIMIT', '256M' ); to wp-config.php. If that isn't enough, find the plugin using the memory rather than raising the limit forever.

White screen only in wp-admin?

If the site loads for visitors but the dashboard is blank, the crash happens in code that only runs in the admin area, usually a plugin's settings screen, or the admin running out of memory first. Turn on the error log and load /wp-admin/: the last line names the file. Renaming that plugin's folder brings the dashboard back.

Check for the switch that hides the error

Open wp-config.php and search for WP_DISABLE_FATAL_ERROR_HANDLER. If it's set to true, delete the line. WordPress will then show the critical error message, and email the admin which plugin crashed, instead of a blank page.

Still a blank page?

I'll fix it for a fixed $129, with a backup first and a note of what broke. If I can't fix it, you don't pay.

Fix my site · $129

FAQ

Questions people ask

Can the white screen of death be fixed?

Yes, nearly always without losing anything. The error log names the file that crashed, and switching off that plugin or theme brings the site back.

What causes the white screen of death?

A PHP crash, most often from a plugin or theme update, a clash between plugins, custom code, or the site running out of memory, with WordPress's error message switched off or not reached.

Why do I get a blank white screen on some websites?

On someone else's site, it's their server crashing; try again later. On your own WordPress site, it's a crash in a plugin, theme or custom code: follow the steps above.

Is my content gone?

No. A blank page means the code building the page crashed. Your posts and settings are still in the database.