Drupal 11 and jQuery 4 compatibility issue

Created on 6 May 2025, 4 days ago

Problem/Motivation

I've seen this issue when loading the website

Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4
    at bootstrap.js?svt7ez:15:11
    at bootstrap.js?svt7ez:17:2

The issue is triggered from the file /libraries/bootstrap/dist/js/bootstrap.js

Steps to reproduce

Just load the site with the theme enabled on a D11 site

Proposed resolution

This fork of Boostrap3 seems to fix the issues, now I understand why this theme was having issues with the menus and other functionalities:

https://www.npmjs.com/package/entreprise7pro-bootstrap

Remaining tasks

If the fork works, we have to disable the temporary menu fixes I put for the main menu

User interface changes

N/A

API changes

N/A

Data model changes

N/A

🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇨🇦Canada danrod Ottawa

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024