Problem/Motivation
Running Upgrade Status on Drupal 11, I see
web/modules/composer/email_registration/src/Controller/UserHttpAuthenticationController.php 51 Call to deprecated method userIsBlocked() of class Drupal\user\Controller\UserAuthenticationController. Deprecated in drupal:10.3.0 and is removed from drupal:12.0.0. There is no replacement.
web/modules/composer/email_registration/src/Plugin/Commerce/CheckoutPane/EmailRegistrationLogin.php 120 Call to deprecated function user_is_blocked(). Deprecated in drupal:11.0.0 and is removed from drupal:12.0.0. Use Drupal\user\UserInterface::isBlocked() instead.
Proposed resolution
See if we can use UserInterface::isBlocked() instead, as suggested.
Remaining tasks
Assigning this to myself to make an MR.
Issue fork email_registration-3590761
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
Comment #3
benstallings commentedComment #4
anybodySimilar issue: #3616135: user_load_by_mail() is deprecated
Comment #5
anybodyThank you @benstallings!!
Comment #6
anybody