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

Created on 26 December 2022, almost 2 years ago
Updated 5 March 2024, 9 months ago

After updating my site to Drupal 10.0, the iconpicker selector stopped working.
It kept throwing the following error:
Uncaught TypeError: $(...).once is not a function
at Object.attach (script.js?rniisq:10:10)
at drupal.js?v=10.0.0:166:24
at Array.forEach ()
at Drupal.attachBehaviors (drupal.js?v=10.0.0:162:34)
at drupal.init.js?v=10.0.0:32:12
at HTMLDocument.listener (drupal.init.js?v=10.0.0:20:7)

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇳🇬Nigeria hugestem

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024