0
votes

Upgrading Joomla 2.5.22 to Joomla 3.3.1 shows the following error:

TypeError: jQuery(...).tooltip is not a function
jQuery('.hasTooltip').tooltip({"html": true,"container": "body"});

What might be the solution to eliminate this error from the site?

1
How is you template importing jQuery? check the index.php for your template to see if it's being imported the proper way using JHtml. If not, then have a look at my answer here for importing jQuery with different Joomla versions: stackoverflow.com/questions/12471067/… - Lodder
Thanks for the reply. I am using the Gantry framework. And you know the Gantry generally includes the js and css by calling this function $gantry->displayHead(); - Yasir Arefin
Did you install the Joomla 3.x version of the template you're using? - Lodder
You need to be sure that your page loads only one jQuery and Mootools is loaded after that jQuery. - FlavioEscobar

1 Answers

0
votes

Try clearing your browser cache (and your Joomla cache, and your template cache). 99% of the time this issue is caused by old JS libraries being loaded (especially in case of a migration from 2.5 to 3.x).