PHP Deprecated errors while using PHP 8.1
-
Hi,
I’m using Site Kit by Google Version 1.90.1 – and I want to upgrade to PHP 8.1. while doing so I checked WordPress error log and I see several lines regarding the Site Kit by Google plugin:
PHP Deprecated: Constant FILTER_SANITIZE_STRING is deprecated in /wp-content/plugins/google-site-kit/includes/Core/Admin/Standalone.php on line 95PHP 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
PHP Deprecated: stripos(): Passing null to parameter #1 ($haystack) of type string is deprecated in wp-content/plugins/google-site-kit/includes/Core/REST_API/REST_Routes.php on line 69
Is there any version to fix it?Regards,
Ram
- The topic ‘PHP Deprecated errors while using PHP 8.1’ is closed to new replies.