ArgumentCountError: Too few arguments to function Drupal\commerce_payment\PaymentOptionsBuilder::__construct()

Created on 8 August 2024, 4 months ago
Updated 12 August 2024, 3 months ago

Drupal core 10.3.1
Mail Login 4.0.2

On ../admin/commerce/config/checkout-flows ....when I try do modify the Checkout flow...

Commerce Core 8.x-2.x-dev

ArgumentCountError: Too few arguments to function Drupal\commerce_payment\PaymentOptionsBuilder::__construct(), 2 passed in ../core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 and exactly 3 expected in Drupal\commerce_payment\PaymentOptionsBuilder->__construct() (line 43 of modules/commerce/modules/payment/src/PaymentOptionsBuilder.php).

Commerce Core 8.x-2.39

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

No error with Mail Login 3.0.1

🐛 Bug report
Status

Closed: duplicate

Version

2.0

Component

Commerce

Created by

🇮🇹Italy openmode

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

Comments & Activities

Production build 0.71.5 2024