Error: Call to a member function getFormModeOptions() on null

Created on 11 September 2024, 3 months ago
Updated 14 November 2024, about 1 month ago

Describe your bug or feature request.

Login.php throws exception while editing the default checkout pane.
Error: Call to a member function getFormModeOptions() on null in Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\Login->buildConfigurationForm() (line 144 of /code/web/modules/contrib/commerce/modules/checkout/src/Plugin/Commerce/CheckoutPane/Login.php).

If a bug, provide steps to reproduce it from a clean install.

After updating commerce to 3.0.alpha version. then the system throws this exception. The dev version also throws the error.

🐛 Bug report
Status

Active

Version

3.0

Component

Checkout

Created by

🇵🇰Pakistan Qaiser iqbal

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

Comments & Activities

Production build 0.71.5 2024