Json syntax error when define( ‘WP_DEBUG’, false );
-
Hello,
I have a similar issue to the one described here.
If in wp-config.php there is
define( 'WP_DEBUG', true );all works fine. If I change it to false:define( 'WP_DEBUG', true );then problems appear.For example: in “theme builder” there is only the sidebar, and in the main content there is `
Error: Unexpected token '<', "<br /> <b>"... is not valid JSONinstead of normal templates.Also other functions crash with the same error that shows up in the console.log.
Using: Elementor 3.27.7, WP 6.7.2. Using Hello Elementor theme.
Troubleshooting. Disabled all the plugins (apart from Elementor), changed theme. The issue persists.
The topic ‘Json syntax error when define( ‘WP_DEBUG’, false );’ is closed to new replies.