PHP 8.1 - Passing null to parameter #3 ($strict) of type bool is deprecated

Created on 14 August 2023, over 1 year ago
Updated 9 November 2023, about 1 year ago

Checking out an order on a site with PHP 8, causes an error in the commerce_stripe_pi_form_alter function:

Deprecated function: array_search(): Passing null to parameter #3 ($strict) of type bool is deprecated in commerce_stripe_pi_form_alter() (line 921 of /sites/all/modules/commerce_stripe_pi/commerce_stripe_pi.module).

πŸ› Bug report
Status

RTBC

Component

Code

Created by

πŸ‡ΈπŸ‡°Slovakia sano

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

Comments & Activities

Production build 0.71.5 2024