getting this warning: (intermittently)
"jQuery.Deferred exception: MivaEvents is not defined ReferenceError: MivaEvents is not defined
at Object.jsPROD ( CLIENTDOMAIN .com/mm5/json.mvc?Store_Code=XXXX&Function=JavaScriptCombin edResource_Output&JavaScriptCombinedResource_Code= site-scripts&T=138e059a:662:3)
at HTMLDocument.<anonymous> ( CLIENTDOMAIN .com/mm5/json.mvc?Store_Code=XXXX&Function=JavaScriptCombin edResource_Output&JavaScriptCombinedResource_Code= site-scripts&T=138e059a:141:26)
at e ( CLIENTDOMAIN .com/mm5/json.mvc?Store_Code=XXXX&Function=JavaScriptCombin edResource_Output&JavaScriptCombinedResource_Code= site-scripts&T=138e059a:2:30038)
at t ( CLIENTDOMAIN .com/mm5/json.mvc?Store_Code=XXXX&Function=JavaScriptCombin edResource_Output&JavaScriptCombinedResource_Code= site-scripts&T=138e059a:2:30340) undefined"
Along with this error: (intermittently)
Uncaught ReferenceError: MivaEvents is not defined
at Object.jsPROD (json.mvc?Store_Code=XXXX&Function=JavaScriptCombi nedResource_Output&JavaScriptCombinedResource_Code =site-scripts&T=138e059a:662:3)
at HTMLDocument.<anonymous> (json.mvc?Store_Code=XXXX&Function=JavaScriptCombi nedResource_Output&JavaScriptCombinedResource_Code =site-scripts&T=138e059a:141:26)
at e (json.mvc?Store_Code=XXXX&Function=JavaScriptCombi nedResource_Output&JavaScriptCombinedResource_Code =site-scripts&T=138e059a:2:30038)
at t (json.mvc?Store_Code=XXXX&Function=JavaScriptCombi nedResource_Output&JavaScriptCombinedResource_Code =site-scripts&T=138e059a:2:30340)
they both seem to point to this code within the scripts.js file.
MivaEvents.SubscribeToEvent('variant_changed', function () {
gallery.length = 0;
mainImageZoom.attr('data-index', 0);
thumbnailIndex = 0;
outOfStock ();
selectedSwatch ();
});
The site in question is on the Suivant ReadyTheme
It seems to mostly happen if landing directly on a product page and it doesn't seem to happen all the time.
It's happening in an incognito too which I confirmed and seems to be more frequent in an incognito window.
It also intermittently happens while browsing from page to page but there seems to be no rhyme or reason to it.
Any help is appreciated.
Thanks.
"jQuery.Deferred exception: MivaEvents is not defined ReferenceError: MivaEvents is not defined
at Object.jsPROD ( CLIENTDOMAIN .com/mm5/json.mvc?Store_Code=XXXX&Function=JavaScriptCombin edResource_Output&JavaScriptCombinedResource_Code= site-scripts&T=138e059a:662:3)
at HTMLDocument.<anonymous> ( CLIENTDOMAIN .com/mm5/json.mvc?Store_Code=XXXX&Function=JavaScriptCombin edResource_Output&JavaScriptCombinedResource_Code= site-scripts&T=138e059a:141:26)
at e ( CLIENTDOMAIN .com/mm5/json.mvc?Store_Code=XXXX&Function=JavaScriptCombin edResource_Output&JavaScriptCombinedResource_Code= site-scripts&T=138e059a:2:30038)
at t ( CLIENTDOMAIN .com/mm5/json.mvc?Store_Code=XXXX&Function=JavaScriptCombin edResource_Output&JavaScriptCombinedResource_Code= site-scripts&T=138e059a:2:30340) undefined"
Along with this error: (intermittently)
Uncaught ReferenceError: MivaEvents is not defined
at Object.jsPROD (json.mvc?Store_Code=XXXX&Function=JavaScriptCombi nedResource_Output&JavaScriptCombinedResource_Code =site-scripts&T=138e059a:662:3)
at HTMLDocument.<anonymous> (json.mvc?Store_Code=XXXX&Function=JavaScriptCombi nedResource_Output&JavaScriptCombinedResource_Code =site-scripts&T=138e059a:141:26)
at e (json.mvc?Store_Code=XXXX&Function=JavaScriptCombi nedResource_Output&JavaScriptCombinedResource_Code =site-scripts&T=138e059a:2:30038)
at t (json.mvc?Store_Code=XXXX&Function=JavaScriptCombi nedResource_Output&JavaScriptCombinedResource_Code =site-scripts&T=138e059a:2:30340)
they both seem to point to this code within the scripts.js file.
MivaEvents.SubscribeToEvent('variant_changed', function () {
gallery.length = 0;
mainImageZoom.attr('data-index', 0);
thumbnailIndex = 0;
outOfStock ();
selectedSwatch ();
});
The site in question is on the Suivant ReadyTheme
It seems to mostly happen if landing directly on a product page and it doesn't seem to happen all the time.
It's happening in an incognito too which I confirmed and seems to be more frequent in an incognito window.
It also intermittently happens while browsing from page to page but there seems to be no rhyme or reason to it.
Any help is appreciated.
Thanks.
Comment