Strange White Blank Screen When Logged Out of Your WP Site

Last Updated: 2 years ago by BrodNeil

Surprise to stare on a white blank screen when you’re logged out of your WP site, while everything looks fine when you’re logged in?

  1. Go to your wp-config.php.
  2. Look for the line below:
    • define( 'WP_DEBUG', false )
  3. Replace false with true.
    • define( 'WP_DEBUG', true )
  4. Add the following line:
    • error_reporting(E_ALL); ini_set('display_errors', 1);
  5. Then click save.
  6. Go and check out your WP Site; you should see the errors displayed.
    • Normally, errors are because of incompatible plugins or obsolete themes that need update.
  7. Note that this method is only good when you are using a staging environment for your WP site.  It does not look good to your site’s visitors in you do this on a LIVE site.  This is why I use SiteGround because of its easy-to-create staging feature.

Line of Code:

error_reporting(E_ALL); ini_set('display_errors', 1);
// Enable WP_DEBUG mode
define( 'WP_DEBUG', true )



I am passionate about what I do.


  • FastPixel WP Caching plugin - FastPixel offers all the latest technology on how to accelerate your website neatly packed in a 1-minute-setup plugin.
  • BrandPush - gets you featured on 200+ news sites. Go viral with massive exposure through the likes of Daily Herald, Fox40, Digital Journal, Benzinga, The Chronicle Journal, NewsMax, AP, and even through Bloomberg and MSN.
  • SimpleTraffic - drives real visitors to your website, blog, or affiliate link. Get started with 2500 free visitors on your 5 day free trial!
  • MediaServe - is a web hosting service that values free speech, providing content policies and support aligned with these values. It is also known as free speech web hosting.
  • Leaver - is a web hosting service tailored for conservatives, providing content policies and support aligned with conservative values --- conservative web hosting.
  • Pictory - Create videos QUICKLY from scripts, articles, videos, or other channels.

Discover more tools - See our recommended tools, software, and services.

While I spend over 48 hours a week on SEO and digital marketing, it's not accurate to say that I live and breathe them..

This is what I believe: "And whatsoever you do, do it heartily, for YHWH, and not for men." (Colossians 23:3)


Discover more tools - See our recommended tools, software, and services.