Since the update to Drupal 8.5 the console displays the following error :

The use of XMLHttpRequest synchronously on the main thread is deprecated because of its negative impact on the end user's navigation. See http://xhr.spec.whatwg.org/ for more information.

and

Uncaught SyntaxError: Invalid or unexpected token
    at p (jquery.min.js?v=3.2.1:2)
    at Function.globalEval (jquery.min.js?v=3.2.1:2)
    at text script (jquery.min.js?v=3.2.1:4)
    at Qb (jquery.min.js?v=3.2.1:4)
    at A (jquery.min.js?v=3.2.1:4)
    at XMLHttpRequest.<anonymous> (jquery.min.js?v=3.2.1:4)
    at Object.send (jquery.min.js?v=3.2.1:4)
    at Function.ajax (jquery.min.js?v=3.2.1:4)
    at Function.r._evalUrl (jquery.min.js?v=3.2.1:4)
    at Ja (jquery.min.js?v=3.2.1:3)
CommentFileSizeAuthor
Capture du 2018-03-09 22-22-55.png9.96 KBzenimagine

Comments

zenimagine created an issue. See original summary.

zenimagine’s picture

Issue summary: View changes
cilefen’s picture

Issue tags: +JavaScript, +8.5.0 update

Could you add some context about how to reproduce this syntax error? What UI action is occurring?

cilefen’s picture

Title: Since the update to Drupal 8.5 the console shows an error » Syntax error in jquery.min.js
zenimagine’s picture

Here is my site :

https://www.EXEMPLE.com

The problem is on all pages. Following the update.

nod_’s picture

Category: Bug report » Support request
Priority: Major » Normal

The https://www.s1biose.com/libraries/backbone.marionette/underscore.js?v=3.x file was corrupted during the update. Try replacing it with a working version.

this is not a core issue.

zenimagine’s picture

If I understand correctly the problem does not come from drupal but from the library :

https://marionettejs.com/download/

Anonymous’s picture

Status: Active » Fixed

Looks like problem was solved. And it not related with drupal core.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.