aoitcloud

Guides and How Tos

Diagnosing the White Screen of Death in WordPress

A blank white page with no error message is one of the most alarming things WordPress can do. Here's what causes it and how to actually find the problem.

4 December 2026 5 min read

Diagnosing the White Screen of Death in WordPress — AOIT Cloud knowledge base

The White Screen of Death, usually shortened to WSOD, is exactly what it sounds like: you load your site, or the wp-admin dashboard, and instead of a page you get a blank white screen. No error, no explanation, nothing to go on. It’s one of the more frustrating WordPress problems precisely because it gives you so little to work with by default. This post explains what’s actually happening and the standard sequence for tracking down the cause.

What’s actually causing it

A white screen almost always means PHP has hit a fatal error while processing the page. Something in your theme, a plugin, or WordPress core itself has failed in a way PHP can’t recover from, so it stops executing entirely. Normally PHP would output an error message describing exactly what went wrong and where. On a live site, though, error display is usually switched off by default as a security measure, since showing raw PHP errors to visitors can leak details about your server and file structure. The result is that the error still happens, it’s just invisible, and you’re left staring at a blank page instead.

Step one: turn on debug logging

Rather than displaying errors publicly, the safer approach is to have WordPress write them quietly to a log file you can check yourself. Open wp-config.php and find the line that reads:

define( 'WP_DEBUG', false );

Replace it with the following block. If the line doesn’t exist yet, add this above the line that says “That’s all, stop editing! Happy blogging.”:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

WP_DEBUG switches on WordPress’s debug mode. WP_DEBUG_LOG tells it to write everything to a file at wp-content/debug.log rather than doing nothing with it. WP_DEBUG_DISPLAY, set to false, makes sure none of this is shown on the actual page, so you’re not exposing error detail to site visitors while you investigate. Reload the page that’s showing the white screen, then open wp-content/debug.log over SFTP or your hosting file manager. The most recent entries at the bottom will usually show a fatal error with the specific file and line number responsible.

Once you’ve fixed the problem, it’s worth turning WP_DEBUG back to false and removing or renaming the debug.log file, since leaving debug mode on permanently isn’t good practice for a live site.

Step two: rule out a plugin

If the debug log points to a specific plugin, or if you can’t access wp-admin at all to check the log via a plugin like the ones that display it there, the next step is to isolate the cause directly. Since the white screen often means you can’t reach the dashboard either, this needs to be done over SFTP or your hosting file manager.

It’s worth taking a quick website backup before making any of these changes, so you can roll back easily if something goes wrong. Navigate to wp-content/plugins/ and rename the plugins folder, for example to plugins-disabled. This deactivates every plugin on the site at once without deleting anything. Reload the site. If it comes back, you know the cause was a plugin.

Rename the folder back to plugins, then rename each plugin’s individual subfolder one at a time, reloading the site after each one, until the white screen reappears. The plugin you just renamed is the culprit. From there you can update it, look for a known compatibility issue, or contact the developer.

Step three: rule out the theme

If disabling all plugins didn’t fix it, the theme is the next suspect. Over SFTP or file manager, navigate to wp-content/themes/ and check whether a default WordPress theme, such as Twenty Twenty-Five, is already installed. If it is, rename your active theme’s folder, which forces WordPress to fall back to the default theme automatically. If no default theme is present, download one from WordPress.org and upload it first.

If the site comes back with the default theme active, the problem is in your theme’s code, most likely in functions.php or a template file. If it’s a purchased or custom theme, this is usually best handled with the debug log detail in hand, either by the developer or by checking recent theme updates for a changelog entry describing the same symptom. Managed Cloud Hosting plans include a staging environment, so changes like this can be tested safely before touching the live site.

Step four: read the log

Whichever route got you back to a working site, go back to wp-content/debug.log and look at the fatal error entry generated when the problem first occurred. It’ll typically look something like this:

PHP Fatal error:  Uncaught Error: Call to undefined function some_function() in /home/user/public_html/wp-content/plugins/example-plugin/example-plugin.php:142

This tells you the exact file and line number where things went wrong, which is far more useful than guessing. If you’d rather find out about an outage like this before a visitor does, website monitoring keeps a continuous check on whether the site is actually up. Common causes include a plugin update that dropped a function another plugin relied on, a PHP version incompatibility after a server upgrade, or a theme and plugin both trying to define the same function name.

A quick summary

  • Enable WP_DEBUG and WP_DEBUG_LOG in wp-config.php to write errors to a log instead of displaying them
  • Rename the plugins folder over SFTP to rule out a plugin conflict, then re-enable them one at a time
  • Switch to a default WordPress theme to rule out a theme issue
  • Check wp-content/debug.log for the specific file and line number the fatal error occurred on

Get in touch

Drop our team a message today