Subscriber::loadByMail(): Argument #1 ($mail) must be of type string, null given

Created on 17 November 2023, about 1 year ago
Updated 24 January 2024, 11 months ago

Problem/Motivation

Full error:

ype error: Drupal\simplenews\Entity\Subscriber::loadByMail(): Argument #1 ($mail) must be of type string, null given, called in simplenews.module on line 454

Happens when saving a user without email.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Closed: duplicate

Version

4.0

Component

Code

Created by

🇨🇭Switzerland berdir Switzerland

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

Comments & Activities

Production build 0.71.5 2024