WordPress / health-check

Health Check is a WordPress plugin that will perform a number of checks on your WordPress install to detect common configuration errors and known issues.
GNU General Public License v2.0
174 stars 51 forks source link

PHP Warning: Array to string conversion #413

Closed darkvovich closed 1 year ago

darkvovich commented 3 years ago

Feature request/bug description

In my wp_debug error log i see this errors: [07-Jul-2021 11:14:54 UTC] PHP Warning: Array to string conversion in /public_html/wp-content/plugins/health-check/includes/class-health-check-debug-data.php on line 1172 [07-Jul-2021 11:14:54 UTC] PHP Warning: Array to string conversion in /public_html/wp-includes/formatting.php on line 1098

PHP 8, WordPress 5.7.2, latest plugin

KoolPal commented 3 years ago

Chiming in, hope it helps

[10-Aug-2021 18:53:09 UTC] PHP Notice: Array to string conversion in [path]\wp-content\plugins\health-check\includes\class-health-check-site-status.php on line 2014 [10-Aug-2021 18:54:13 UTC] PHP Notice: Array to string conversion in [path]\wp-content\plugins\health-check\includes\class-health-check-debug-data.php on line 1172 [10-Aug-2021 18:54:13 UTC] PHP Notice: Array to string conversion in [path]\wp-includes\formatting.php on line 1098 [10-Aug-2021 18:55:25 UTC] PHP Notice: Trying to get property 'phpcs_phpcompatibility' of non-object in [path]\wp-content\plugins\health-check\includes\tools\class-health-check-plugin-compatibility.php on line 121

WP: 5.8 PHP: 7.3.24 Plugin: 1.4.5

Clorith commented 1 year ago

The Site Health checks and debug information have been taken out of the Health Check plugin as of version 1.5.0 (with some backwards compatible layers for sites running WordPress versions earlier than 5.2), and any new issues relating to these areas should be opened in the WordPress core trac.