TheCoachSMB

Archives February 2, 2022

Solved: Magento 2: Database Instllation Error Notice: Undefined index: attribute_id in

  Solution: Go to vendor\magento\module-msrp\Setup\Patch\Data\ChangePriceAttributeDefaultScope.php comment line no 89 to 94 $categorySetup->updateAttribute( $entityTypeId, $attribute[‘attribute_id’], ‘is_global’, \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL ); and in the file vendor\magento\module-msrp\Setup\Patch\Data\ChangeMsrpAttributeLabel.php comment out line no 41 to 46. $categorySetup->updateAttribute( $entityTypeId, $msrpAttribute[‘attribute_id’], ‘frontend_label’,…

Magento 2
Solved: Magento 2: Database Instllation Error Notice: Undefined index: attribute_id in

  Solution: Go to vendor\magento\module-msrp\Setup\Patch\Data\ChangePriceAttributeDefaultScope.php comment line no 89 to 94 $categorySetup->updateAttribute( $entityTypeId, $attribute[‘attribute_id’], ‘is_global’, \Magento\Eav\Model\Entity\Attribute\ScopedAttributeInterface::SCOPE_GLOBAL ); and in the file vendor\magento\module-msrp\Setup\Patch\Data\ChangeMsrpAttributeLabel.php comment out line no 41 to 46. $categorySetup->updateAttribute( $entityTypeId, $msrpAttribute[‘attribute_id’], ‘frontend_label’,…