- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Pleas help - Uncaught SyntaxError: Unexpected token , in JSON at position 1054
I am very new in magento, while i finish uploading one product, all pages will load images wont come up and the page will be loading forever when other contents are shown.
Also the mini cart will not display items added to it
I got this error on console.
What exactly is the problem, and how do i solve it
VM192427:14
Uncaught SyntaxError: Unexpected token , in JSON at position 1054
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:3238)
at Object.add [as done] (jquery.js:3297)
at jQuery.fn.init.jQuery.fn.ready (jquery.js:3548)
at jQuery.fn.init (jquery.js:2973)
at new jQuery.fn.init (jquery-migrate.js:241)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Pleas help - Uncaught SyntaxError: Unexpected token , in JSON at position 1054
Please check this solution. Try and let me know.
https://github.com/magento/magento2/issues/14977#issuecomment-388014085
200+ Premium Magento 2 Extensions Need help? Hire Magento Developer
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Pleas help - Uncaught SyntaxError: Unexpected token , in JSON at position 1054
Many Thanks i appreciate, this worked, but the product images is no more showing and the style went out of the box. I have attached the demo and what my page is showing.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Pleas help - Uncaught SyntaxError: Unexpected token , in JSON at position 1054
Please share the link of the screenshots as these are visible only once moderator approved it.
So share any link so that in the mean time we can check and suggest you anything.
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Pleas help - Uncaught SyntaxError: Unexpected token , in JSON at position 1054
http://m2.alothemes.com/electro/widescreen-4k-suhd-tv.html - this is the demo product page
https://rollin.ng/rollin/hp%20spectre%2013-ae011%20x360%20convertible.html - my product page
You could see that product images didnt show
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Pleas help - Uncaught SyntaxError: Unexpected token , in JSON at position 1054
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Pleas help - Uncaught SyntaxError: Unexpected token , in JSON at position 1054
white-tablet-s2-wifi-62gb-lte-internet.html:1220 GET https://rollin.ng/rollin/pub/media/logo/default/logo.png 404
jquery-migrate.js:23 JQMIGRATE: Migrate is installed with logging active, version 1.4.1
VM13517:1 Uncaught SyntaxError: Unexpected token u in JSON at position 0
at JSON.parse (<anonymous>)
at run (layout.js:164)
at app.js:14
at main.js:31
at Object.execCb (c74033263ca254bc39ca52e5b04c7b63.js:1650)
at Module.check (c74033263ca254bc39ca52e5b04c7b63.js:866)
at Module.<anonymous> (c74033263ca254bc39ca52e5b04c7b63.js:1113)
at c74033263ca254bc39ca52e5b04c7b63.js:132
at c74033263ca254bc39ca52e5b04c7b63.js:1156
at each (c74033263ca254bc39ca52e5b04c7b63.js:57)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Pleas help - Uncaught SyntaxError: Unexpected token , in JSON at position 1054
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Pleas help - Uncaught SyntaxError: Unexpected token , in JSON at position 1054
http://m2.alothemes.com/electro/widescreen-4k-suhd-tv.html - this is the demo product page
https://rollin.ng/rollin/hp%20spectre%2013-ae011%20x360%20convertible.html - my product page
You could see that product images didnt show
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Pleas help - Uncaught SyntaxError: Unexpected token , in JSON at position 1054
@Rahul Gupta That link was what i got in the console error message
The link to the site and demo are these
http://m2.alothemes.com/electro/widescreen-4k-suhd-tv.html - this is the demo product page
https://rollin.ng/rollin/hp%20spectre%2013-ae011%20x360%20convertible.html - my product page
You could see that product images didnt show