2.10 version fatal error

Created on 27 August 2024, 3 months ago
Updated 11 September 2024, 2 months ago

Problem/Motivation

page /admin/commerce/config/payment-gateways raise an error:
Error: Call to a member function getLabel() on null in Drupal\commerce_payment\PaymentGatewayListBuilder->buildRow() (line 43 of modules/contrib/commerce/modules/payment/src/PaymentGatewayListBuilder.php).
page /admin/commerce/orders/ORDER_NUMBER
Error: Call to a member function getDisplayLabel() on null in commerce_payment_preprocess_commerce_order() (line 177 of modules/contrib/commerce/modules/payment/commerce_payment.module).

Steps to reproduce

update to the 2.10. and visit the pages where PaymentGateway plugin is loaded.

Proposed resolution

🐛 Bug report
Status

Fixed

Version

2.10

Component

Code

Created by

🇺🇦Ukraine andriic

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

Comments & Activities

Production build 0.71.5 2024