skip to Main Content

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

2

Answers


  1. Bit late, but please try to remove meta_description from your attribute set and try again.

    Let me know if you succeeded!

    Login or Signup to reply.
  2. 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!

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search