jQuery.once dependency problem

Created on 18 September 2023, over 1 year ago
Updated 4 October 2023, about 1 year ago

Hello all,

Problem/Motivation

When I check the console of my browser, I get the error message which I paste below:

Uncaught TypeError: jQuery(...).once is not a function
    attach http://site.url/themes/contrib/vt_theme/js/vt-main.js?v=1.x:6
    attachBehaviors http://site.url/core/misc/drupal.js?v=10.1.3:166
    attachBehaviors http://site.urlcore/misc/drupal.js?v=10.1.3:162
    <anonymous> http://site.url/core/modules/big_pipe/js/big_pipe.js?v=10.1.3:118
    <anonymous> http://site.url/core/modules/big_pipe/js/big_pipe.js?v=10.1.3:138

Steps to reproduce

Install the theme and check browser console.

Proposed resolution

To add jquery.once to the dependencies will solve this problem.

Best,
Orkut

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇹🇷Turkey orkut murat yılmaz Istanbul

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

Comments & Activities

Production build 0.71.5 2024