Depreciated PHP errors in PHP 8.1
-
Hi, we are getting 14 PHP depreciated PHP errors in all wp-admin pages in PHP 8.1. These errors were not there in PHP 7.4.x
DeprecatedReturn type of Stripe\Util\CaseInsensitiveArray::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice+
- wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Util/CaseInsensitiveArray.php:44
1Plugin: checkout-plugins-stripe-wooDeprecatedReturn type of Stripe\Util\CaseInsensitiveArray::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice+
- wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Util/CaseInsensitiveArray.php:57
- The topic ‘Depreciated PHP errors in PHP 8.1’ is closed to new replies.