TypeError: $(...).once is not a function

Created on 10 June 2025, 28 days ago

Problem/Motivation

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

drupal.js?v=10.0.2:64 Uncaught TypeError: $context.find(...).once is not a function

Steps to reproduce

Create some content(node, etc) with SlickQuiz field type
See console

Proposed resolution

Chage jQuery once => vaniall once

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine maksym fedorchuk Rivne

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

Comments & Activities

Production build 0.71.5 2024