Drupal 9 TypeError in UserEmailChangeCancelForm

Created on 25 October 2021, about 3 years ago
Updated 10 September 2023, over 1 year ago

Problem/Motivation

Passing the entity.manager service to ContentEntityForm::__construct() is deprecated in Drupal 8.6.0 and will be removed before Drupal 9.0.0. Pass the entity.repository service instead. See https://www.drupal.org/node/2549139 (see public function ContentEntityForm::__construct 8.9.x

TypeError: Argument 1 passed to Drupal\Core\Entity\ContentEntityForm::__construct() must implement interface Drupal\Core\Entity\EntityRepositoryInterface, instance of Drupal\Core\Entity\EntityTypeManager given
🐛 Bug report
Status

Closed: duplicate

Version

1.0

Component

Code

Created by

🇦🇹Austria attisan Vienna

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