Skip to content
The site is down

The site is completely white

No error message, just a blank page. The causes are the same as for a critical error, but WordPress doesn't show the message.

You need
FTP
Updated

A completely white page, known as the white screen of death, nearly always means PHP stopped on a fatal error without showing the error message. The causes are the same as when WordPress shows a critical error, for example a plugin or theme that breaks after an update, or PHP running out of memory.

Check whether the whole site is affected

Open the front page, an inner page and /wp-admin in a private browser window. If only one page is white, the fault is in something only that page uses, for example the page builder or a template. If all of them are white, the fault is in a plugin, the theme or PHP.

Also open the page source with Ctrl+U. If it's empty, PHP has stopped. If it contains HTML, a JavaScript error is keeping the page from rendering, and the error shows in the Console tab of the developer tools (F12).

If the page is only white for you, your browser may be showing an old copy. Clear the browser cache and reload. If it's only white while you're logged in, the site may be broken for everyone, while visitors get a stored copy from the cache. Then don't clear the cache in WordPress or at your host until the error is fixed, or everyone gets the white page.

Look for the email from WordPress

When a plugin crashes in wp-admin or on the login page, WordPress tries to send an email to the administration address with a link to recovery mode, at most once a day. There you can log in and deactivate the plugin that failed. Check the spam folder too. If only the front end crashes, no email is sent, but you can log in to wp-admin as usual and deactivate the plugin there.

Turn on the error log

The error log shows what stopped the site. Find the line define( 'WP_DEBUG', false ); in wp-config.php and replace it with these three lines:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );

If the line isn't there, add them just above the line with require_once ABSPATH . 'wp-settings.php';.

Reload the site and open wp-content/debug.log. Look for lines with PHP Fatal error:

  • If the line points to a file under wp-content/plugins, the plugin in that folder is causing the error.
  • If it says Allowed memory size of … bytes exhausted, PHP has run out of memory.

Set WP_DEBUG back to false and delete debug.log when you're done. Otherwise anyone can read the log in a browser.

Turn off the plugin or theme

Rename the plugin's folder over FTP, for example to forms-off, and reload the site. If you don't know which plugin it is, rename the whole wp-content/plugins folder. If the site then works, log in and open Plugins while the folder still has its new name. WordPress then deactivates all plugins. Give the folder its old name back, and activate the plugins one by one until the page goes white again.

With SSH and WP-CLI, deactivate all plugins with wp plugin deactivate --all --skip-plugins. Without --skip-plugins, WP-CLI loads the plugins first and the command stops on the same error.

If the theme is the cause, rename its folder in wp-content/themes. Then log in and open Appearance → Themes. Only then does WordPress switch to a default theme, if one is installed.

Raise the memory limit

If the log shows that memory ran out, you can raise the limit in wp-config.php:

define( 'WP_MEMORY_LIMIT', '256M' );

If that doesn't help, your hosting provider may have locked the limit in PHP, and it has to be raised in the hosting panel. Also find out which plugin uses that much memory, because a higher limit doesn't remove the cause.

When you're stuck

If the page is still white and the log is empty, either PHP can't write to wp-content, or the fault is on the server. Check that PHP has write access to wp-content, look in the error log in your hosting panel, or ask your hosting provider to check the server log.