Not working with PHP 8.1
-
Unfortunately, I found that the plugin does not work with PHP 8.1, but produces numerous error messages in the log-files, such as the following. I had to reset to PHP 8.0!
PHP Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /home/.sites/108/site429/web/xxx/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
PHP Deprecated: Return type of Google\\Site_Kit_Dependencies\\Google\\Collection::valid() should either be compatible with Iterator::valid(): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/.sites/108/site429/web/xxx//wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Collection.php on line 36
PHP Deprecated: Return type of Google\\Site_Kit_Dependencies\\Google\\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/.sites/57/site286/web/xxx/wp-content/plugins/google-site-kit/third-party/google/apiclient/src/Model.php on line 240
PHP Deprecated: filter_input(): Passing null to parameter #4 ($options) of type array|int is deprecated in /home/.sites/705/site926/web/xxx/wp-content/plugins/google-site-kit/includes/Core/Util/Input.php on line 64
- The topic ‘Not working with PHP 8.1’ is closed to new replies.