Reputation: 55
Unable to add new product in magento2.After click on add new product loader keeps running.(sometimes it works fine)i found that issue "Uncaught TypeError: component.getPreview is not a function" in import-handler.js file line no 44.Is there any solution for fix this error? magento version 2.4.1
Upvotes: 0
Views: 253
Reputation: 11
This may happen when you've attribute group code 'description' set, even though you change label but if attribute_group_code
= 'description' then it may create issue with PageBuilder element "description" in 2.4.3
So just change the attribute code to something else, for example: "desc"
UPDATE `eav_attribute_group` SET `attribute_group_code` = 'desc' WHERE `attribute_group_code` = 'description';
And clear cache, that's all!
Upvotes: 1
Reputation: 16
Bit late, but please try to remove meta_description from your attribute set and try again.
Let me know if you succeeded!
Upvotes: 0