XiaTools

Why Your WordPress Site Shows a White Screen of Death and How to Test It

Updated 10 Oct 2026

The WordPress white screen of death (WSOD) occurs when your website renders entirely blank without any error messages or warnings, effectively locking you and your visitors out. This frustrating issue is almost always caused by a PHP timeout, exhausted memory limits, or a fatal conflict involving a newly installed plugin or theme. Because the screen displays nothing by default, diagnosing the root cause requires checking server logs, enabling debugging modes, and isolating problematic code.

Before you begin troubleshooting, it is vital to determine whether your site is experiencing a complete server outage or just a WordPress-specific rendering failure. You can use the Website Down Checker to quickly verify if your domain is unreachable from external networks, helping you narrow down whether the issue lies with your hosting provider or your WordPress configuration.

Understanding the Anatomy of the WordPress WSOD

When a visitor requests a page from your WordPress site, the web server executes a series of PHP scripts to fetch content from your MySQL database, assemble the HTML, and send it back to the browser. If a script encounters a fatal error—such as calling a function that does not exist or exceeding its allocated memory—PHP stops execution mid-stream. If your server is configured to hide errors from public view for security reasons, it stops rendering entirely, leaving you with a blank white page.

Common Triggers for the Blank Screen

  • Exhausted PHP Memory Limit: WordPress core, themes, and plugins require memory to run. Complex operations can easily breach the default allocation set by your host.
  • Plugin or Theme Conflicts: Incompatible code or a bad update can break the PHP execution flow instantly.
  • PHP Version Incompatibility: Upgrading your server's PHP version without checking if your plugins are compatible can trigger fatal errors.
  • Corrupted Core Files: Incomplete file transfers during updates can leave essential PHP scripts broken or missing.

Step-by-Step Troubleshooting and Testing

Resolving the white screen of death requires a systematic approach to identify the exact line of code or resource limitation causing the failure. Follow these diagnostic steps to restore your site.

Step 1: Enable WP_DEBUG to Reveal Hidden Errors

By default, WordPress suppresses error messages to protect your database structure and file paths from malicious actors. To see what is actually breaking your site, you must enable debugging.

  1. Connect to your web hosting account using an FTP client or your hosting provider's file manager.
  2. Locate the root directory of your WordPress installation (where files like wp-config.php and wp-load.php live).
  3. Download a backup copy of wp-config.php to your local machine.
  4. Open wp-config.php in a plain text editor.
  5. Find the line that says /* That's all, stop editing! Happy publishing. */ or similar.
  6. Paste the following configuration snippet immediately above that line:
define( 'WP_DEBUG', true );
define( 'WP_DEBUG_DISPLAY', true );
define( 'WP_DEBUG_LOG', true );
  1. Save the file and upload it back to your server, overwriting the old one.

Refresh your website in your browser. Instead of a blank screen, you should now see specific PHP error messages, warnings, or notices that point directly to the problematic plugin, theme file, or function.

Step 2: Increase the PHP Memory Limit

If your debug log shows memory exhaustion errors (such as Allowed memory size of 41943040 bytes exhausted), you need to increase the memory limit allocated to PHP.

Open your wp-config.php file again and add the following line near the top, just below the opening <?php tag:

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

If your host allows it, you can also modify your .htaccess file in the root directory by adding this directive:

php_value memory_limit 256M

Step 3: Isolate Faulty Plugins and Themes

If debugging does not reveal a clear culprit, a plugin or theme conflict is the most likely cause. Because you cannot access the WordPress admin dashboard, you must manage your extensions via FTP or your host's file manager.

  1. Navigate to your root WordPress directory.
  2. Open the wp-content folder.
  3. Find the folder named plugins and rename it to plugins_old.
  4. Visit your website. If the white screen is gone and your site loads (likely without styling or with missing elements), a plugin is causing the issue.
  5. Rename the folder back to plugins. Log into your WordPress dashboard, navigate to the Plugins page, and activate your plugins one by one while testing your site to find the offending extension.

If deactivating plugins does not work, perform the same isolation test on your active theme:

  1. Go to wp-content/themes.
  2. Locate your active theme folder.
  3. Temporarily rename that folder.
  4. WordPress will automatically fall back to a default stock theme (like Twenty Twenty-Three). If your site loads, your active theme contains broken code.

Comparison of Diagnostic Methods

Method Best Used For Technical Skill Required Risk Level
WP_DEBUG Mode Pinpointing exact PHP errors and file paths Intermediate Low
Memory Limit Increase Fixing out-of-memory fatal crashes Beginner Low
Plugin Renaming Isolating third-party software conflicts Beginner Low
Error Log Review Analyzing server-level crashes Intermediate Low

Common Mistakes and How to Fix Them

  • Editing Files in the WordPress Dashboard: Never edit PHP files directly inside the WordPress theme or plugin editor while troubleshooting. One syntax error will lock you out of the admin panel entirely, forcing you to use FTP to fix it.
  • Forgetting to Disable Debug Mode: Leaving WP_DEBUG_DISPLAY enabled in a live production environment exposes sensitive database structures and internal paths to visitors. Always turn display errors off once you resolve the issue, keeping WP_DEBUG_LOG active if you need to monitor background events.
  • Clearing Browser Cache Inadequately: Sometimes a fix is successful, but your local browser serves an empty cached version of the white screen. Always perform a hard refresh (Ctrl+F5 on Windows or Cmd+Shift+R on Mac) or test your URL in an incognito window.

Quick Troubleshooting Checklist

  • Check if the domain resolves properly and the server responds.
  • Enable WP_DEBUG in wp-config.php to display fatal error messages.
  • Increase the PHP memory limit to 256M or higher.
  • Rename the wp-content/plugins folder via FTP to test for plugin conflicts.
  • Switch to a default WordPress theme by renaming the active theme folder.
  • Review server error logs (such as error_log) inside your hosting control panel.
  • Revert recent core, theme, or plugin updates if the crash happened immediately after an upgrade.

Frequently asked questions

Why is my WordPress admin dashboard working, but the front end is blank?

This split failure usually points to a corrupted or broken theme file, such as a faulty functions.php script or an issue with your permalink structure. Try resetting your permalinks by re-saving them in the admin dashboard, or temporarily switch to a default theme via FTP to see if the front end recovers.

What should I do if I cannot access my site via FTP or file manager?

If you lack FTP access, you must contact your web hosting provider's support team immediately. They have direct server-level access and can pull your error logs, rename plugin folders, or restore a recent server backup on your behalf.

Can a WordPress white screen of death fix itself automatically?

Occasionally, yes. If your site crashed due to a temporary server resource spike, a memory limit timeout, or an automated background update by your host that subsequently finished, the site may recover on its own once server loads normalize. However, most structural code errors require manual intervention.

How do I check my server error logs if I don't see anything in wp-content?

Server error logs are typically located outside your public_html directory, managed directly by your hosting control panel (such as cPanel or Plesk). Look for sections labeled 'Error Log', 'Metrics', or 'Logs' to view raw Apache or Nginx error outputs.

Does updating PHP cause the white screen of death?

Yes, upgrading your server's PHP version (for example, from PHP 7.4 to 8.2) frequently triggers the WSOD if older plugins or themes contain deprecated functions or syntax that are no longer supported in modern PHP releases.

Related articles

Free tools