You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are tons (3.42 MB per request) of annoying PHP notices and warnings when WP_DEBUG is enabled. Please see attached screenshot.
How to replicate?
PHP version 8.2
Wordpress version 6.3
Query Monitor version 3.13.1
Enable WP_DEBUG and WP_DEBUG_LOG in wp-config.php
See debug.log files under wp-content directory
A Fix?
It can be fixed easily by replacing line 34 with following $this->data = array_merge((array)$this->data, array('stats' => [$component => ['size' => 0, 'number_of_files' => 0, 'opcache_size' => 0]]));
Line 36 to 48 can be removed since above will declare it one go.
The text was updated successfully, but these errors were encountered:
There are tons (3.42 MB per request) of annoying PHP notices and warnings when WP_DEBUG is enabled. Please see attached screenshot.
How to replicate?
A Fix?
$this->data = array_merge((array)$this->data, array('stats' => [$component => ['size' => 0, 'number_of_files' => 0, 'opcache_size' => 0]]));
The text was updated successfully, but these errors were encountered: