Skip to content
Grav 2.0 is officially stable. Read the announcement →
Support

Upgraded to Grav 1.7.13 and jQuery broken

Started by James Hickman 5 years ago · 3 replies · 465 views
5 years ago

Upgraded to Grav 1.7.13 and the minified jQuery library is throwing a syntax error. "Uncaught SyntaxError: missing name after . operator"

Updated all plugins, cleared cache, error persists.

5 years ago

@JamesH,

  • A stacktrace is alway handly because it tells where the issue happens
  • From which Grav version did you upgrade?
    • If from version 1.6.x: please read the upgrade documentation.
    • If from Grav >= 1.7.0: jQuery has been the same since 1.7.0-rc.18 (2020-12-02) so jQuery itself could not be the issue.
  • It might be a plugin
    Please disable all extra plugins you have installed and enable one by one.
5 years ago

Thanks for the feedback. Don't know what the glitch was, disabled all plugins using jQuery, cleared cache then re-enabled each one and the error did not come back.

5 years ago

@JamesH, A kind reminder to a first-time poster...

When a post has been solved, you can mark any reply as being the 'solution' to the post. This can be done by ticking the 'solution' icon in the lower-right corner of any reply - which could be your own - leading to the solution.

Also, when you appreciate the effort of an answerer, you can show that appreciation by ticking the like/love icon.

Cheers!

Suggested topics

Topic Participants Replies Views Activity
Support · by Duc , 14 hours ago
1 36 13 hours ago
Support · by Thomas, 1 week ago
3 111 22 hours ago
Support · by Anna, 4 days ago
2 103 2 days ago
Support · by Justin Young, 2 days ago
1 76 2 days ago
Support · by Duc , 1 week ago
2 107 7 days ago