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!

CommentFileSizeAuthor
TypeError.png346.01 KBdromansab

Comments

dromansab created an issue. See original summary.

dromansab’s picture

I think that this problem is related with Drupal 10 removed use of jquery.once: https://www.drupal.org/node/3158256

The error can be reproduced using bootstrap in node/add form with an image or paragraph field.

jcnventura’s picture

Status: Active » Closed (duplicate)