cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3 - Product Edit Page from back-end error

Highlighted

Magento 2.3 - Product Edit Page from back-end error

I am getting following error if i try to edit product from backend,

 

Fatal error: Uncaught TypeError: Argument 3 passed to Magento\Framework\View\Element\UiComponentFactory::mergeMetadataElement() must be of the type array, null given, called in /var/www/html/test/lib/internal/Magento/Framework/View/Element/UiComponentFactory.php on line 384 and defined in /var/www/html/test/lib/internal/Magento/Framework/View/Element/UiComponentFactory.php:337 Stack trace: #0 /var/www/html/test/lib/internal/Magento/Framework/View/Element/UiComponentFactory.php(384): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataElement(Array, 'configurableExi...', NULL, false) #1 /var/www/html/test/lib/internal/Magento/Framework/View/Element/UiComponentFactory.php(412): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem(Array, Array, false) #2 /var/www/html/test/lib/internal/Magento/Framework/View/Element/UiComponentFactory.php(412): Magento\Framework\View\Element\UiComponentFactory->mergeMetadataItem(Array, Array, false) #3 /var/www/html/test/lib/internal/Magento/Fram in /var/www/html/test/lib/internal/Magento/Framework/View/Element/UiComponentFactory.php on line 337

4 REPLIES 4
Highlighted

Re: Magento 2.3 - Product Edit Page from back-end error

Hello @Aveeva ,

 

This error generally occurs when we migrate Magento 1 to Magento 2 and it occurs because of attribute set, please try the solution shared in this below issue :

https://github.com/magento/magento2/issues/7652

Problem Solved ? Click on 'Kudos' & Accept as Solution to encourage to write more answers !
Highlighted

Re: Magento 2.3 - Product Edit Page from back-end error

@gaurav_harsh1 All my attributes set are empty, i completely forget to check this, i will add and check let you know the status, thank you.

Highlighted

Re: Magento 2.3 - Product Edit Page from back-end error

Ilike it boy

take a look here

https://hootakes.com/

Highlighted

Re: Magento 2.3 - Product Edit Page from back-end error

@gaurav_harsh1 After fresh migration i am getting the following error, 

 

SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '21' for key 'PRIMARY', query was: INSERT INTO `eav_attribute_set` (`entity_type_id`, `attribute_set_name`, `sort_order`, `attribute_set_id`) VALUES (?, ?, ?, ?)

 

How to solve this error?