How to resolve White Screen of Death in WordPress

August 24, 2024

Encountering the White Screen of Death (WSOD) in WordPress can be a daunting experience, especially for those who aren’t particularly tech-savvy. This issue, characterized by a blank white screen with no error message, can disrupt your website’s functionality and leave you scrambling for a solution. Fortunately, resolving the WSOD is often straightforward if you follow a systematic approach. In this guide, we’ll walk you through the steps to diagnose and fix this common WordPress problem.

Check for Plugin Conflicts

One of the most common causes of the White Screen of Death is a conflict between plugins. To determine if this is the issue, you’ll need to deactivate all your plugins. You can do this by accessing your WordPress dashboard, navigating to the ‘Plugins’ section, and selecting ‘Deactivate’ for each plugin. If you can’t access the dashboard, you can deactivate plugins via FTP by renaming the ‘plugins’ folder in the ‘wp-content’ directory to something like ‘plugins_old’.

After deactivating the plugins, check your website to see if the WSOD is resolved. If the site loads correctly, reactivate each plugin one by one, checking the site after each activation. This will help you identify the specific plugin causing the issue. Once identified, you can either update, replace, or remove the problematic plugin.

Switch to a Default Theme

Another potential cause of the WSOD is a conflict with your current theme. To rule this out, switch to a default WordPress theme like Twenty Twenty-One. You can do this from the WordPress dashboard by navigating to ‘Appearance’ > ‘Themes’ and activating a default theme. If you can’t access the dashboard, you can change the theme via FTP by renaming your current theme’s folder in ‘wp-content/themes’ and ensuring a default theme folder is present.

After switching themes, check your website again. If the WSOD is resolved, the issue lies with your previous theme. You may need to update the theme, check for compatibility issues, or contact the theme developer for support.

Increase Memory Limit

Sometimes, the WSOD occurs due to insufficient memory allocated to PHP. To increase the memory limit, you’ll need to edit your ‘wp-config.php’ file. Access this file via FTP or your hosting control panel’s file manager. Add the following line of code before the ‘That’s all, stop editing!’ comment:

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

Save the changes and check your website. If the WSOD is resolved, it indicates that the previous memory limit was insufficient for your site’s needs. You may need to monitor your site’s memory usage and optimize it accordingly.

Enable Debugging Mode

Enabling WordPress debugging mode can provide more information about the cause of the WSOD. To do this, edit your ‘wp-config.php’ file and add or modify the following lines:

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

These settings will log errors to a ‘debug.log’ file located in the ‘wp-content’ directory. Check this log file for any errors or warnings that can help you pinpoint the issue. Once you’ve identified and resolved the problem, remember to disable debugging mode by setting ‘WP_DEBUG’ to false.

Check File Permissions

Incorrect file permissions can also lead to the WSOD. Ensure that your WordPress files and directories have the correct permissions. Typically, directories should have permissions set to 755 and files to 644. You can change these permissions via FTP or your hosting control panel’s file manager.

After adjusting the permissions, check your website to see if the WSOD is resolved. If file permissions were the issue, your site should now load correctly.

Contact Your Hosting Provider

If none of the above steps resolve the WSOD, the issue might be related to your hosting environment. Contact your hosting provider for assistance. They can check server logs, adjust server settings, and provide additional support to help resolve the issue.

By following these steps, you should be able to diagnose and fix the White Screen of Death in WordPress. Remember, it’s essential to take a systematic approach and check each potential cause one by one. This will help you identify the root of the problem and ensure your website is back up and running smoothly.

The WordPress Growth Platform

Everything you need to Manage & Grow your WordPress Business.

Join thousands of WordPress professionals.

No credit card required.

  • site manager

  • hosting

  • client crm

  • site care

  • waas Builder

  • AI Assistants

Choose Your Deal

Choose Your Deal

CORE PRO FEATURES

Control HQ goes far beyond just site management, check out what you'll get with both paid plans.

  • Connect & Manage Unlimited Sites

  • Client Manager

  • AI Assistant

  • Instant Notifications to Email

  • Google Lighthouse Analysis

  • Uptime Monitor

  • Site / Client PDF Reports

  • Atarim Integration

  • Uptime Monitor

  • Security Scans

  • Bulk Updates for Plugins, Themes & WP Core

  • Pro Plan

    $75$150
    50% Discount for 1st Year

    Up to 15 VIP Sites with additional features, and all of our Pro features for one low price.

    • 10 Sites with VIP Features*

    • Up to 3 Team Members

    • Priority Email Support

  • Agency Plan

    $375$750
    50% Discount for 1st Year

    Up to 50 VIP Sites and additional features across your HQ. the best deal for Agencies!

    • 50 Sites with VIP Features*

    • Live Chat Support

    • Instant Slack Notifications

    • Listing in our Agency Directory

    • Early Access to New Features