Reputation: 367
I run to a issue with one of the Wordpress site I worked on. I was having issue with event expresso plugin, so I turn web.config debug on tried to fix the issue, after I don't have any error warning on the homepage, I turn off the web debug off, then the whole content is disappeared. I can't figure out why.
Also tried this below, every time have "false" then the whole content won't display.(just a blank block, I check console, they did pull the information, but it's blank.)
// Enable WP_DEBUG mode
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
// Disable display of errors and warnings
define('WP_DEBUG_DISPLAY', false);
@ini_set('display_errors',0);
Wordpress version: version: 4.9.8 Plugin use: Event expresso + wpbakery page builder
Thanks!
Upvotes: 0
Views: 107
Reputation: 367
I find out one of my code to remove empty
tag code in function.php is cause this issue, after deleting it, it's back to normal now.
Upvotes: 0