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

Created on 15 January 2021, almost 4 years ago
Updated 12 July 2024, 5 months ago

I'm not sure why my form pane structure is different. It's maybe because I have 8.9.12 and commerce 2.23.

The reason I have this error is I have a different form pane structure. I have:

$pane_form['add_payment_method']['billing_information']['#inline_form']

Instead of:

$pane_form['billing_information']['#inline_form']

Also, when my payment information is saved to the vault and I don't have to fill in the billing information again, this form doesn't exist so I get this error again.

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine lobodacyril

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024