I used data-migration-tool to migrate my store from 1.9.2.2 to 2.1.14, but after the migration, I find I can't open "edit" page of any existing product. The following error message show up:
========================================================
There has been an error processing your request.
The configuration parameter "formElement" is a required for "" field.
Error log record number: 1495859023951
(Yes, there is nothing in the second quote mark)
========================================================
Also, I tried to add new product, with new attribute set, but when I configured it and click "save", it shows:
========================================================
Attribute with the same code already exists.
========================================================
Anyone knows how to solve it?
Hi @quizmask
You have duplicate attribute with the same code value in the product attributes.
Find duplicate attribute from Admin->Stores->Attributes->Product and delete one attribute and try to save product.
Note: Make sure first you check that that attribute is not used with any product.
If Issue Solved, Click Kudos/Accept As solutions.
I checked my Product Attributes, but didn't find any duplicated attribute code.
Is there any other problem can cause this issue?
No duplicate, still getting error:
An attribute with the same code (product_type) already exists.
Also while editing existing attribute too.
I had the same issue. I changed the label to something other than "Product Type" and it saved successfully.