0
votes

Front-end of WordPress doesn't work - shows a white box with no text, just body tags. I'm using XAMPP, local development. When logged in everything works. I don't know if it will be the same on a live server, haven't tried yet, but seems like a weirdly persistent issue.

It was working fine, until 5.1 updates, but I mostly was logged in during development, so cannot pinpoint the exact time when it started.

I have the WordPress reinstalled from the dashboard, the theme doesn't affect it - it has the same issue on WordPress standard themes. Plugins/no plugins - doesn't affect it either. Cleaned cache multiple times (wp, browser). My last resort would be to reinstall Wordpress completely in Xampp, but thought, maybe such drastic measure isn't required. It is the same in every browser.

The has nothing in it, literally.

If anyone knows, what could be the issue? It doesn't show any errors.

1
Turn on error reporting and Debug in your wp config file. And or check the error log file.ArtisticPhoenix
I have debug set to true, also added define( 'WP_DEBUG_LOG', true );. It didn't even generate the log fileAlexandra Batrak
You can rename the plugin folder, that will turn off all the plugins, if it loads the page then add the plugins back in one at a time, tell you find the bad one.ArtisticPhoenix
It doesn't load it if logged off the admin and plugins folder renamed. I also created another user with Editor rights - same issue. Only works if logged in as adminAlexandra Batrak

1 Answers

0
votes

There might be an error in your browser's console window. If there is any error then it might causes issue for loading stylesheets.