Skip to content
WordPress3 min read

How to fix the WordPress white screen of death

White screen of death (blank page)

Short answer

The WordPress white screen of death is a blank page shown when PHP stops on a fatal error and the error isn't displayed to visitors. It's usually caused by an incompatible plugin or theme, exhausted PHP memory, or an incomplete update. Turn on WP_DEBUG_LOG to find the file responsible, then disable that plugin or theme from File Manager.

ArabyHost teamLast updated: ShareWhatsAppXLinkedIn
Contents
  1. Common causes
  2. How to fix it
  3. Prevention
  4. On ArabyHost

The white screen is one of the most confusing WordPress problems because it gives you nothing to go on. Behind the scenes PHP hit a fatal error, the server is configured not to display errors to visitors, and the browser receives an empty response. Modern WordPress usually shows “There has been a critical error on this website” instead, but a blank page still occurs in some cases, sometimes with an HTTP 500 status.

Common causes

  • A plugin or theme with a bug, or incompatible with your WordPress or PHP version.
  • PHP running out of memory while building the page. See WordPress memory exhausted.
  • A PHP version upgrade that an old plugin doesn’t support.
  • An incomplete update that left files missing.
  • A cache serving an empty copy of the page.

How to fix it

1. Rule out caching first

Open the site in a private window. If the dashboard works, purge the cache in LiteSpeed Cache. Note whether the problem is on the front end only, in /wp-admin only, or both.

2. Turn on the error log

In cPanel open Files » File Manager, edit wp-config.php and replace the WP_DEBUG line with these, above That's all, stop editing!:

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

Reload the page, then open wp-content/debug.log. You’ll find a line like PHP Fatal error: ... in /home/user/public_html/wp-content/plugins/plugin-name/...; the path tells you which plugin or theme failed. You can also check Metrics » Errors in cPanel and the error_log file in the site folder.

3. Disable the failing plugin

In File Manager open wp-content/plugins and rename the plugin’s folder from the log, e.g. plugin-name to plugin-name-off. If you don’t know which one, rename the whole plugins folder to plugins-off. If the site comes back, rename it back and disable plugins one at a time until you find the culprit.

4. Try a default theme

If the log points to the theme, rename the active theme’s folder inside wp-content/themes. WordPress falls back to a default theme if one is installed.

5. Check the PHP version and memory

If the problem started after a PHP change, pick the previous version in Software » MultiPHP Manager until the plugin is updated; see the choose a PHP version guide. If the error is Allowed memory size, raise the memory limit.

6. Re-upload core WordPress files

If the error is in wp-includes or wp-admin, download the same version from wordpress.org and upload just those two folders over the old ones, leaving wp-content and wp-config.php untouched.

7. Switch debugging off again

Once fixed, set WP_DEBUG back to false and delete debug.log so it doesn’t keep growing.

Prevention

  • Update plugins one at a time and check the site after each.
  • Back up before updating the theme or changing PHP versions; see the WordPress backup guide.
  • Remove plugins that are no longer maintained.

On ArabyHost

The Araby AI assistant in the panel reads the error logs and tells you which plugin or file caused the error and how to fix it, which saves digging through logs yourself. You can choose PHP 8.1 to 8.3 in MultiPHP Manager in cPanel, opened with one click from the Araby Panel. If a fix isn’t possible, daily backups (JetBackup) let you restore the site’s files to before the problem started.

FAQ

Why is only wp-admin showing a white screen?

The dashboard loads plugins and code that don't run on the front end, and often needs more memory. The cause is usually an admin-side plugin or memory exhaustion; debug.log points to the exact file.

Does disabling plugins by renaming the folder delete their settings?

No. Renaming the plugins folder only makes WordPress deactivate them; their settings stay in the database. After renaming it back, reactivate them from the Plugins page.

What's the difference between the white screen and "There has been a critical error"?

The cause is essentially the same: a fatal PHP error. Since WordPress 5.2 it shows the critical error message in most cases, while a blank page still appears on older versions or when the error happens before the error handler loads.

Useful? Share it with someone who needs it:WhatsAppXLinkedIn

Read next

Ready to put your idea online?

Fast, isolated hosting, support that understands you, and an AI assistant that fixes problems with you.