PHP Warnings in Index WP MySQL For Speed when viewing the ‘About’ tab
-
Hello,
I’m encountering several PHP notices and warnings from the
Index WP MySQL For Speed
plugin when I click on the “About” tab in the plugin’s settings. Query Monitor flags these errors, and my error log shows lines like:[06-Mar-2025 18:10:29 UTC] PHP Warning: Undefined property: stdClass::$cpu_MHz in /home/.../wp-content/plugins/index-wp-mysql-for-speed/code/health.php on line 226
[06-Mar-2025 18:10:29 UTC] PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated in /home/.../wp-content/plugins/index-wp-mysql-for-speed/code/health.php on line 227
[06-Mar-2025 18:10:29 UTC] PHP Warning: Undefined property: stdClass::$model_name in /home/.../wp-content/plugins/index-wp-mysql-for-speed/code/health.php on line 248
[06-Mar-2025 18:10:29 UTC] PHP Warning: Undefined property: stdClass::$MemTotal in /home/.../wp-content/plugins/index-wp-mysql-for-speed/code/health.php on line 260It appears the plugin tries to read certain properties (
cpu_MHz
,model_name
,MemTotal
) that may not exist in some server environments, causing these warnings. Also, passingnull
toexplode()
triggers a deprecation notice in PHP 8.1+.I wanted to report this so the developers can take a look and ensure compatibility with different server setups. Let me know if you need any further details or logs. Thank you!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.