PHP 8+ support: Deprecation in Kinsta MU Plugins

After upgrading to PHP 8.1, the WP_DEBUG_DISPLAY shows a deprecation warning for Kinsta MU Plugins. The warning is as follows:

Deprecated : Optional parameter $info declared before required parameter $options is implicitly treated as a required parameter in C:\xampp\htdocs\my-site\wp-content\mu-plugins\kinsta-mu-plugins\shared\class-shared.php on line 148

With the rollout/requirement to use PHP 8 in the near future, I wanted to clarify that this deprecation is either currently being looked into, or will have no adverse effects and can be ignored for the time being.

Thank you and have a great year!

Hey @Ryan, welcome to the DevKinsta community!
We are aware of that deprecation warning (from what we’ve seen it’s there only when PHP 8.1 is in use but is not there for PHP 8.0), and it should be gone for the next release of our MU plugin :+1:
Thank you very much for reporting this though, these kind of reports helps us make our products better and better!

Regards,

Alessandro

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.