Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated

Created on 21 September 2023, about 1 year ago
Updated 22 September 2023, about 1 year ago

Problem/Motivation

Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in simple_recaptcha_form_alter() (line 24 of modules/contrib/simple_recaptcha/simple_recaptcha.module).

Proposed resolution

$form_ids = explode(',', $config->get('form_ids') ?? '');

🐛 Bug report
Status

Needs review

Component

Code

Created by

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

Comments & Activities

Production build 0.71.5 2024