Uncaught TypeError: $container.findOnce is not a function

Created on 8 January 2024, 6 months ago
Updated 12 January 2024, 6 months ago

Problem/Motivation

I'm using a Drupal10 setup and it appears that I'm encountering an error message after loading the page when utilizing Masonry in the views.

drupal.js?v=10.1.7:64 Uncaught TypeError: $container.findOnce is not a function
    at Object.<anonymous> (masonry.js?s6y5bm:110:28)
    at Function.each (jquery.min.js?v=3.7.0:2:3179)
    at applyMasonry (masonry.js?s6y5bm:29:11)
    at Object.attach (masonry.js?s6y5bm:16:7)
    at drupal.js?v=10.1.7:166:24
    at Array.forEach (<anonymous>)
    at Drupal.attachBehaviors (drupal.js?v=10.1.7:162:34)
    at drupal.init.js?v=10.1.7:32:12
    at HTMLDocument.listener (drupal.init.js?v=10.1.7:20:7)

🐛 Bug report
Status

RTBC

Version

4.0

Component

Code

Created by

🇵🇭Philippines Zed9

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

Comments & Activities

Production build 0.69.0 2024