1.x brnach incompatible with commerce v3 since the Login Pane constructor is different

Created on 1 May 2025, 5 months ago

Problem/Motivation

Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\Login constructor signature has been modified in Commerce 3.

That leads to the following fatal error: Error: Call to a member function isAnonymous() on null in Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\Login->isVisible() (line 173 of modules/contrib/commerce/modules/checkout/src/Plugin/Commerce/CheckoutPane/Login.php).

Steps to reproduce

  • Install Email Registration 1.4 & Commerce 3
  • Add the email registration checkout pane
  • Go to checkout
  • Fatal error is thrown

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Active

Version

1.0

Component

Code

Created by

πŸ‡ͺπŸ‡ΈSpain plopesc Valladolid

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