Hi @leo26mi,
Thanks for getting in touch. If using PHP 8.1 depreciation notices are not uncommon, with this version still in Beta support for the latest WordPress releases. Such notices are not specific to Site Kit, with more details on WordPress support for PHP versions below:
https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/
Note also that we’re aware of this and they can be disregarded, with warnings expected until PHP 8.1 is fully supported in WordPress. They also don’t impact Site Kit set up or functionality. If you find otherwise let me know and we can investigate this further.
Let me know if you have any further queries on this.`
@jamesosborne Hi
Thank you for the explanation,
We already updated the site to run in PHP 8.1, and so far we didn’t notice any problems yet.
We will reach you later once we get the problem(s)
Thank you!
Thanks for the update! And yes, do indeed reach out if you encounter any problems! Thank you.
Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/******/public_html/wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php on line 69
Query Monitor
This depracation notification seems to affect site layout on mobile devices in particular. Yes, running PHP 8.1.
-
This reply was modified 3 years, 2 months ago by
n10s.
-
This reply was modified 3 years, 2 months ago by
n10s.
Hi @n10s,
Such depreciate notices are normal when using PHP 8.1, with WordPress core support for PHP 8.1 still in Beta mode, as per the below:
https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/