Title: Bug found
Last modified: August 21, 2016

---

# Bug found

 *  Resolved [diegoferreyra](https://wordpress.org/support/users/diegoferreyra/)
 * (@diegoferreyra)
 * [12 years ago](https://wordpress.org/support/topic/bug-found-6/)
 * I get an error on:
    wpsl-gmap.js?ver=3.8.3:87 Uncaught TypeError: undefined is
   not a function
 * Apparently for some reason, this line never gets run:
    $selects = $( “#wpsl-search-
   wrap select” );
 * I tried deactivating all plugins and so on, but it didn’t work. In the end I 
   moved that line to right before line 86 and fixed it. Not sure why it is happening.
   Let me know if it is something on my installation. I deactivated all plugins 
   and still got the bug.
 * [https://wordpress.org/plugins/wp-store-locator/](https://wordpress.org/plugins/wp-store-locator/)

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

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [12 years ago](https://wordpress.org/support/topic/bug-found-6/#post-4920074)
 * What is the url of your site where this happens?
 * It doesn’t happen in my installation, but I would really like to know what causes
   it to happen on your site. So if you can share the url, or email it to info at
   tijmensmit.com?
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [12 years ago](https://wordpress.org/support/topic/bug-found-6/#post-4920083)
 * Do you also get it with the default wp themes?
 *  Thread Starter [diegoferreyra](https://wordpress.org/support/users/diegoferreyra/)
 * (@diegoferreyra)
 * [12 years ago](https://wordpress.org/support/topic/bug-found-6/#post-4920085)
 * Haven’t tried with default WP Theme. It’s currently only on my local, site is
   still in development, which is why I can’t share a URL.
 * Let me try on a default theme and report back.
 * Another weird matter of this bug, happens 9 out of 10 times I load the page, 
   but every now and then, it loads properly.
 *  Thread Starter [diegoferreyra](https://wordpress.org/support/users/diegoferreyra/)
 * (@diegoferreyra)
 * [12 years ago](https://wordpress.org/support/topic/bug-found-6/#post-4920342)
 * Ok, I found the error (this theme is poorly coded). I removed the second reference
   to jQuery done via head.js and that fixed it.

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

The topic ‘Bug found’ is closed to new replies.

 * ![](https://ps.w.org/wp-store-locator/assets/icon-256x256.jpg?rev=1007784)
 * [WP Store Locator](https://wordpress.org/plugins/wp-store-locator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-store-locator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-store-locator/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-store-locator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-store-locator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-store-locator/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [diegoferreyra](https://wordpress.org/support/users/diegoferreyra/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/bug-found-6/#post-4920342)
 * Status: resolved