# Fix: Bootstrap's JavaScript requires jQuery 1.9.1

URL: https://wp24x7.com/how-to-fix-bootstraps3-jquery-error/
Updated: 2026-11-29
Type: blog post
Audience: site owners and developers seeing a Bootstrap and jQuery console error

> The console message that Bootstrap's JavaScript requires jQuery 1.9.1 or higher but lower than version 4 means an old Bootstrap 3 script found a jQuery it was not written for. Update the plugin or theme that ships that Bootstrap file rather than rolling jQuery back. This guide shows how to find the file, replace it safely, and verify that menus, modals and carousels work again.

## Key facts

- For: developers and owners whose menus, modals or carousels stopped after a WordPress update
- Cause: an old Bootstrap 3 file checks the jQuery version and throws
- Best fix: update or replace the theme or plugin that bundles the file
- Avoid: downgrading jQuery, which has known security problems
- Bridge: Bootstrap 3.4.0 and later accept jQuery 3, but Bootstrap 3 is no longer maintained
- Help: support or emergency support fixes it on a staging copy first

The console message "Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4" (older builds say "lower than version 3") means an old Bootstrap 3 script found a jQuery it was not written for. **Update the plugin or theme that ships that Bootstrap file, rather than rolling jQuery back.**

> **Quick answer**
Open the console, find the script path named in the error, update or replace the theme or plugin that owns it, and reload. Do not downgrade jQuery. Fix the first console error before chasing the others.

## Why does this error appear?

Bootstrap 3's JavaScript checks the jQuery version when it loads and throws if the version is outside the range it was tested with. Early Bootstrap 3 releases accepted jQuery only below version 3, and later releases widened the range. WordPress moved to jQuery 3.x in version 5.6 (December 2020), so sites running an old Bootstrap 3 file began failing then. When the check throws, the Bootstrap script stops and anything that depends on it, such as menus, modals, carousels and tabs, goes dead. Bootstrap 3.4.0 and 3.4.1 accept jQuery 3 and fixed security problems, but Bootstrap 3 is no longer maintained, so treat that release as a bridge.

## How do I find which file is responsible?

1. Open the broken page, open developer tools and choose the **Console** tab.
2. Reload. The error lists a script URL, for example `.../wp-content/themes/some-theme/js/bootstrap.min.js` or one inside a plugin.
3. The folder name tells you whether a theme or plugin is bundling it.
4. In the **Network** tab, filter by "bootstrap". Two copies, one old and one new, is common with a page builder plus a Bootstrap-based theme.

## What is the best fix?

| Order | Fix | When |
|:--:|:--|:--|
| 1 | Update the theme or plugin that owns the file | Most maintained ones shipped a newer Bootstrap since 2019 |
| 2 | Replace the plugin or theme | It is abandoned |
| 3 | Swap the file in your own custom theme | You or your developer built the theme; use a [child theme](/how-to-properly-set-up-child-theme) or the parent's repository, not a live-server edit |
| 4 | Load a separate jQuery on specific pages | Temporary only; see below |

Do not paste a replacement file over one inside a third-party plugin: the next update restores the old file and the error returns. A jQuery Migrate helper does not change this version check; it helps with the related [$.browser error](/how-to-fix-browser-undefined-error-in-wordpress).

## How do I replace the file myself?

Take a backup and, if you can, test on a staging copy.

1. Download the official Bootstrap 3.4.1 release from the Bootstrap project's GitHub releases page, or the version you chose to move to.
2. Take `bootstrap.min.js` from the archive.
3. Replace the old file over SFTP, keeping the same file name and path so the theme's enqueue code still works.
4. Clear any page cache and minification cache, and hard-reload the browser.
5. Check the console again, then test everything that uses Bootstrap components.

> **Do not mix versions**
If your CSS is Bootstrap 3 and you drop in Bootstrap 5 JavaScript, components break, because attribute names changed (`data-toggle` became `data-bs-toggle`). Keep CSS and JavaScript from the same major version.

## What if I cannot change the file?

If the Bootstrap code sits inside a plugin you cannot update yet and a vendor patch is coming, a [load a separate jQuery on specific pages](/load-multiple-jquery-versions) approach can contain the damage to the pages that need the old version. It is a workaround with security and complexity costs, so use it only with a deadline to remove it.

## A worked example: menus and sliders stop after an update

After updating WordPress, the mobile menu stops opening and the image slider freezes. The console shows the Bootstrap version error first, followed by "$(...).carousel is not a function" and similar. The later errors are consequences: Bootstrap never finished loading, so its plugins were never registered on jQuery. The Network tab shows the old file loading from the theme folder. After the theme's author releases an update with a current Bootstrap file, the first error disappears and the rest go with it.

_Fix the first console error, then reload before chasing the rest_

## How do I verify the fix?

- [ ] The console shows no red errors after a hard reload
- [ ] Bootstrap loads once, not twice
- [ ] The mobile menu, dropdowns, modals, tabs, accordions and carousels work
- [ ] Forms still submit
- [ ] Pages work logged out, since caching and logged-in scripts differ
- [ ] Checked in at least two browsers and on a phone
- [ ] Cache and minification plugins were purged

## What about moving to a newer Bootstrap?

Bootstrap 4 still needs jQuery. Bootstrap 5 dropped the jQuery dependency and changed several attributes and class names. Moving a theme from 3 to 5 is therefore a markup migration, not a file swap, best planned as a small project with a staging site and a list of every component the theme uses. If several different errors appear together, they often share one root, code written for jQuery 1.x, and fixing the oldest, most central file first often clears several at once.

## How do the Bootstrap versions relate to jQuery?

| Bootstrap | jQuery | Notes |
|:--|:--|:--|
| Early 3.x | Below version 3 only | Breaks on jQuery 3, the cause of this error |
| 3.4.0 and 3.4.1 | Accepts jQuery 3 | Includes security fixes; Bootstrap 3 itself is no longer maintained |
| 4 | Still needs jQuery | A migration from 3 |
| 5 | No jQuery dependency | Attributes renamed, for example `data-bs-toggle` |

**Several jQuery errors after an update?**
We fix these on a staging copy and go live once the front end passes a full check.
[WordPress support](/wordpress-support)
[Emergency support](/wordpress-emergency-support)

## Frequently asked questions

### Which Bootstrap version fixes the jQuery version error?

Bootstrap 3.4.0 and later accept jQuery 3. The cleaner fix is to update the plugin or theme that bundles Bootstrap, or move to a currently maintained Bootstrap release.

### Can I just downgrade jQuery?

You can, but it is a poor trade. Older jQuery releases have known security problems and WordPress core and other plugins expect the current version. Fix the old Bootstrap file instead.

### The error says lower than version 4 now. Is that the same problem?

Yes, it is the same check. Bootstrap 3 only works with the jQuery range its code was written for, and a newer jQuery than that range breaks it.

### Why do I see many errors after the first one?

Later errors are often consequences. If Bootstrap fails to load, its components such as carousel and modal are never registered. Fix the first error and reload before chasing the rest.

### How do I find which file is responsible?

Open developer tools, choose Console and reload. The error lists a script URL, and the folder name shows whether a theme or plugin bundles it. Also check the Network tab for two copies of Bootstrap.

### Should I paste a new file over one inside a third-party plugin?

No. The next plugin update restores the old file and the error returns. Update the plugin, replace it, or change the file in your own custom theme or a child theme.

### Can I swap in Bootstrap 5 JavaScript on a Bootstrap 3 site?

No. Attribute names changed, for example data-toggle became data-bs-toggle, so components break. Keep CSS and JavaScript from the same major version, or plan a proper migration.

### Does Bootstrap 5 need jQuery?

No. Bootstrap 5 dropped the jQuery dependency, while Bootstrap 4 still needs it. Moving a theme from 3 to 5 is a markup migration, not a file swap.

### What if the plugin with old Bootstrap has no update yet?

Loading a separate jQuery on specific pages can contain the damage, but it is a workaround with security and complexity costs, so only use it with a deadline to remove it.

### Will jQuery Migrate fix this error?

No. It does not change this version check. It helps with the related browser undefined error, which comes from removed jQuery features.

### How do I verify the fix?

No red console errors after a hard reload, Bootstrap loads once, menus, dropdowns, modals, tabs and carousels work, forms submit, and pages work logged out, in two browsers and on a phone, with caches purged.

### Can you fix it for me?

Yes. Our support service fixes these on a staging copy and puts the changes live once the front end passes a full check. If the site is broken for customers, use emergency support.
