UserPasswordForm Argument #5 TypeError

Created on 20 January 2025, 2 days ago

Problem/Motivation

TypeError: Drupal\user\Form\UserPasswordForm::__construct(): Argument #5 ($userNameValidator) must be of type Drupal\user\UserNameValidator, Drupal\Core\TypedData\TypedDataManager given, called in /home/www-data/public_html/modules/contrib/user_registrationpassword/user_registrationpassword.module on line 524 in Drupal\user\Form\UserPasswordForm->__construct() (line 71 of core/modules/user/src/Form/UserPasswordForm.php).
_user_registrationpassword_user_pass_validate()

Steps to reproduce

In a Drupal 11 project go on the Reset your password (/user/password) page and submit the form.

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇷🇸Serbia norbert-goco Subotica

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

Comments & Activities

Production build 0.71.5 2024