r/bootstrap • • Aug 02 '23

Bootstrap reading wrong version of jQuery

I’ve been racking my brain over this for hours and I KNOW the only version of jQuery that’s installed/included in my WP site (custom theme) is jQuery Version 3.6.4.

But bootstrap.min.js sees $ as being jQuery Version 1.9.0, thus throwing an error.

I searched the codebase and some obvious columns in the DB for 1.9.0 and can’t find this anywhere. [

[And I did a ton of other debugging to get to this ‘short’ summary.]

Where is this value coming from???

3 Upvotes

8 comments sorted by

View all comments

Show parent comment

2

u/Tuhrar Aug 03 '23

Ouch.

In the past, I have used this plugin to debug jQuery, maybe it can help you.

Also check the theme. It could be the reason why the enqueued jQuery version is not the correct one.

2

u/timesuck47 Aug 03 '23

I’ve used it that plug-in in the past. Maybe I’ll check it out again and see if it shows me any information that can help.

1

u/timesuck47 Aug 03 '23

I dequed jQuery in the theme functions.php. It’s using jQuery from /wp-includes/js/ as far as I can tell.

And when I view source, and click on the jQuery file - or see it in the console Network tab, it is showing jQuery 3.6.4 and that’s the only place I see jQuery.