I'm using Commerce 3.4.16, Craft 3.7.51.
I'm able to enter an address as part of checkout, and I can see that address in the CP, but when I go to the edit address screen on the front end, I get this error:
Calling unknown method: craft\elements\MatrixBlock::firstName()
...
in .../templates/shop/_private/address/form.twig
The relevant code is:
{{ input('text', modelName ~ '[firstName]', model ? model.firstName : '', {
id: modelName ~ '-firstName',
class: ''
}) }}
I get the error in my custom template, and also when using the default templates.
If I take everything else out of the template, both {{ model }} and {{ modelName }} are defined, so I'm not sure what's going on.