tooltip is not a function - Forum | JoomShaper
Solved Helix Framework

tooltip is not a function

Asked by Gianluca Pantaleo 4 years ago Last activity 4 years ago

After upgrade to helix 2.0.6 I got console errors on com_content pages:

VM28646:2 Uncaught TypeError: $(...).find(...).tooltip is not a function
    at initTooltips (<anonymous>:2:194)
    at HTMLDocument.<anonymous> (<anonymous>:2:21)
    at u (jquery.min.js?b1c6f05750878b2bd043858dfd4fa593:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?b1c6f05750878b2bd043858dfd4fa593:2)
    at Function.ready (jquery.min.js?b1c6f05750878b2bd043858dfd4fa593:2)
    at HTMLDocument._ (jquery.min.js?b1c6f05750878b2bd043858dfd4fa593:2)
    at HTMLDocument.c (VM28619 rocket-loader.min.js:1)
    at l (VM28619 rocket-loader.min.js:1)
    at t.simulateStateAfterDeferScriptsActivation (VM28619 rocket-loader.min.js:1)
    at Object.callback (VM28619 rocket-loader.min.js:1)

Here an example

Accepted answer

Marked as the solution
Pavel

You changed the page. Now there are no errors. But as far as I understood the problem calls Prev Next buttons in articles. They have bootstrap tooltips. I do not know whether it is bug in template or an old code in the cache. Clean the cache in Joomla and in Cloudflare, turn off Rocket Loader and check

9 more replies

Ofi Khan Staff

Hello Gianluca Pantaleo

Please share your administrator access here to check the issue. Use the Hidden Content box to share the credentials.

Best regards

Gianluca Pantaleo Asked this

Ok, thanks.

Medialekt

Any news on this topic? I see on some sites the same error after last update?

Gianluca Pantaleo Asked this

Any news please? Thanks

Ofi Khan Staff

Apology for the delay. I could not trace the issue. Please allow me some time.

Gianluca Pantaleo Asked this

Any news, please? Thanks

Pavel
4 years ago · edited

This error occurs due to the fact that the HU 2 uses bootstrap 5 in which there is no longer jQuery. One of your extensions uses the outdated version of Bootstrap based on jQuery. You need to find this extension and contact to its developer for update or replace to a similar, ready to bootstrap 5.

Try to turn OFF rocket loader and check

Gianluca Pantaleo Asked this

Thaks for your reply Pavel. I'm trying to find that extension without success but I think the problem is only on com_content page's views.
Example:
"Home" and "Contatti" are com_sppagebuilder and everything is ok;
"Profilo" is com_contact and it is ok
"All other menu voices" are com_content and it is where the error.
Can you suggest me some ideas, please? Thanks

Gianluca Pantaleo Asked this

I found the problem: is in articles navigation, if I deactivate that articles option no error are shown.
If article navigation is active it generate "forward" and "backward" buttons like this:

<ul class="pager pagenav">
<li class="next">
<a class="hasTooltip" title="..." aria-label="..." href="/..." rel="next">
<span aria-hidden="true">Avanti</span> <span class="icon-chevron-right" aria-hidden="true"></span> </a>
</li>
</ul>

So the "hasTooltip" class generate error if use bootstrap5.
I don't know if I can fix this and can reactivate that articles option.

Log in to reply.