Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught SyntaxError: Unexpected token b in JSON at position 0 #19

Open
litehacker opened this issue Jun 7, 2018 · 1 comment
Open

Comments

@litehacker
Copy link

litehacker commented Jun 7, 2018

This problem popped up after I updated Wordpress theme. The files are loading OK in Google Chrome locally but not when loaded from the website. BUT all is ok when I try Edge Browser.
The error looks like this:


Uncaught SyntaxError: Unexpected token b in JSON at position 0
    at JSON.parse (<anonymous>)
    at new Settings (settings.js:10)
    at main.js:6

main.js/ 6
var settings = new SLAcer.Settings({
.....
settings.js /10
this.settings[namespace] = JSON.parse(

@jordigagomerino
Copy link

Uncomment the window.localStorage.clear(); line. (Line 4)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants