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

Comments

@litehacker
Copy link

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(

@JordiWhat

This comment has been minimized.

Copy link

commented Jan 8, 2019

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
Projects
None yet
2 participants
You can’t perform that action at this time.