WordPress Uncaught SyntaxError: Unexpected Token Illegal

I have a local install of WordPress running & I am suddenly getting these errors in my console:

Uncaught SyntaxError: Unexpected token ILLEGAL
media-upload.php:75Uncaught ReferenceError: jQuery is not defined
media-upload.php:89Uncaught ReferenceError: SWFUpload is not defined
media-upload.php:156Uncaught ReferenceError: jQuery is not defined
load-scripts.php:1Uncaught SyntaxError: Unexpected token ILLEGAL

Non-wordpress site’s work fine and I’ve never had any issues like this before, it seems to be limited to WordPress.

Read More

What I don’t understand is that the modal window is being called and loading AJAX content, additionally all the transitions work in the rest of the WordPress admin area.

Does anyone have any suggestions?

Thanks

enter image description here

Related posts

Leave a Reply

2 comments

  1. I had this problem also, but clearing the browser, cache (Chrome) with SHIFT+F5 had reloaded the scripts and solved the problem.
    Refresh the cache for every page where you encounter the problem.