Replies: 3
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 260
It 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, passing null
to explode()
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!