cancel
Showing results for 
Search instead for 
Did you mean: 

ReferenceError: initializeFieldsetDataByDefault is not defined Magento 2.2.2 Upgrade

SOLVED

ReferenceError: initializeFieldsetDataByDefault is not defined Magento 2.2.2 Upgrade

I have upgraded website from 2.0.7 to Magento 2.2.2 but when i try to open product or category in admin than console showing me below error.

ReferenceError: initializeFieldsetDataByDefault is not defined

Also exception log is showing below error

main.CRITICAL: The element 'gallery' already has a child with alias 'content' {"exception":"[object] (Magento\\Framework\\Exception\\LocalizedException(code: 0): The element 'gallery' already has a child with alias 'content' at /var/www/vhosts/httpdocs/vendor/magento/framework/Data/Structure.php:611)"} []

You can see the screenshot below for admin layout.

https://prnt.sc/iby5fv

Let me know if any one has a solution.

Looking forward to your reply.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.
1 ACCEPTED SOLUTION

Accepted Solutions

Re: ReferenceError: initializeFieldsetDataByDefault is not defined Magento 2.2.2 Upgrade

I solved this issue in chrome by opening the inspector, going to the Application tab, and clearing all the site data. Then logged back in and the issue was gone.

View solution in original post

4 REPLIES 4

Re: ReferenceError: initializeFieldsetDataByDefault is not defined Magento 2.2.2 Upgrade

Hi @Sanjay Jethva,

 

Are you using 3rd-party module that changes or adds features to those modules?

 

Re: ReferenceError: initializeFieldsetDataByDefault is not defined Magento 2.2.2 Upgrade

Let us know how the issue report goes: https://github.com/magento/magento2/issues/13578

Re: ReferenceError: initializeFieldsetDataByDefault is not defined Magento 2.2.2 Upgrade

Hi @Damian Culotta,

Thanks for your reply.

Actually i didnt get any reply on this error. So i have also report issue in github.

I am using extensions but it want affect product and category edit.

Thanks

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: ReferenceError: initializeFieldsetDataByDefault is not defined Magento 2.2.2 Upgrade

I solved this issue in chrome by opening the inspector, going to the Application tab, and clearing all the site data. Then logged back in and the issue was gone.