[resolved] "jQuery is Not Defined" - Console Error (12 posts)

  1. thaddeusreid
    Posted 2 years ago #

    Hey all,

    Just like the title says, I"m getting a console error: "Uncaught ReferenceError: jQuery is not defined " in regards to the jquery.cycle.all.min.js file.

    I believe the formatting of the HTML is good to go. Here it is:

    <div id="slideshow">
    	<img src="img-src" width="xxx" height="xxx" class="20130719050506" alt="" />
    	<img src="img-src" width="xxx" height="xxx" class="20130719050512" alt="" />
    	<img src="img-src" width="xxx" height="xxx" class="20130719050516" alt="" />
    	<img src="img-src" width="xxx" height="xxx" class="20130719050520" alt="" />
    	<img src="img-src" width="xxx" height="xxx" class="20130719050524" alt="" />
    	<img src="img-src" width="xxx" height="xxx" class="20130719050528" alt="" />
    	<img src="img-src" width="xxx" height="xxx" class="20130719050532" alt="" />

    Is the first image supposed to have class="first"?

    I haven't seen any other topics about the jQuery breaking...anyone have an idea?


  2. depetto
    Posted 2 years ago #

    I'm experiencing a problem too, now my images are shown consecutively in my sidebar and don't rotate anymore. my site is: http://lana-del-rey.id1945.com/
    what could have gone wrong? I got it working perfectly last night (as in 9 hours ago)

  3. depetto
    Posted 2 years ago #

    never mind, all problems solved now :D

  4. Gyan Gaurav
    Posted 2 years ago #

    Hi.. thaddeusreid

    can you post a link to your site here.

  5. thaddeusreid
    Posted 2 years ago #

    depetto: Would your solution fix my problem?

    Gyan Gaurav: I will as soon as I can. This problem is happening on my MAMP hosted website. I'm waiting for some hosting issues to be sorted with a client, so I don't have access to a live server currently. Could this be part of the problem?

  6. Gyan Gaurav
    Posted 2 years ago #

    thaddeusreid: I believe you have tried disabling other plugins one by one..may be js conflicting with some one.. Or just try changing the <div id=""> id here from the wp_cycle settings page. just in case if you all ready have activated another gallery or slideshow plugin ..

  7. thaddeusreid
    Posted 2 years ago #

    Gyan Gaurav: I've got the site live, would you mind taking a peek?


  8. thaddeusreid
    Posted 2 years ago #

    Okay, I believe I've resolved this problem.

    All I had to do was include this code in my <head>:

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>

    Also, I had to make sure this script was loading before the jquery.cycle.all.min.js file.

  9. That's not really a good idea adding jquery that way and it could create conflicts for you.

    Give this a read:


    You can load jquery just by using this code in your (child) theme's functions.php file.

    function mh_load_my_script() {
        wp_enqueue_script( 'jquery' );
    add_action( 'wp_enqueue_scripts', 'mh_load_my_script' );
  10. Gyan Gaurav
    Posted 2 years ago #

    I looked at your site. have you seen that alternatively two images are being displayed in the header.? also its not a good idea to add additional jquery here. jquery.cycle.all.min.js is all alone capable of doing what you want here.

  11. minamarcos
    Posted 1 year ago #

    I had same problem i fixed it by repast the wp-includes folder from a fresh copy of the WP , there was missing js files

  12. benlaw
    Posted 1 year ago #

    hi all
    i have this issue
    jquery undefined
    anyone can help
    here my site

    i cant get lightbox working in my wordpress too

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP-Cycle
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.