• Hi,

    I’m testing PHP 8.1.13 on my development server and I’m getting some deprecated notices from your plug-in:

    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/Util/CaseInsensitiveArray.php:44
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/Util/CaseInsensitiveArray.php:57
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/Util/CaseInsensitiveArray.php:34
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/Util/CaseInsensitiveArray.php:51
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/Util/CaseInsensitiveArray.php:24
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/Util/CaseInsensitiveArray.php:29
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/Util/Set.php:40
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/StripeObject.php:202
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/StripeObject.php:212
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/StripeObject.php:197
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/StripeObject.php:207
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/StripeObject.php:218
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/StripeObject.php:424
    Plugin: leaky-paywall
    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	+
    wp-content/plugins/leaky-paywall/include/stripe/lib/Collection.php:119
    Plugin: leaky-paywall

    It doesn’t stop the plug-in from working, but is it possible to fix this? Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP 8.1.13 Deprecated Notices’ is closed to new replies.