• Resolved asoutiyal

    (@asoutiyal)


    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

    (@bhshravankumar)

    Hello @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.