You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started receiving this error message in my logs. I'm unsure what it means or why I'm getting it.
Any ideas?
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 202
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 212
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 197
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 207
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 218
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 424
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 44
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 57
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 34
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 51
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 24
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 29
[15-Jun-2024 11:09:46 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Collection.php on line 119
[15-Jun-2024 11:09:46 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/Set.php on line 40
[15-Jun-2024 11:09:48 Pacific/Auckland] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php:8) in /home2//payment-process/charge.php on line 107
To Reproduce
Found logs
Expected behavior
No error message?
Code snippets
No response
OS
windows
PHP version
8.2.18
Library version
7.47
API version
2020-08-07
Additional context
No response
The text was updated successfully, but these errors were encountered:
Hi @kiwis80! This was addressed in #1211 by adding the annotation described in the logs. Is it possible for you to try updating to a more recent version of our library? I believe 7.104.0 is the first version that contains this change.
Describe the bug
I've started receiving this error message in my logs. I'm unsure what it means or why I'm getting it.
Any ideas?
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 202
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 212
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 197
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 207
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 218
[15-Jun-2024 11:09:45 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php on line 424
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 44
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 57
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 34
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 51
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 24
[15-Jun-2024 11:09:45 Pacific/Auckland] PHP 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/CaseInsensitiveArray.php on line 29
[15-Jun-2024 11:09:46 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Collection.php on line 119
[15-Jun-2024 11:09:46 Pacific/Auckland] 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 /home2//payment-process/vendor/stripe/stripe-php/lib/Util/Set.php on line 40
[15-Jun-2024 11:09:48 Pacific/Auckland] PHP Warning: Cannot modify header information - headers already sent by (output started at /home2//payment-process/vendor/stripe/stripe-php/lib/StripeObject.php:8) in /home2//payment-process/charge.php on line 107
To Reproduce
Found logs
Expected behavior
No error message?
Code snippets
No response
OS
windows
PHP version
8.2.18
Library version
7.47
API version
2020-08-07
Additional context
No response
The text was updated successfully, but these errors were encountered: