How to display only specific Error types in debug.log? No notices, warnings, etc

In short: this is the most detailed documentation on the topic (most likely..) The only source you need. Oh, and here is an amazing Php Error Level calculator to set up the php error mask binary code fast (if needed) Based on this, i made my custom error reporting: In functions.php function error_report_log_customize(){ // error_reporting(E_ALL); … Read more

There is no any line related the error but it says critical error

You could try the following wp-config.php setup – note WP writes to the file wp-content/debug.log – this config also stops any errors from being rendered to the browser. Note that setting the constant WP_DISABLE_FATAL_ERROR_HANDLER to true enables you to disabled the default WP error screen. // Disable display of errors and warnings @ini_set(‘display_errors’,0); define( ‘WP_DEBUG_LOG’, … Read more