Hi there @bhaveshkhadodara,
Thanks for reporting this. I’ll check this with the team and report back to you here.
Can you please make this plugin PHP version 8.0 compatible?
Site Kit is compatible with PHP 8. Should you encounter this warning it shouldn’t impact Site Kit operations. I’ve checked for the mentioned resource and I don’t see it in the Site Kit codebase. It’s therefore possible that this is coming from the Analytics API or the Site Kit service, and not within the plugin directly.
I’ll report back to you here as soon as I have an update. Thank you!
Hi @bhaveshkhadodara,
I’ve spoken to the team on this, and the resource you highlighted is coming from a Google Client services API, which is used in Site Kit. While I suspect future versions of this API will address any warnings with future versions of PHP8, we will perform some additional testing to ensure all does work as expected.
I’m also happy to recreate the same warning, and do some testing myself. Can you confirm the exact PHP version you’re using? (ie. 8.1.0). Note also that as WordPress features only Beta compatibility with PHP 8 and above, it’s not uncommon for errors or warnings to be triggered, which are not necessarily coming from the plugins references. You’ll find more on WordPress compatibility with PHP 8 below:
https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/
As we didn’t receive a response I’ll mark this as resolved. Feel free to open a new support topic if you continue to encounter issues, or reopen this topic and we’d be happy to assist.