Uncaught TypeError: $(...).once is not a function with Drupal 10

Created on 27 January 2023, almost 2 years ago
Updated 2 February 2023, almost 2 years ago

Hello,

I am working on a Drupal 10 (10.0.2) project and I have problems when I load forms (node/add, for example) with Boostrap theme enabled. There are some js errors:

drupal.js?v=10.0.2:64 Uncaught TypeError: Cannot read properties of undefined (reading 'chain')
drupal.js?v=10.0.2:64 Uncaught TypeError: $context.find(...).once is not a function
...

You can find all of them in the attached image.

Errors appear both in the main theme and in the subthemes created with the starterkit.

Could somebody help me?
Thanks!

🐛 Bug report
Status

Closed: duplicate

Version

3.25

Component

Code

Created by

🇪🇸Spain dromansab

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

Comments & Activities

Production build 0.71.5 2024