Anonymous account generates deprecation warning

Created on 11 February 2025, about 2 months ago

Problem/Motivation

Deprecated function: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in email_registration_strip_mail_and_cleanup() (line 160 of modules/contrib/email_registration/email_registration.module).

Proposed resolution

Check if the account if anonymous, and if so, don't change the name in the email_registration_username sub-module.

Remaining tasks

Review patch and apply.

🐛 Bug report
Status

Needs review

Version

2.0

Component

Code

Created by

🇬🇧United Kingdom Dubs

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024