Reputation: 118
I am creating a WordPress theme in the localhost. I do not know why I see a white screen when I logout from the dashboard.
If I login again into the dashboard I can visit the site again. Everything is working good.
Note: If I change the theme, the issue is gone by then.
Upvotes: 0
Views: 622
Reputation: 169
There might be some Error in the new theme you are creating.
You can go to Wordpress root directory "wp-config.php" file and add a line
define( 'WP_DEBUG', true )
That will display you the error instead of the white screen.
Upvotes: 2
Reputation: 595
define( 'WP_DEBUG', false ) can add this in wp-config to check
Upvotes: -1