Title: controlz's Replies | WordPress.org

---

# controlz

  [  ](https://wordpress.org/support/users/controlz/)

 *   [Profile](https://wordpress.org/support/users/controlz/)
 *   [Topics Started](https://wordpress.org/support/users/controlz/topics/)
 *   [Replies Created](https://wordpress.org/support/users/controlz/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/controlz/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/controlz/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/controlz/engagements/)
 *   [Favorites](https://wordpress.org/support/users/controlz/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce Stripe Payment Gateway] Developers: Please make sure that you are including jQuery and there are no Java](https://wordpress.org/support/topic/developers-please-make-sure-that-you-are-including-jquery-and-there-are-no-java/)
 *  [controlz](https://wordpress.org/support/users/controlz/)
 * (@controlz)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/developers-please-make-sure-that-you-are-including-jquery-and-there-are-no-java/#post-8942293)
 * This plugin is jacked. I too get the same cryptic error message. There are no
   JS errors in the console! Garbage!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AdRotate Banner Manager] Ad Clicks Stopped Recording](https://wordpress.org/support/topic/ad-clicks-stopped-recording/)
 *  Thread Starter [controlz](https://wordpress.org/support/users/controlz/)
 * (@controlz)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ad-clicks-stopped-recording/#post-7610874)
 * I did some more looking and found this code in the head section
 * <script type=’text/javascript’ src=’[http://domain.com/wp-content/plugins/adrotate/library/jquery.adrotate.clicktracker.js’></script&gt](http://domain.com/wp-content/plugins/adrotate/library/jquery.adrotate.clicktracker.js’></script&gt);
   
   <script type=’text/javascript’ src=’[http://domain.com/wp-includes/js/jquery/jquery.js?ver=1.11.3′></script&gt](http://domain.com/wp-includes/js/jquery/jquery.js?ver=1.11.3′></script&gt);
   <script type=’text/javascript’ src=’[http://domain.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1′></script&gt](http://domain.com/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1′></script&gt);
 * Can you tell me by looking at the above why jQuery is not defined?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AdRotate Banner Manager] Ad Clicks Stopped Recording](https://wordpress.org/support/topic/ad-clicks-stopped-recording/)
 *  Thread Starter [controlz](https://wordpress.org/support/users/controlz/)
 * (@controlz)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/ad-clicks-stopped-recording/#post-7610873)
 * After checking code inspector, I see:
    Uncaught ReferenceError: jQuery is not
   defined
 * I tried adding the following to the head but get the same error message. <script
   type=”text/javascript” src=”[http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js”></script&gt](http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js”></script&gt);
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AdRotate Banner Manager] Clicks not Being Tracked in Stats](https://wordpress.org/support/topic/clicks-not-being-tracked-in-stats/)
 *  [controlz](https://wordpress.org/support/users/controlz/)
 * (@controlz)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/clicks-not-being-tracked-in-stats/#post-7502935)
 * How did you solve this issue?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[AdRotate Banner Manager] Click tracking is not working, impression tracking does](https://wordpress.org/support/topic/click-tracking-is-not-working-impression-tracking-does/)
 *  [controlz](https://wordpress.org/support/users/controlz/)
 * (@controlz)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/click-tracking-is-not-working-impression-tracking-does/#post-7514784)
 * How did you correct the issue if you don’t mind me asking.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Expired events not being removed from eventDisplay](https://wordpress.org/support/topic/expired-events-not-being-removed-from-eventdisplay/)
 *  Thread Starter [controlz](https://wordpress.org/support/users/controlz/)
 * (@controlz)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/expired-events-not-being-removed-from-eventdisplay/#post-3389391)
 * I found the answer after some digging. I was using the wrong call. Here’s what
   I ended up using which seems to be working as it should by only showing upcoming
   events.
 * <section class=”events”>
    <h3>Upcoming Events</h3>
    -  <?php
       global $post; $current_date = date(‘j M Y’); $end_date = date(‘j M
      Y’, strtotime(’30 days’));
    - $get_posts = tribe_get_events(array(‘start_date’=>$current_date,’end_date’
      =>$end_date,’posts_per_page’=>3) );
    - foreach($get_posts as $post) {
       setup_postdata($post); ?>
    - 
    - <?php } //endforeach ?>
       <?php wp_reset_query(); ?>
 * </section><!–events–>

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