• Resolved peppermintcom

    (@peppermintcom)


    Hello there !

    I’m encountering issues with your plugin when it comes to checkout, the message “fatal issue “appears and here is the debug message I get :

    Deprecated: Return 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 in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Util/CaseInsensitiveArray.php on line 44

    Deprecated: Return 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 in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Util/CaseInsensitiveArray.php on line 57

    Deprecated: Return type of Stripe\Util\CaseInsensitiveArray::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Util/CaseInsensitiveArray.php on line 34

    Deprecated: Return type of Stripe\Util\CaseInsensitiveArray::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Util/CaseInsensitiveArray.php on line 51

    Deprecated: Return type of Stripe\Util\CaseInsensitiveArray::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Util/CaseInsensitiveArray.php on line 24

    Deprecated: Return type of Stripe\Util\CaseInsensitiveArray::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Util/CaseInsensitiveArray.php on line 29

    Deprecated: Return type of Stripe\Util\Set::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Util/Set.php on line 40

    Deprecated: Return type of Stripe\StripeObject::offsetExists($k) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/StripeObject.php on line 202

    Deprecated: Return type of Stripe\StripeObject::offsetGet($k) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/StripeObject.php on line 212

    Deprecated: Return type of Stripe\StripeObject::offsetSet($k, $v) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/StripeObject.php on line 197

    Deprecated: Return type of Stripe\StripeObject::offsetUnset($k) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/StripeObject.php on line 207

    Deprecated: Return type of Stripe\StripeObject::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/StripeObject.php on line 218

    Deprecated: Return type of Stripe\StripeObject::jsonSerialize() should either be compatible with JsonSerializable::jsonSerialize(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/StripeObject.php on line 422

    Deprecated: Return type of Stripe\Collection::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/clients/1733d5a40fe1591ef612300602fa4e51/sites/degustas.fr/wp-content/plugins/checkout-plugins-stripe-woo/lib/stripe-php/lib/Collection.php on line 119

    Can you please tell me how to fix this issue please ?

    Thanks for your help !

    Best regards

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Aamir

    (@aamiribsf)

    Hello @peppermintcom,

    Greetings for the day!

    I wanted to inform you that the deprecation notices you’re encountering are originating from the Stripe library used in our system and are associated with PHP version. Rest assured, our development team is actively working on addressing these issues, and the necessary fixes will be included in upcoming updates.

    In the meantime, to resolve these errors, we recommend downgrading your PHP version to 8.0. If you need assistance with this process, feel free to reach out to your hosting team—they should be able to guide you through the steps.

    Thank you for your understanding. We look forward to any feedback or further questions you may have.

    Best regards,

    Plugin Support Aamir

    (@aamiribsf)

    Hello @peppermintcom,

    It’s been a while since we haven’t heard from you so we are marking this thread as resolved.

    If you faced any other issues while using our product, feel free to start a new thread.

    Best regards,

    Tamagochi

    (@supertamagochi)

    Hello @aamiribsf and team,

    I’m also experiencing the exact same deprecation notices on PHP 8.1 using version 1.10.1 of your plugin. The errors are triggered from the outdated Stripe PHP library bundled in the plugin.

    I understand from your reply above that the dev team is working on this, but it’s been over 5 months and the latest version still throws these warnings. I’m running a live store and these errors are affecting performance (memory usage and load time).

    Downgrading to PHP 8.0 is not a realistic or future-proof option. Most hosts are already upgrading to PHP 8.1 or 8.2 by default.

    Can you please prioritize updating the Stripe library or at least give us an ETA for a fix?

    Thanks in advance,

    Plugin Support Aamir

    (@aamiribsf)

    Hi @supertamagochi,

    Thanks for following up! I see that you’ve already opened a separate thread for this issue — we’ll continue the conversation there to keep everything in one place and avoid any confusion.

    Appreciate your patience and detailed feedback!

    Best regards,

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘php 8.1 errors with Stripe plugin’ is closed to new replies.