Title: PHP 8.1 Deprecated
Last modified: November 24, 2022

---

# PHP 8.1 Deprecated

 *  Resolved [leo26mi](https://wordpress.org/support/users/leo26mi/)
 * (@leo26mi)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-7/)
 * WordPress 6.1.1
    Site Kit by Google 1.85.0
 * Thrown in
 * `PHP Deprecated: filter_input(): Passing null to parameter #4 ($options) of type
   array|int is deprecated in /wp-content/plugins/google-site-kit/includes/Core/
   Util/Input.php on line 64`

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-7/#post-16230317)
 * Hi [@leo26mi](https://wordpress.org/support/users/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/](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.`
 *  Thread Starter [leo26mi](https://wordpress.org/support/users/leo26mi/)
 * (@leo26mi)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-7/#post-16242679)
 * [@jamesosborne](https://wordpress.org/support/users/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!
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-7/#post-16244161)
 * Thanks for the update! And yes, do indeed reach out if you encounter any problems!
   Thank you.
 *  [n10s](https://wordpress.org/support/users/n10s/)
 * (@n10s)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-7/#post-16472617)
 * **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](https://wordpress.org/support/users/n10s/).
    -  This reply was modified 3 years, 2 months ago by [n10s](https://wordpress.org/support/users/n10s/).
 *  Plugin Support [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * (@jamesosborne)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-7/#post-16472874)
 * Hi [@n10s](https://wordpress.org/support/users/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/](https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/)

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP 8.1 Deprecated’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [James Osborne](https://wordpress.org/support/users/jamesosborne/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/php-8-1-deprecated-7/#post-16472874)
 * Status: resolved