Reputation: 1501
My Current configuration is
define( 'WP_DEBUG', TRUE) ;
define( 'WP_DEBUG_DISPLAY', TRUE );
define( 'WP_DEBUG_LOG', TRUE );
php errors are showing without any problem but wordpress errors like deprecated function calls are not showing. But debug logging to file works, wordpress errors are logging to file in wp-content. I tried somewhat all solutions but not working. I am adding the links of solutions I tried. The funny thing is this is not working in Local Server (WAMP), but working perfectly in Live Server. I referred these links and tried but didn't worked for me. 1. define('WP_DEBUG', true); not show errors 2. Debug logs at wordpress not working 3. Wordpress Debugging does not work
Upvotes: 2
Views: 6492
Reputation: 1501
I Found the actual problem that doesn't show debug errors is because of using Query Monitor plugin. Also Debug bar plugin too disable default wordpress debug errors. Just Deactivated this plugin and debug errors are displaying now.
Cheers!
Upvotes: 2