VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: MSpencer141 on May 10, 2016, 13:48:26 PM

Title: TypeError message when selecting size/colour. Virtuemart 3.0.16 Joomla 3.5.1
Post by: MSpencer141 on May 10, 2016, 13:48:26 PM
Hi,

I'm getting this error in the console when using safari and changing between product sizes/colours using the multi-variant customfield, it does sometimes happen on other browser also....

TypeError: ((m.event.special[e.origType]||{}).handle||e.handler).apply is not a function. (In '((m.event.special[e.origType]||{}).handle||e.handler).apply(f.elem,i)', '((m.event.special[e.origType]||{}).handle||e.handler).apply' is undefined)
dispatchjquery.min.js:3:8554
handlejquery.min.js:3:5257
triggerjquery.min.js:3:7655
triggerjquery-migrate.min.js:1:6736
(anonymous function)jquery.min.js:3:15524
eachjquery.min.js:1:2979
eachjquery.min.js:1:839
triggerjquery.min.js:3:15497
result_selectchosen.jquery.min.js:1:17559
search_results_mouseupchosen.jquery.min.js:1:15111
(anonymous function)chosen.jquery.min.js:1:7828
dispatchjquery.min.js:3:8554
handlejquery.min.js:3:5257

This only seems to be happening since updating from Virtuemart 3.0.9 to the latest 3.0.16. The Joomla version is 3.5.1.

Please view: http://www.kitlocker.com/template/index.php/menu-1/sub-menu-1-a/nike-park-vi-short-sleeve-shirt-p

Try changing colours/sizes/refreshing pages and sometimes it throws the same error to the console.

Everything is checked on apart from 'Using the Virtuemart CSS' in the virtuemart configuration.

Any help would be much appreciated.

- Just to add that this seems to happen more often in Safari/Phone Browsers.

Many thanks,
Matt
Title: Re: TypeError message when selecting size/colour. Virtuemart 3.0.16 Joomla 3.5.1
Post by: MSpencer141 on May 10, 2016, 17:22:32 PM
Just to note that this error occurs even when the template is switched back to 'protostar - Default'

I feel like this could be a core issue.
Title: Re: TypeError message when selecting size/colour. Virtuemart 3.0.16 Joomla 3.5.1
Post by: Bigitybossman on November 17, 2016, 23:54:37 PM
Hi MSpencer141,

Did you ever find a solution?

I am receiving the exact same error. I have figured out that when i turn off my shortcodes plugin that the error goes away. However i need my shortcodes plugin to work.

Can anyone help with this issue?
Title: Re: TypeError message when selecting size/colour. Virtuemart 3.0.16 Joomla 3.5.1
Post by: Milbo on November 23, 2016, 10:58:16 AM
The solution is to update http://dev.virtuemart.net/attachments/download/1034/com_virtuemart.3.0.18.5_extract_first.zip