Skip to content
Troubleshooting

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.

By WP24×7 engineers5 min readPublished January 6, 2021Updated November 29, 2026

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

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?

  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?

OrderFixWhen
1Update the theme or plugin that owns the fileMost maintained ones shipped a newer Bootstrap since 2019
2Replace the plugin or themeIt is abandoned
3Swap the file in your own custom themeYou or your developer built the theme; use a child theme or the parent's repository, not a live-server edit
4Load a separate jQuery on specific pagesTemporary 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.

  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.

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.

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?

BootstrapjQueryNotes
Early 3.xBelow version 3 onlyBreaks on jQuery 3, the cause of this error
3.4.0 and 3.4.1Accepts jQuery 3Includes security fixes; Bootstrap 3 itself is no longer maintained
4Still needs jQueryA migration from 3
5No jQuery dependencyAttributes 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.

FAQ

Questions people ask

12 answers. Can't find yours? Ask an engineer.

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 answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer
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.

Link to this answer

Keep reading

Want an engineer on it?

Tell us what is wrong in plain words. A person reads it, today.