Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
TypeError: a(...).on is not a function
...a(this),f=e.data("bs.modal"),g=a.extend({},b.DEFAULTS,e.data(),"object"==typeof ...
bootstrap.min.js (line 9)
TypeError: $element.tooltip is not a function
$element.tooltip(options);
The above js error appears in my firebug console when I access the indicated page. Consequently no tooltips appear.
Comments
Comment #1
markhalliwellThat means you don't have jQuery 1.7 or greater installed and because it can't find the method, it halts the execution of the rest of the scripts.
This has already been mentioned several times on: the project page, handbook documentation and the issue creation page for this project.
Comment #2
ñull CreditAttribution: ñull commentedI add some information here for other users. Indeed it was the jquery version, but not the way Mark Carver so "politely" pointed out.
I have the jquery update installed and I have 1.7 or later active. However these versions conflict with ctools that require 1.5. So I set version 1.5 for the administrator.
In that situation I still get this error. Why? Drupal 7 considers user/*/edit an administrative page and therefore version 1.5 of jquery will be active. To force this page to the higher version I installed yet another module admin_path, that allows you decide and override what are the admin paths. Now finally I have what want.
May be my discovery is worth some documentation?