Skip to content

magento man

Magento 2 After Upgrade Error Unable to apply data patch MagentoCatalogSetupPatchDataUpdateMultiselectAttributesBackendTypes

After Upgrading to Magento 2.4.6.-p1 , we are getting error on Setup:upgrade Unable to apply data patch MagentoCatalogSetupPatchDataUpdateMultiselectAttributesBackendTypes for module Magento_Catalog. Original exception message: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘5566-200-0’ for key ‘MGCP_CATALOG_PRODUCT_ENTITY_TEXT_ENTITY_ID_ATTRIBUTE_ID_STORE_ID’, query was: INSERT INTO mgcp_catalog_product_entity_text… Read More »Magento 2 After Upgrade Error Unable to apply data patch MagentoCatalogSetupPatchDataUpdateMultiselectAttributesBackendTypes

Magento2 Warning: foreach() argument must be of type array|object,

I am getting following error but not sure how to debug. Please guide. Warning: foreach() argument must be of type array|object, null given in app/code/XYZ/ElasticSmile/Model/Product/Indexer/Fulltext/Datasource/CatalogExtra.php on line 494 Here the function is foreach ($product->getExtensionAttributes()->getConfigurableProductOptions() as $option) { $attributeCode = $option[‘product_attribute’]->getAttributeCode();… Read More »Magento2 Warning: foreach() argument must be of type array|object,

HostMantis acquired again

Hello WHT. It seems HostMantis’ ownership changed hands again, as about 30-40 minutes ago I received this email. [QUOTE]Learn more ab… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1898995&goto=newpost

How to make field in admin panel required

In admin panel on creating order page, i need to set field Middle Name/Initial required, if chosen shipping method is “Free shipping”, otherwise, this field doesn`t need to be required. Also, is this possible on backend?