{"id":3376,"date":"2014-03-23T13:49:53","date_gmt":"2014-03-23T13:49:53","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/23\/wordpress-uncaught-syntaxerror-unexpected-token-illegal-collection-of-common-programming-errors-2\/"},"modified":"2014-03-23T13:49:53","modified_gmt":"2014-03-23T13:49:53","slug":"wordpress-uncaught-syntaxerror-unexpected-token-illegal-collection-of-common-programming-errors-2","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/23\/wordpress-uncaught-syntaxerror-unexpected-token-illegal-collection-of-common-programming-errors-2\/","title":{"rendered":"WordPress Uncaught SyntaxError: Unexpected Token Illegal-Collection of common programming errors"},"content":{"rendered":"<p>I have a local install of WordPress running &amp; I am suddenly getting these errors in my console:<\/p>\n<pre><code>Uncaught SyntaxError: Unexpected token ILLEGAL\nmedia-upload.php:75Uncaught ReferenceError: jQuery is not defined\nmedia-upload.php:89Uncaught ReferenceError: SWFUpload is not defined\nmedia-upload.php:156Uncaught ReferenceError: jQuery is not defined\nload-scripts.php:1Uncaught SyntaxError: Unexpected token ILLEGAL\n<\/code><\/pre>\n<p>Non-wordpress site&#8217;s work fine and I&#8217;ve never had any issues like this before, it seems to be limited to WordPress.<\/p>\n<p>What I don&#8217;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.<\/p>\n<p>Does anyone have any suggestions?<\/p>\n<p>Thanks<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/i.stack.imgur.com\/KW33e.png\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have a local install of WordPress running &amp; 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&#8217;s work fine and I&#8217;ve never had any [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-3376","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3376","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=3376"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/3376\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=3376"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=3376"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=3376"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}