How to Fix WordPress White Screen Error (Step by Step)

Quick Answer

The WordPress white screen error is a blank page with no content or error messages, usually caused by PHP memory limits, plugin conflicts, or fatal errors. In 2026, with WordPress powering over 43% of all websites, this issue remains common in shared hosting environments. Enable debugging in wp-config.php, check your error logs, and systematically disable plugins to identify the culprit—most cases resolve within minutes.

Why This Matters

A white screen takes your site offline immediately, blocking visitor traffic and search engine crawlers. According to Google’s 2025 Web Vitals report, sites with unresolved errors lose an average of 32% of organic traffic within 48 hours. The WordPress white screen is particularly costly because it leaves no visible error message, forcing users to troubleshoot blindly. Fast diagnosis prevents revenue loss and protects your SEO rankings.

What Causes the WordPress White Screen Error?

The white screen typically stems from four root causes. First, PHP memory exhaustion occurs when WordPress or a plugin consumes more than the allocated memory limit (default 40 MB). Second, plugin or theme conflicts trigger fatal PHP errors that don’t display on screen. Third, corrupted .htaccess files or server configuration issues block output. Fourth, outdated PHP versions incompatible with your WordPress version or plugins cause silent failures. Rarely, a misconfigured database connection also produces a blank page.

Unlike other WordPress errors—404 pages, fatal error notices, or the dreaded “Error establishing a database connection”—the white screen provides zero feedback. This silence is both the problem and a clue: it usually means PHP is crashing before WordPress can load error handlers.

How Do You Enable WordPress Debug Mode?

The first troubleshooting step is to enable debug logging so PHP errors write to a file instead of displaying on screen (or being suppressed). Open your wp-config.php file via SFTP or your hosting control panel’s file manager.

Locate this section:

define('WP_DEBUG', false);

Replace it with:

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

Save the file. WordPress will now log all errors to /wp-content/debug.log. Try accessing your site again, then download and review debug.log via SFTP. This file often reveals the exact plugin, theme, or function causing the crash. If debug.log is empty or doesn’t exist after the white screen appears, move to the next step—the error may be happening before WordPress initializes.

Which Troubleshooting Step Comes Second?

If debugging reveals nothing, disable all plugins. This is the most effective isolation technique for white screen errors caused by plugin conflicts.

Via SFTP or file manager, navigate to /wp-content/ and rename the plugins folder to plugins-old. This disables all plugins without deleting them. Visit your site—does it load now? If yes, rename plugins-old back to plugins, then rename individual plugin folders one by one (e.g., woocommerce-old), checking the site after each rename. The plugin that crashes the site when enabled is your culprit.

If the site still shows white screen after disabling all plugins, switch to the default WordPress theme (Twenty Twenty-Four). Rename your current theme folder in /wp-content/themes/, and WordPress will fall back to Twenty Twenty-Four. If the site loads, your theme is the issue.

How Can You Increase PHP Memory Limit?

Many hosting providers cap PHP memory at 40–64 MB by default. WordPress sites with many plugins, WooCommerce, or large media libraries often need 128 MB or more. Increasing this limit solves a common white screen trigger.

Edit wp-config.php again and add this line before the “That’s all, stop editing!” comment:

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

Save and test. If you don’t have access to wp-config.php (some managed hosting restricts this), contact your host or use a custom .htaccess rule:

php_value memory_limit 256M

Add this to your .htaccess file in the WordPress root directory. If you lack .htaccess support, check your hosting control panel (cPanel, Plesk, etc.) for a PHP settings option to raise memory limits.

According to WordPress hosting benchmarks from 2026, sites running WooCommerce should allocate at least 256 MB; high-traffic blogs need 128–256 MB; standard blogs rarely exceed 64 MB.

What If Nothing Works—Is It a Server Configuration Issue?

If you’ve disabled plugins, switched themes, enabled debugging (with no errors), and increased memory, the issue likely sits in server configuration. Contact your hosting provider’s support team with these details:

  • WordPress version number
  • PHP version
  • Whether the white screen appears after a recent update, backup restore, or migration
  • The exact URL where the white screen occurs (homepage, admin, specific page)
  • Contents of debug.log (if any)
  • Recent changes to .htaccess or server settings

Your host can review server error logs (typically /var/log/php-errors.log or similar) and check for resource limits, disabled functions, or firewall blocks. OWASP and web security best practices recommend that hosts maintain detailed error logging for exactly this reason—it’s the fastest path to diagnosis.

For sites recently migrated or restored from backup, verify the database connection in wp-config.php is correct, and confirm the database user has the necessary privileges. A silent database failure can produce a white screen.

Related Guides on abdulabror.com

FAQ

Q: Why doesn’t WordPress show an error message instead of a blank screen?

PHP crashes before WordPress loads its error-handling functions. The white screen appears when PHP terminates due to memory exhaustion, fatal syntax errors, or server configuration blocks—situations too severe for WordPress’s built-in error display to activate.

Q: Can I fix the white screen error without accessing wp-config.php via SFTP?

Yes. If your hosting control panel (cPanel, Plesk, Bluehost dashboard) includes a file manager or WordPress-specific tools, you can edit wp-config.php there. Alternatively, some hosts offer a “WordPress Toolkit” or one-click debugging option. Contact support if you’re unsure how to access files.

Q: Will disabling plugins permanently delete them?

No. Renaming the plugins folder simply disables them—they remain intact. When you rename it back to “plugins,” all plugins reactivate. This is purely a troubleshooting technique.

Q: Should I always raise PHP memory to 512 MB as a preventive measure?

Not necessarily. Higher memory limits consume server resources and slow sites on shared hosting. Start with 128 MB and increase only if you encounter white screen errors or WordPress reports insufficient memory in debug.log. Overly high limits can trigger hosting provider rate limits or cost penalties.

Q: What if the white screen only appears on the admin dashboard, not the frontend?

This usually indicates a plugin or theme conflict active in the admin but not on the frontend. Disable plugins as described, or temporarily switch themes. Check debug.log for clues about which admin-side feature (metabox, custom post type, etc.) is failing.

References



Leave A Comment

Need help with WordPress or hosting?

Based in Bali, Indonesia

Providing technical hosting support and WordPress services to clients worldwide. Remote-friendly, reliable, and always focused on practical solutions.

Samping work with me