Title: Depreciated PHP errors in PHP 8.1
Last modified: June 28, 2024

---

# Depreciated PHP errors in PHP 8.1

 *  Resolved [asoutiyal](https://wordpress.org/support/users/asoutiyal/)
 * (@asoutiyal)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/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+
    1. 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+
    1. wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Util/CaseInsensitiveArray.
       php:57

Viewing 1 replies (of 1 total)

 *  Plugin Support [Sravan Bhaskaravajjula](https://wordpress.org/support/users/bhshravankumar/)
 * (@bhshravankumar)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/depreciated-php-errors-in-php-8-1/#post-17859650)
 * Hello [@asoutiyal](https://wordpress.org/support/users/asoutiyal/),
 * We will check this further and share this scenario with our internal team based
   on our findings.
 * Thanks for sharing your findings with us.

Viewing 1 replies (of 1 total)

The topic ‘Depreciated PHP errors in PHP 8.1’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/checkout-plugins-stripe-woo_8080e9.
   svg)
 * [Stripe Payments For WooCommerce by Checkout Plugins](https://wordpress.org/plugins/checkout-plugins-stripe-woo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/checkout-plugins-stripe-woo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/checkout-plugins-stripe-woo/)
 * [Active Topics](https://wordpress.org/support/plugin/checkout-plugins-stripe-woo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/checkout-plugins-stripe-woo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/checkout-plugins-stripe-woo/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sravan Bhaskaravajjula](https://wordpress.org/support/users/bhshravankumar/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/depreciated-php-errors-in-php-8-1/#post-17859650)
 * Status: resolved