Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work
I've got the proper debugging constants defined in wp-config.php:
define('WP_DEBUG', true);
define('WP_DEBUG_DISPLAY', true);
define('WP_DEBUG_LOG', true);
But they're not doing a darn thing. When I output something to the log file from my plugin (even without testing for WP_DEBUG === true
) like this nothing happens on-screen and there's no debug.log to be found either:
error_log('test!');
I'm sure that part of the code in the plug is being executed. What gives? I'm using WP 3.6.1. Thanks.