New answers tagged


you can go into Store >> Configuration >> Customers >> Customer Configuration >> Address Templates >> HTML. It is formatted address template you can adjust like below: {{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}{{depend firstname}...


create Model app/code/VendoreName/ModuleName/Model CustomerAddress.php <?php namespace VendoreName\ModuleName\Model; use Magento\Framework\Model\AbstractModel; use VendoreName\ModuleName\Model\ResourceModel\CustomerAddress as CustomerAddressResourceModel; class CustomerAddress extends AbstractModel { protected function _construct() { ...


Once your forgot this line we got same error. $customer = $this->accountManagement ->createAccount($customer, $password, $redirectUrl);


please try this out to your setup script. public function install( ModuleDataSetupInterface $setup, ModuleContextInterface $context ) { $customerSetup = $this->customerSetupFactory->create(['setup' => $setup]); $customerAddressEntity = $customerSetup->getEavConfig()->getEntityType('customer_address'); $attributeSetId = $...


I had exactly the same issue. I set a JS breakpoint in the line, which threw the error and looked at the attributes variable. There were multiple old attributes, which were migrated from M1. They lead to these issues. I simply deleted those old attributes in the database (table eav_attribute) and the error was gone.


For this kind of issue, it's really hard to find the root cause. Magento is hard, Js is hard. My suggestion is to use Debugger. Chrome Devtools: Debugging KnockoutJs How to debug in ko template ...

Top 50 recent answers are included