I have an error related to users without an email address. - Passing null to parameter #3 ($subject) of type array|string is deprecated.

It's related to $username = preg_replace('/@.*$/', '', $mail); line.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

astonvictor created an issue. See original summary.

astonvictor’s picture

Status: Active » Needs review

provided a simple MR to validate the value.

astonvictor’s picture

jonathanshaw’s picture

Status: Needs review » Reviewed & tested by the community

This makes sense. It follows the logic of the related issue, applying it to a related problem.