Query Monitor shows PHP errors
-
On a WP 6.x site and PHP 8.x, all plugins updated, the Query Monitor plugin shows a error relating to the Akisment code on the main Admin Dashboard:
foreach() argument must be of type array|object, null given
- wp-content/plugins/akismet/class.akismet-admin.php:560
Akismet_Admin::comment_row_action()
wp-includes/class-wp-hook.php:310apply_filters('comment_row_actions')
wp-admin/includes/dashboard.php:808_wp_dashboard_recent_comments_row()
wp-admin/includes/dashboard.php:1114wp_dashboard_recent_comments()
wp-admin/includes/dashboard.php:952wp_dashboard_site_activity()
wp-admin/includes/template.php:1443do_meta_boxes()
wp-admin/includes/dashboard.php:271wp_dashboard()
wp-admin/index.php:203
This error is found on any site running Akismet and the Query Monitor tool, and only on the main Admin Dashboard screen.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Query Monitor shows PHP errors’ is closed to new replies.