WP_DEBUG should not be enabled by the plugin
-
This plugin causes errors if
WP_DEBUGorWP_DEBUG_LOGis added inwp-config.php(which is where these sort of constants should be defined, only when needed).Lines 32-33 in
localizejs.phpshould be removed, or at least replaced with something like:if ( ! defined('WP_DEBUG' ) ) { define( 'WP_DEBUG', true ); } if ( ! defined('WP_DEBUG_LOG' ) ) { define( 'WP_DEBUG_LOG', true ); }Although, personally I don’t think any plugin should be forcing
WP_DEBUGto be enabled.
The topic ‘WP_DEBUG should not be enabled by the plugin’ is closed to new replies.