• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Uncaught ReferenceError: jQuery is not defined

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › Uncaught ReferenceError: jQuery is not defined

This topic is: resolved

Tagged: jquery

  • This topic has 2 replies, 2 voices, and was last updated 6 years, 10 months ago by bburro.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • May 3, 2016 at 11:47 am #184910
    bburro
    Member

    Greetings! I am using Firebug to look at my site and noticed a few errors reading as follows:

    jjquery-migrate.min.js?ver=1.4.0:2 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ jquery-migrate.min.js?ver=1.4.0:2
    responsive-menu.js?ver=1.0.0:1 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ responsive-menu.js?ver=1.0.0:1
    parallax.js?ver=1.0.0:1 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ parallax.js?ver=1.0.0:1
    essb-mailform.js?ver=3.0.2:2 Uncaught ReferenceError: jQuery is not defined(anonymous function) @ essb-mailform.js?ver=3.0.2:2(anonymous function) @ essb-mailform.js?ver=3.0.2:2
    jquery.cycle2.js:689Uncaught ReferenceError: jQuery is not defined(anonymous function) @ jquery.cycle2.js:689

    My understanding is minimal: I know what jquery is, and that some type of coding error or conflict has occured.
    I am wondering... Did I cause this error? Everything seems to be working- should I do anything? What is the exact cause- a plugin?

    Thanks in advance- Blake

    http://www.computerrepairwaco.net/
    May 3, 2016 at 1:22 pm #184914
    Victor Font
    Moderator

    Somehow something happeded to change the WordPress function that loads jQuery. WordPress normally loads the following two jQuery files:

    <script type='text/javascript' src='http://victorfont.com/wp-includes/js/jquery/jquery.js'></script>
    <script type='text/javascript' src='http://victorfont.com/wp-includes/js/jquery/jquery-migrate.min.js'></script>

    Your site is missing the first line that loads jQuery. The first file your site is loading is jQuery Migrate that depends on jQuery. Don't know how this happened, but this is going to be some difficult troubleshooting.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 3, 2016 at 6:46 pm #184928
    bburro
    Member

    Hey Victor- thanks for your reply. It looks like my W3 Cache Plugin is the culprit. Thanks.

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Uncaught ReferenceError: jQuery is not defined’ is closed to new replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble