How to Fix the WordPress White Screen of Death (Complete 2026 Guide)

WordPress white screen of death fix

The WordPress White Screen of Death (WSOD) is one of the most confusing errors a site owner can face — your website shows nothing but a completely blank white page with zero explanation. No error message, no hint of what went wrong.

Despite its dramatic name, the WSOD is almost always fixable. Here’s a complete troubleshooting guide.

What Causes the WordPress White Screen of Death?

The WSOD usually happens because of one of these:

  • A PHP memory limit that’s too low
  • A faulty plugin or theme
  • A PHP syntax error in a customised file
  • An incompatible WordPress update
  • Corrupted core WordPress files

Step 1: Increase the PHP Memory Limit

A low memory limit is the #1 cause. Add this line to your wp-config.php file just before /* That's all, stop editing! */:

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

Refresh your site. If it loads, memory was the problem. If your host caps the memory, contact them to increase the PHP limit from your hosting panel.

Step 2: Enable WordPress Debug Mode

Turn on debug mode to see the actual error. In wp-config.php, set:

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

Check /wp-content/debug.log for the exact error message. This pinpoints the problem file instantly.

Step 3: Deactivate All Plugins via FTP

Connect via FTP and rename the folder /wp-content/plugins/ to /wp-content/plugins-old/. Reload your site. If it works, a plugin is responsible. Rename the folder back to plugins, then reactivate each plugin one at a time until you find the culprit.

Step 4: Switch to a Default WordPress Theme

If disabling plugins didn’t help, the theme might be the issue. Via FTP, go to /wp-content/themes/ and rename your active theme’s folder. WordPress will automatically fall back to a default theme like Twenty Twenty-Four.

Step 5: Re-upload WordPress Core Files

Download a fresh copy of WordPress from wordpress.org. Extract it and upload everything except the wp-content folder and wp-config.php to overwrite corrupted core files. This won’t touch your content or settings.

Step 6: Check File Permissions

Incorrect file permissions can cause WSOD. The correct permissions for WordPress are:

  • Files: 644
  • Directories: 755
  • wp-config.php: 600

You can fix these via FTP client settings or by running a command via SSH.

Step 7: Check Your PHP Version

An outdated PHP version (below 7.4) can cause WSOD after WordPress updates. Log into your hosting panel and update PHP to 8.1 or 8.2 under PHP Configuration settings.

Preventing the White Screen of Death

  • Always test plugin and theme updates on a staging site first
  • Keep regular backups — daily with UpdraftPlus
  • Maintain adequate PHP memory (256MB minimum)
  • Use a child theme so parent theme updates don’t wipe customisations

Still Showing a White Screen?

If you’ve tried everything and the site is still blank, it’s time to call in a professional. At debrajx, we fix WordPress WSOD issues fast. Get in touch and we’ll have your site restored in no time.

Fix WordPress White Screen of Death: Complete Step-by-Step Guide

Step 1: Enable WordPress Debug Mode

Before doing anything else, turn on WordPress error reporting so you can see exactly what went wrong. Add these lines to wp-config.php:

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

Now visit your site. The white screen may still show, but errors are now being logged to /wp-content/debug.log. Open that file to read the actual error message — it will usually tell you exactly which file or plugin is causing the crash.

Step 2: Deactivate All Plugins via FTP or File Manager

The most common cause of the White Screen of Death is a plugin conflict or a buggy plugin update. To deactivate all plugins without accessing wp-admin:

  1. Connect to your server via FTP or cPanel File Manager
  2. Navigate to /wp-content/plugins/
  3. Rename the entire plugins folder to plugins_disabled
  4. Refresh your website

If the white screen disappears, a plugin is the culprit. Rename the folder back to plugins, then reactivate plugins one by one — starting with the most recently updated — until the white screen returns. That last activated plugin is the problem.

Step 3: Switch to a Default WordPress Theme

If disabling plugins didn’t help, a corrupted theme may be causing the issue. Via FTP, navigate to /wp-content/themes/ and rename your active theme folder (e.g., rename astra to astra_backup). WordPress will automatically fall back to a default theme like Twenty Twenty-Three.

If this fixes the white screen, the issue is in your theme files. Either reinstall the theme from WordPress.org or restore from a backup.

Step 4: Increase PHP Memory Limit

WordPress needs sufficient PHP memory to run. When memory runs out, you get a blank white screen. Add this to your wp-config.php:

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

You can also increase it via .htaccess by adding: php_value memory_limit 256M

After saving, refresh your website. This alone fixes a significant percentage of White Screen of Death cases.

Step 5: Check for PHP Version Compatibility

An outdated or too-new PHP version can crash WordPress entirely. Log into your hosting control panel and check your PHP version. WordPress recommends PHP 8.0 or 8.1. If you’re on PHP 5.x or just upgraded to PHP 8.2+ and the white screen appeared immediately after, roll back to PHP 8.1 temporarily.

Step 6: Check and Repair .htaccess

A corrupted .htaccess file can cause blank screens, especially after changing permalink settings. Via FTP, rename your existing .htaccess to .htaccess_old and create a new one with this content:

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress

White Screen Only in wp-admin?

If your front-end loads fine but wp-admin shows a white screen, the issue is almost always a plugin or theme conflicting with the admin panel. Add ?debug=true to your admin URL or check the debug.log file for the specific PHP error.

Still Stuck? Emergency WordPress Support in India

The White Screen of Death can be frustrating, especially when your business depends on the website being live. If you’ve tried all the steps above without success, contact debrajx for emergency WordPress fixes. We serve small businesses across India and typically resolve white screen errors within 2–3 hours.


Related Articles

Scroll to Top