PHP deprecation

Created on 30 May 2023, over 1 year ago
Updated 6 June 2023, over 1 year ago

Problem/Motivation

PHP deprecation
Passing null to parameter #2 ($string) of type string is deprecated in simple_recaptcha_form_alter() (line 24

Steps to reproduce

Add simple recaptcha to a site without adding any form ids in the configuration settings. Visit a form, and check the db log.

Proposed resolution

If $config->get('form_ids') is empty, return before exploding.

🐛 Bug report
Status

Needs review

Component

Code

Created by

🇺🇸United States awolfey

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

Comments & Activities

Production build 0.71.5 2024