AuthDecorator must implement both the old UserAuthInterface and the new UserAuthenticationInterface

Created on 28 July 2024, 4 months ago
Updated 23 August 2024, 3 months ago

Drupal 10.3.1 Commerce checkout fails right after cart page with error message:

TypeError: Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\CompletionRegister::__construct(): Argument #11 ($user_auth) must be of type Drupal\user\UserAuthInterface, Drupal\mail_login\AuthDecorator given, called in /modules/contrib/commerce/modules/checkout/src/Plugin/Commerce/CheckoutPane/CompletionRegister.php on line 139 in function Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\CompletionRegister->__construct() (line 118 in file /modules/contrib/commerce/modules/checkout/src/Plugin/Commerce/CheckoutPane/CompletionRegister.php).

Uninstalling Mail Login module resolves the issue and the login page is displayed.

πŸ› Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024