question-circle Try to eliminate TypeError: $(...) errors

More
1 year 2 weeks ago #5022 by Chacapamac
Try to eliminate TypeError: $(...) errors was created by Chacapamac
I have errors on this site —> tcri.qc.ca/
Joomla 3.8.8

Without jQuery Profiles, I got —>
TypeError: $(...).find(...).tooltip is not a function[Learn More] tcri.qc.ca:74:161
	initTooltips http://tcri.qc.ca/:74:161
	<anonymous> http://tcri.qc.ca/:74:21
	o https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js:2:14728
	fireWith https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js:2:15502
	ready https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js:2:9592
	B https://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js:2:14288

With jQuery Profiles On, I got —>
TypeError: $(...).addEvent is not a function[Learn More] tcri.qc.ca:84:33
	<anonymous> http://tcri.qc.ca/:84:33
	fireEvent/< http://tcri.qc.ca/media/system/js/mootools-core.js:121:19
	forEach self-hosted:268:13
	forEach self-hosted:279:5
	each http://tcri.qc.ca/media/system/js/mootools-core.js:9:297
	fireEvent http://tcri.qc.ca/media/system/js/mootools-core.js:120:491
	j http://tcri.qc.ca/media/system/js/mootools-core.js:175:216

Not sure what to do or how these errors show up?

No error on php 7.1.12 on my local Mamp(Wamp) server, Is this a question of PHP version?

Please Log in or Create an account to join the conversation.

More
1 year 2 weeks ago #5023 by syw
Hello,

I went to your site but I do not see any errors in the console. You probably tried some other combinations of settings since your post. I still see a jQuery duplicate though, which I find strange.

Olivier.

Please Log in or Create an account to join the conversation.