I am getting this TypeError: $(...).once is not a function js error when /sites/all/modules/contrib/ctools/js/dependent.js is called when i try to use a dynamic field with display suite.

Drupal version: 7.26

My modules:
Jquery update: 7.x-2.3+15-dev
Display suite: 7.x-2.6+19-dev

I tryed this on simplytest.me and i didnt get this error but dependent.js wasnt called either.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

medinasod’s picture

I'm also getting the same error from the same file when clicking the "customize this page" or "Change layout" buttons. The error comes from line number 230 in /sites/all/modules/contrib/ctools/js/dependent.js. The error was noticed after upgrading our D7 site to PHP7.

medinasod’s picture

FileSize
570 bytes
medinasod’s picture

Status: Active » Needs review

This patch fixes the error for me.

joelpittet’s picture

Version: 7.x-1.4 » 7.x-1.x-dev
Status: Needs review » Postponed (maintainer needs more info)

What version of jQuery are you using?

MustangGB’s picture

Category: Bug report » Support request
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)