• Hi,

    checking the Console I see the following alert: “Uncaught ReferenceError: jQuery is not defined”
    It leads me to discover that the error comes from “woocommerce-ajax-filters”

    In wp-config.php I added the following code:
    /** Absolute path to the WordPress directory. */
    if( !defined('ABSPATH') )
    define('ABSPATH', dirname(FILE) . '/');
    define('CONCATENATE_SCRIPTS', false);

    The alert is gone but only when I am logged in as admin or business/private customer. If I browse the online store as a guest, without registration, I see the alert.

    • This topic was modified 9 months, 3 weeks ago by tomenr.

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author RazyRx

    (@razyrx)

    Hello,

    All scripts on your site loads with parameter defer, that cause issue like this, maybe it is some optimization script.
    Please remove this parameter for jQuery script to load it on page load, then other scripts can use it correct.

    Regards,
    Oleg

    Thread Starter tomenr

    (@tomenr)

    How can I remove the parameter?

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hello,

    This could be a cache plugin, some optimization plugin, a theme or custom code. It depends on what you are using for this. Plugins and themes will most likely have documentation on how to do this if they have the option.

    Regards,
    Dmytro

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Uncaught ReferenceError: jQuery is not defined’ is closed to new replies.