I’m also getting this error. Any help appreciated.
Hi, please share a link to your site. It’s impossible to say what is going wrong without seeing it live 🙂
Hi @ravanh, thanks for following up.
I’m not sure if it’s the same for @earthjibber here, but I found that my theme framework (JointsWP) was replacing the default WordPress jQuery with v2.1.0. Dropping this to standard WP jQuery resolved my issue, hope it’s something similar for @earthjibber.
All the best,
Cheers
Ah yes, that would indeed be a likely cause for the OP too…
Hi @ravanh, I am having a similar problem.
Firebug for Firefox has identified the problem as:
TypeError: jQuery(...).fancybox is not a function
It is highlighting this line of code:
jQuery('a.fancybox-iframe, area.fancybox-iframe, li.fancybox-iframe a').fancybox( jQuery.extend({}, fb_opts, { 'type' : 'iframe', 'width' : '70%', 'height' : '90%', 'padding' : 0, 'titleShow' : false, 'titlePosition' : 'float', 'titleFromAlt' : true }) );
It is found on this page:
https://www.mheonline.com/coreplus/product/
I have resolved the issue on my end. It turns out that some jQuery from our old modal/lightbox was conflicting with the fancybox jQuery.