Skip Navigation

“Uncaught ReferenceError: jQuery is not defined” when Toolset does not load Bootstrap

Resolved

Reported for: Toolset Views 2.9

Resolved in: 2.9.2

Topic Tags: Views plugin

Symptoms

Toolset can load Bootstrap 3 or 4 on your site. Alternatively, you can select that the Theme already loads Bootstrap or that the site does not require Bootstrap at all.

If you choose any of the latter two options and have Toolset Views installed, the following JavaScript error will be logged in the console when visiting any front-end page:

Uncaught ReferenceError: jQuery is not defined

Workaround

There are two possible workarounds for this issue:

  • Select the option to load Bootstrap with Toolset. You can set this from the Bootstrap loading section on the Toolset -> Settings page.

Or:

  • Apply the patch by downloading this file, unzipping and uploading it to the ../wp-content/plugins/wp-views/embedded/inc/ folder and replacing the existing file in that folder.

This issue will be fixed in the next version of Views.

Comments are closed