Call to undefined method getUsername

Created on 9 October 2020, about 4 years ago
Updated 17 September 2024, about 2 months ago

Problem/Motivation

go to https://mysite/web/admin/send-bulk-mail and get

The website encountered an unexpected error. Please try again later.
Error: Call to undefined method Drupal\user\Entity\User::getUsername() in Drupal\bulkemail\Form\MailForm->buildForm() (line 33 of modules/contrib/bulkemail/src/Form/MailForm.php).

Steps to reproduce

In Drupal 9.0.7 on OpenSUSE LEAP 15.2

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇺🇸United States tjtj

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024