I’ve noticed this error when I installed VirtueMart and in the checkout process where it asks if you are a returning visitor or new user I noticed that the radio buttons did not work. This error occurs since Joomla! uses mootools and I used JQuery in my template. Thus causing the two to conflict since both mootools and JQuery make use of the $-function. Please check the answer to see how you will be able to solve this issue.
- Add the following code after the inclusion of the JQuery library.
jQuery.noConflict(); overrides JQuery’s $-function
- Now replace all $ instances in your code with jQuery eg. $(“#test”) will become jQuery(“#test”)
- Refresh your page and the error message should be gone.
Image Credits: Photo by Isis França on Unsplash.