• Resolved neo4evr

    (@neo4evr)


    Hello,

    I have installed and configured W3 Total Cache JS Minify to render JS as non-blocking using “defer” on both head and below body. However, I get this error: Uncaught ReferenceError: jQuery is not defined at (index):752

    Please let me know how I can fix this error. If I make the JS blocking then page load time is increasing and I get poorer results in webpage tests.

    Note: My website is connected to a CDN service (KeyCDN).

    Thanks!

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

Viewing 1 replies (of 1 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @neo4evr

    Thank you for your question and I am happy to assist you with this.
    This means that you need to exclude jquery related files from being minified in Performance>Minify>Advanced>”Never Minify following JS files”. for example:
    /wp-includes/js/jquery/jquery.js
    There are some JS files that are jQuery dependant and need to lad after jQuery. If you are not experiencing any issues with your website styling or functionality you can ignore this console error, or you can exclude the file from being minified.
    Alternatively, you can switch to Manual minify and add the JS and CSS files manually and in order.
    Thanks!

Viewing 1 replies (of 1 total)
  • The topic ‘Page shows error Uncaught ReferenceError: jQuery is not defined at (index):7’ is closed to new replies.