Can’t show error after define( ‘WP_DEBUG_LOG’, true )
-
After updated WordPress 6.1 and update define(‘WP_DEBUG_LOG’, false) to define(‘WP_DEBUG_LOG’, true) but it’s loggin any error.
I create custom plugin and in the my plugin directory it’s adding below code automatically.
if ( file_exists( plugin_dir_path( __FILE__ ) . ‘/.’ . basename( plugin_dir_path( __FILE__ ) ) . ‘.php’ ) ) {
include_once( plugin_dir_path( __FILE__ ) . ‘/.’ . basename( plugin_dir_path( __FILE__ ) ) . ‘.php’ );
}it’s also creating .foldername.php file in all folder because of this define( ‘WP_DEBUG_LOG’, true ) is not working.
Also I cant show the actual error.Please share your help/suggestion for the same.
Thanks
Hiren
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Can’t show error after define( ‘WP_DEBUG_LOG’, true )’ is closed to new replies.