Title: PHP Deprecated Errors with Stripe
Last modified: May 25, 2024

---

# PHP Deprecated Errors with Stripe

 *  Resolved [alphasquared](https://wordpress.org/support/users/alphasquared/)
 * (@alphasquared)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-deprecated-errors-with-stripe/)
 * Just letting you know that there have been lots of PHP Deprecated errors in various
   file locations. You should adjust your functions to reflect the latest PHP standards,
   as they might not be supported in future PHP versions.
 * PHP 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 /var/www/wptbox/wp-content/plugins/armember/lib/Stripe/vendor/stripe/stripe-
   php/lib/StripeObject.php on line 202
 * 
   PHP 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 /var/www/wptbox/
   wp-content/plugins/armember/lib/Stripe/vendor/stripe/stripe-php/lib/StripeObject.
   php on line 212
 * 
   PHP 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 /var/www/wptbox/wp-content/plugins/armember/lib/Stripe/
   vendor/stripe/stripe-php/lib/StripeObject.php on line 197
 * 
   PHP 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 /var/www/wptbox/
   wp-content/plugins/armember/lib/Stripe/vendor/stripe/stripe-php/lib/StripeObject.
   php on line 207
 * 
   PHP 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 /var/www/wptbox/wp-content/
   plugins/armember/lib/Stripe/vendor/stripe/stripe-php/lib/StripeObject.php on 
   line 218
 * 
   PHP 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 /var/www/wptbox/
   wp-content/plugins/armember/lib/Stripe/vendor/stripe/stripe-php/lib/StripeObject.
   php on line 424
 * 
   PHP 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 /var/www/wptbox/
   wp-content/plugins/armember/lib/Stripe/vendor/stripe/stripe-php/lib/Collection.
   php on line 119
 * 
   PHP 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 /var/www/wptbox/
   wp-content/plugins/armember/lib/Stripe/vendor/stripe/stripe-php/lib/Util/Set.
   php on line 40
 * 
   PHP Deprecated: utf8_encode(): Passing null to parameter #1 ($string) of type
   string is deprecated in /var/www/wptbox/wp-content/plugins/armember/core/classes/
   class.arm_payment_gateways.php on line 305
    -  This topic was modified 1 year, 11 months ago by [alphasquared](https://wordpress.org/support/users/alphasquared/).

Viewing 1 replies (of 1 total)

 *  Plugin Support [dimplemodi](https://wordpress.org/support/users/dimplemodi/)
 * (@dimplemodi)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/php-deprecated-errors-with-stripe/#post-17783620)
 * Hello,
 * I have checked the provided notice warning and the stripe payment gateway is 
   available in the ARMember pro plugin so please note that this forum is for only
   the ARMember lite plugin. Due to forum limitations, I won’t be able to assist
   from here. 
 * Kindly open support ticket for ARMember pro plugin and after that, you will be
   assisted from there.
 * Thanks

Viewing 1 replies (of 1 total)

The topic ‘PHP Deprecated Errors with Stripe’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/armember-membership_1a2538.svg)
 * [ARMember - Membership Plugin, Content Restriction, Member Levels, User Profile & User signup](https://wordpress.org/plugins/armember-membership/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/armember-membership/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/armember-membership/)
 * [Active Topics](https://wordpress.org/support/plugin/armember-membership/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/armember-membership/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/armember-membership/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)

 * 1 reply
 * 2 participants
 * Last reply from: [dimplemodi](https://wordpress.org/support/users/dimplemodi/)
 * Last activity: [1 year, 11 months ago](https://wordpress.org/support/topic/php-deprecated-errors-with-stripe/#post-17783620)
 * Status: resolved