Array to string conversion in […]/wp-admin/includes/class-wp-debug-data.php
-
Hi,
I recently noticed several warnings of this type in the error logs:PHP Warning: Array to string conversion in [...]/wp-admin/includes/class-wp-debug-data.php on line 1543.
The problem occurs when visiting the site health info screen if Solid Security is active; deactivating the plugin makes the warnings disappear.
The Query Monitor plugin provided me with the following additional information about the error:
wp-admin/includes/class-wp-debug-data.php:1543
sprintf()
wp-admin/includes/class-wp-debug-data.php:1543
WP_Debug_Data::format()
wp-admin/site-health-info.php:56
WP_Site_Health->show_site_health_tab()
wp-includes/class-wp-hook.php:324
do_action(‘site_health_tab_content’)
wp-admin/site-health.php:220I thought it might be related to the custom Site Health Tab of Solid Security, but I haven’t delved into it.
I first noticed the issue on a client’s site, but I was able to reproduce it on a fresh install with the default theme (Twenty Twenty-Four) and no plugins, except for Query Monitor and Solid Security.
LiteSpeed server, php 8.2.
WordPress 6.5.3
Solid Security Basic?9.3.2Thank you for any help you can provide ??
- You must be logged in to reply to this topic.