Noor's Plugin

Plugins for WordPress

  • Home
  • Plugins
  • Themes
  • Contact
    • Privacy Policy
  • About

What is the White Screen of Death in WordPress?

The White Screen of Death (also known as White Death or WSoD) is an error that causes WordPress to stop working and display a white or blank screen with no information. Both PHP errors and database errors can result in the WordPress White Screen of Death.

How to Fix the White Screen of Death in WordPress

WordPress White Screen of Death

Your first step is to check for a plugin/theme compatibility issue. Deactivating all plugins and switching to a default WordPress theme (e.g. Twenty Twenty-One) should fix the WordPress white screen of death. You can then reactivate one by one to see which one was causing it.

If you are unable to access wp-admin you can try this tweaks,

  1. Connect to your website via FTP or sFTP (If you do not have this information please contact your web host).
  2. Browse to the “/wp-content/plugins/” directory. For themes it’s “/wp-content/themes/”.
  3. Rename the “plugins” folder to something like “pluginsold” or “themes” to “themesold”.

This will automatically deactivate all of your plugins or themes. If the white screen of death was caused by a faulty plugin or theme, you should now be able to access wp-admin. You can then rename the folder back to “plugins” or “themes” and reactivate one by one to find the conflicting plugin/theme.

If this error occurs after reactivating a particular plugin/theme you do not need to rename the whole “plugins” or “themes” folder. You can simply rename the faulty plugin/theme.

Increasing the PHP Memory Limit

Running out of PHP Memory can cause the white screen of death in WordPress. You can contact your web host to increase the PHP Memory available on the server. This allows your site to run more memory-intensive scripts and reduces the likelihood of hitting the memory limit.

If you already have a good memory limit of 128M or 256M, you can ask your host to identify the script that is using up too much resources. You can then choose contact the plugin/theme author to fix it or find an alternative.

Enabling Debugging in WordPress

There is a “WP_DEBUG” PHP constant that can be used to enable debugging in WordPress. You can find it in the “wp-config.php” file in the root directory of WordPress. By default WP_DEBUG is set to false.

define( 'WP_DEBUG', false );

Setting WP_DEBUG to true will cause all PHP errors, notices and warnings to be displayed.

define( 'WP_DEBUG', true );

This will help you troubleshoot the issue as PHP by default only displays fatal errors or a white screen of death when an error occurs. Make sure to keep a backup of the “wp-config.php” file before making any changes to it.

Share this:

  • Twitter
  • Facebook
  • Pinterest

Related

Written by Noor Alam · Categorized: wordpress

Comments

  1. Anthony Ferrara says

    A few days ago I have faced this WSoD problem and it was like a nightmare for me as I’m a beginner user of WordPress and I never face this kind of situation. Then I was starting searching and I found your post and It was really very much helpful for me to solve the problem. Thanks a lot for your post.

    Reply
    • Noor Alam says

      @Anthony, Glad it helped 🙂

      Reply

Leave a Reply to Anthony Ferrara Cancel reply

Your email address will not be published. Required fields are marked *

Search Noor’s Plugin

Recent Posts

  • Customization for WP SEO WordPress Plugin
  • 7 Ways to Permanently Stop Spam Emails on Gmail
  • Is Blogging Still Worth It? The Pros and Cons of Blogging Right Now
  • How to Check if a Plugin is Safe to Install on Your WordPress Site
  • Does Stripe Accept PayPal?
  • How to Customize the Type of the Stripe Payment Page Button
  • How to Add a Quantity Field to a Stripe Payment Button
  • How to Add a Price Field to a PayPal Button
  • Hide Product Image for WooCommerce Plugin
  • How to Show a Download Button to Logged in Users Only

Copyright © 2022 · Noor's Plugin

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAcceptRead More
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these cookies, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may have an effect on your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT