Fix: Bootstrap's JavaScript requires jQuery 1.9.1
Why Bootstrap 3 throws the jQuery version error on current WordPress, how to confirm which file is responsible, and the safe ways to fix it.
At a glance
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.
Updated November 29, 2026 · For site owners and developers seeing a Bootstrap and jQuery console error
- 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
On this page
- Why does this error appear?
- How do I find which file is responsible?
- What is the best fix?
- How do I replace the file myself?
- What if I cannot change the file?
- A worked example: menus and sliders stop after an update
- How do I verify the fix?
- What about moving to a newer Bootstrap?
- How do the Bootstrap versions relate to jQuery?
- FAQ
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.
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?
Open the broken page, open developer tools and choose the Console tab.
Reload. The error lists a script URL, for example
.../wp-content/themes/some-theme/js/bootstrap.min.jsor one inside a plugin.The folder name tells you whether a theme or plugin is bundling it.
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 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 do I replace the file myself?
Take a backup and, if you can, test on a staging copy.
Download the official Bootstrap 3.4.1 release from the Bootstrap project's GitHub releases page, or the version you chose to move to.
Take
bootstrap.min.jsfrom the archive.Replace the old file over SFTP, keeping the same file name and path so the theme's enqueue code still works.
Clear any page cache and minification cache, and hard-reload the browser.
Check the console again, then test everything that uses Bootstrap components.
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 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.
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 |
We fix these on a staging copy and go live once the front end passes a full check.
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.
Link to this answerCan 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.
Link to this answerThe 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.
Link to this answerWhy 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.
Link to this answerHow 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.
Link to this answerShould 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.
Link to this answerCan 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.
Link to this answerDoes 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.
Link to this answerWhat 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.
Link to this answerWill 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.
Link to this answerHow 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.
Link to this answerCan 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.
Link to this answerKeep reading
Want an engineer on it?
Tell us what is wrong in plain words. A person reads it, today.