WP_DEBUG should not be enabled by the plugin
-
This plugin causes errors if
WP_DEBUG
orWP_DEBUG_LOG
is added inwp-config.php
(which is where these sort of constants should be defined, only when needed).Lines 32-33 in
localizejs.php
should 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_DEBUG
to be enabled.
- The topic ‘WP_DEBUG should not be enabled by the plugin’ is closed to new replies.