TypeError: jQuery(...).attr(...) is undefined

Support desk for Multipurpose Quark Theme
GK User
Sun Jul 05, 2015 11:49 am
After I updated Quark I now get this firebug error when clicking on the navigational buttons on a 3rd party module… “TypeError: jQuery(...).attr(...) is undefined”

Before the Quark update the navigational buttons on the module worked fine. What's wrong?

Thanks
User avatar
Senior Boarder

GK User
Sun Jul 05, 2015 8:00 pm
Your 3rd party module probably doesn't support the newest joomla version. Update the module or take contact with the 3rd party module.
User avatar
Gold Boarder

teitbite
Mon Jul 06, 2015 12:14 pm
Could you please provide me with a URL to your website, either here or via PM (click the “Private Message” text underneath my avatar) so that I may analyze it? It is a lot easier for us to diagnose issues when we have a live site to examine.
User avatar
Moderator

GK User
Tue Jul 07, 2015 11:25 am
I have sent you a PM
User avatar
Senior Boarder

teitbite
Wed Jul 08, 2015 8:15 pm
Hi

I cannot see this error in console. Can You please tell me the exact url to the page where this happens ? Also what to click. Or is it fixed already ?
User avatar
Moderator

GK User
Wed Jul 08, 2015 9:57 pm
Hi

No it has not been fixed. It's the module on the frontpage called SHOWBIZ. Click on the navigator buttons and you will notice they are not working. There is also a warning message in firebug when you click on the buttons.
User avatar
Senior Boarder

teitbite
Sat Jul 11, 2015 9:20 pm
Hi

Ok, thank You for guidelines, but this is not our module, so I'm not sure what do You want me to do with it. You should contact this module's developer. I think it is using a different jQuery version than newest joomla is.

From my side I can only advice to use Easy jQuery plugin and try to overwrite the joomla jQuery with older one. I've checked and the scripts from this module are dated 2012, so I would also try to use a newest version of it.
User avatar
Moderator

GK User
Sun Jul 12, 2015 9:52 am
I got this from the module's developer...


"Hi. I see that gavick script take over the buttons.
http://screencast.com/t/IEd5hntZn
it's not showbiz related. Please check with the theme support."
User avatar
Senior Boarder

teitbite
Tue Jul 14, 2015 3:10 pm
Hi

The line of script has nothing to do with buttons. It's a simple condition checking if url in link has "mailto" in it's content. Problem is that attr() function cannot be found in jQuery library, but it's a standard function. So I believe module is loading some older library which is overriding the newer one and causing troubles. Some kind of this issue. Try Easy jQuery to force one jQuery library, this may help.
User avatar
Moderator

GK User
Wed Jul 15, 2015 10:34 pm
Ok. I might just keep it safe and go with the nsp module instead.
Thanks Teitbite!
User avatar
Senior Boarder

teitbite
Fri Jul 17, 2015 6:12 pm
Hi

Yes, that's the best solution :) NSP has some styles which suits with our templates best, so You can benefit from it this way.
User avatar
Moderator


cron