cancel
Showing results for 
Search instead for 
Did you mean: 

Can't edit product or create new attribute set after migration

Can't edit product or create new attribute set after migration

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?

4 REPLIES 4

Re: Can't edit product or create new attribute set after migration

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.

Re: Can't edit product or create new attribute set after migration

I checked my Product Attributes, but didn't find any duplicated attribute code.

Is there any other problem can cause this issue?

Re: Can't edit product or create new attribute set after migration

No duplicate, still getting error:

 

An attribute with the same code (product_type) already exists.

 

Also while editing existing attribute too.

Masuk

Re: Can't edit product or create new attribute set after migration

I had the same issue. I changed the label to something other than "Product Type" and it saved successfully.