• Resolved ray2030

    (@ray2030)


    Hello guys, thank you for putting this awesome plugin together
    the plugin is working fine on google chrome but is not working on firefox, opera
    My OS is macOS Catalina v10.15.7

    the error I’m getting is this
    Uncaught ReferenceError: jQuery is not defined
    you can see it live here https://shop.itaa.uy/shop/

    Am I doing something wrong?

    thank you

    • This topic was modified 2 years, 11 months ago by ray2030.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nick McReynolds

    (@woobewoo)

    Hello @ray2030,

    Most likely there is a conflict with your other plugin or your theme.
    Please try to deactivate all your plugins one by one and check the issue. Thus you will find out which plugin causes the error.

    If it won’t help, try to switch temporarily to a standard WordPress theme.

    See also: https://woobewoo.com/documentation/help-us-to-solve-your-problem-faster/

    Afterward, let me know about the result.

    Thread Starter ray2030

    (@ray2030)

    you were right, is not an issue with the plugin, its related to woocomerce storefront theme.

    thank you for your help

    Plugin Author Nick McReynolds

    (@woobewoo)

    Hi,

    I am glad to help.
    Happy New Year!

    Hi there,

    I am having the exact same issue but contrary to what ray2030 said, I think it is directly related to your plugin trying to override the jquery ready function at a time it is not yet loaded.

    The issue is related to that piece of script that also appears on my website only when activating your plugin and that still raise an error on ray2030’s demo site (check his link, I don’t think he solved the issue)

    <script type='text/javascript' id='jquery-js-after'>;
    var v = jQuery.fn.jquery; //THE PROBLEM APPEARS HERE
    if (v && parseInt(v) >= 3 && window.self === window.top) {
    var readyList=[];
    window.originalReadyMethod = jQuery.fn.ready;
    jQuery.fn.ready = function(){
    	if(arguments.length && arguments.length > 0 && typeof arguments[0] === "function") {
    		readyList.push({"c": this, "a": arguments});
    	}
    	return window.originalReadyMethod.apply( this, arguments );
    };
    window.wpfReadyList = readyList;
    }
    </script>

    I think you should at least check for the jQuery lib to be loaded

    By the way, thx for your great job ??

    • This reply was modified 2 years, 9 months ago by aguiran.
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘jQuery is not defined – Firefox MAC’ is closed to new replies.