[Resolved] Error in inspect when looking at site- Jquery not defined

Home Forums Support [Resolved] Error in inspect when looking at site- Jquery not defined

Home Forums Support Error in inspect when looking at site- Jquery not defined

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #515629
    mmarvel

    I was looking at code for a different issue and saw this but don’t know why its showing. The site seems to be working so I’m not sure what’s failing.

    Not sure how to find out what’s failing. Any idea where to look?

    (index):20 Uncaught ReferenceError: jQuery is not defined
    at (index):20
    (index):43 Uncaught ReferenceError: jQuery is not defined
    at (index):43

    Thanks. Martha

    GeneratePress 2.0.2
    #515751
    Leo
    Staff
    Customer Support

    Hi there,

    Have you tried #1 here to see if it’s from a plugin?
    https://docs.generatepress.com/article/debugging-tips/

    #516272
    mmarvel

    Hi Leo

    Yes, I use WP Rocket for caching and had to exclude js files from defer for the generatepress theme and fontawesome.

    // * Replace, or multiply and edit below line as needed to exclude fill */

    $excluded_files[] = ‘/wp-content/themes/generatepress/js/classlist.min.js’;
    $excluded_files[] = ‘/releases/v5.0.8/js/all.js’;
    // STOP EDITING

    #516428
    Leo
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.