TypeError: array_key_exists(): Argument #2 ($array) must be of type array

Created on 25 March 2023, over 1 year ago
Updated 12 April 2023, over 1 year ago

Problem/Motivation

When clicking the sync plans from stripe in admin/config/services/stripe_api getting
Error: The website encountered an unexpected error. Please try again later.
TypeError: array_key_exists(): Argument #2 ($array) must be of type array, Stripe\Util\CaseInsensitiveArray given in array_key_exists() (line 402 of /var/www/vhosts/demo.writtenin.co.uk/httpdocs/production/vendor/stripe/stripe-php/lib/ApiRequestor.php).

Steps to reproduce

Intalled on drupal 9.5 Stripe api and Stripe Registration configured Stripe Api with the keys

🐛 Bug report
Status

RTBC

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom vitaliych

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024