Tooltip is Not A Function - Question | JoomShaper

Tooltip is Not A Function

GP

Gianluca Pantaleo

Helix Framework 3 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

0
10 Answers
Pavel
Pavel
Accepted Answer
3 years ago #53908

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

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #51258

Hello Gianluca Pantaleo

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

Best regards

0
GP
Gianluca Pantaleo
Accepted Answer
3 years ago #51282

Ok, thanks.

0
Medialekt
Medialekt
Accepted Answer
3 years ago #51512

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

0
GP
Gianluca Pantaleo
Accepted Answer
3 years ago #51968

Any news please? Thanks

0
Ofi Khan
Ofi Khan
Accepted Answer
Support Agent 3 years ago #52153

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

0
GP
Gianluca Pantaleo
Accepted Answer
3 years ago #53795

Any news, please? Thanks

0
Pavel
Pavel
Accepted Answer
3 years ago #53816

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

0
GP
Gianluca Pantaleo
Accepted Answer
3 years ago #53821

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

0
GP
Gianluca Pantaleo
Accepted Answer
3 years ago #53907

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.

0