Skip to main content
Added information about when error occurs
Source Link
Craig
  • 164
  • 2
  • 13

I have a local install of Wordpress running & I am suddenly getting these errors in my console when I open a modal window (such as file upload):

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.

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

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.

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

I have a local install of Wordpress running & I am suddenly getting these errors in my console when I open a modal window (such as file upload):

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.

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

Source Link
Craig
  • 164
  • 2
  • 13

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.

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