cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2.3.3: Error when uploading images on product page

Magento 2.3.3: Error when uploading images on product page

When I want to create a new product and I upload an product-image, I can no longer save the product and I see the next error via console (in my browser).

 

product-gallery.js:138 Uncaught TypeError: Cannot read property 'value' of undefined
    at product-gallery.js:138
    at Function.grep (jquery.js:471)
    at $.<computed>.<computed>.setBase (product-gallery.js:133)
    at $.<computed>.<computed>.setBase (jquery-ui-1.9.2.js:432)
    at $.<computed>.<computed>._addItem (product-gallery.js:217)
    at $.<computed>.<computed>._addItem (jquery-ui-1.9.2.js:432)
    at HTMLDivElement.handlerProxy (jquery-ui-1.9.2.js:739)
    at HTMLDivElement.dispatch (jquery.js:5232)
    at HTMLDivElement.elemData.handle (jquery.js:4884)
    at Object.trigger (jquery.js:5136)

How can I fix this?

1 REPLY 1

Re: Magento 2.3.3: Error when uploading images on product page

May be some JS is missing or conflict
I would suggest to check with executing below command and do verify again..... 
php bin/magento setup:upgrade
php bin/magento setup:static-content:deploy -f

 

Even sometime having issues with JS load then also such issues coming

 

please do accept as a solutions and give kudos if things work with you

 

With regards,

Bhavesh Surani

https://www.bytestechnolab.com