1

Product Images are not showing after upgrade from Magento 2.2.5 to 2.3.1, instead, page keeps loading but nothing happens.

I am using porto theme

  • did you check browser's console for some error hints? – fmsthird Jun 13 at 9:18
0

I had the exact same problem on Porto theme. When I inspected the console it was showing:

    Uncaught SyntaxError: Unexpected token , in JSON at position 1031
at JSON.parse (<anonymous>)
at getNodeData (scripts.js:87)
at Array.map (<anonymous>)
at scripts.js:117
at HTMLDocument.apply (main.js:70)
at fire (jquery.js:3232)
at Object.add [as done] (jquery.js:3291)
at jQuery.fn.init.jQuery.fn.ready (jquery.js:3542)
at jQuery.fn.init (jquery.js:2967)
at new jQuery.fn.init (jquery-migrate.js:241)

I have removed the following file and the problem was gone.

app/design/frontend/mytheme/Magento_Catalog/templates/product/view/gallery.phtml

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.