Title: ReferenceError: hanleErrors is not defined
Last modified: August 21, 2016

---

# ReferenceError: hanleErrors is not defined

 *  Resolved [cukeving](https://wordpress.org/support/users/cukeving/)
 * (@cukeving)
 * [12 years ago](https://wordpress.org/support/topic/referenceerror-hanleerrors-is-not-defined/)
 * Hi there,
 * We’re getting the error “ReferenceError: hanleErrors is not defined”
 * It’s coming from line 1019 of wpsl-gmap.js
 * We’re also having trouble with WPML translation of the labels.
    We’ve had to 
   override with jQuery to force them. Anybody else still having issues with WPML
   translation for this plugin?
 * [https://wordpress.org/plugins/wp-store-locator/](https://wordpress.org/plugins/wp-store-locator/)

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

 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [12 years ago](https://wordpress.org/support/topic/referenceerror-hanleerrors-is-not-defined/#post-4943239)
 * Oops, that looks like I forgot to change the name of that function 🙁 Not sure
   how I could have overlooked that one.
 * Can you open the wpsl-gmap file and replace ‘handleErrors’ with ‘geocodeErrors’.
   That should fix it.
 * WPML doesn’t pick up anything at all?
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [12 years ago](https://wordpress.org/support/topic/referenceerror-hanleerrors-is-not-defined/#post-4943242)
 * It’s used on line 510, in the findFormattedAddress function.
 *  Thread Starter [cukeving](https://wordpress.org/support/users/cukeving/)
 * (@cukeving)
 * [12 years ago](https://wordpress.org/support/topic/referenceerror-hanleerrors-is-not-defined/#post-4943267)
 * THANK YOU!
    That was fast – and worked! 🙂
 * Any idea why translation may not be working?
    It’s specifically the search form–
   Your Location, Search Radius, Results and the search button.
 * We’ve put the string translations in through WPML and they are not being picked
   up. Currently we’re overriding with javascript.
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [12 years ago](https://wordpress.org/support/topic/referenceerror-hanleerrors-is-not-defined/#post-4943309)
 * No, I don’t have the WPML plugin myself, so I can’t experiment with it. But I
   know of one other guy who uses it and has no problem with it. Maybe it’s time
   I get it myself to test it out.
 *  Thread Starter [cukeving](https://wordpress.org/support/users/cukeving/)
 * (@cukeving)
 * [12 years ago](https://wordpress.org/support/topic/referenceerror-hanleerrors-is-not-defined/#post-4943318)
 * I can offer you a test wordpress site and FTP access to your plugin folder.
 * It’s running both WPML and Store Locator and having the exact same issue.
 * Just need to be able to email you directly.
 *  Plugin Author [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * (@tijmensmit)
 * [12 years ago](https://wordpress.org/support/topic/referenceerror-hanleerrors-is-not-defined/#post-4943329)
 * My email is info at tijmensmit.com.

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

The topic ‘ReferenceError: hanleErrors is not defined’ 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/)

 * 6 replies
 * 2 participants
 * Last reply from: [Tijmen Smit](https://wordpress.org/support/users/tijmensmit/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/referenceerror-hanleerrors-is-not-defined/#post-4943329)
 * Status: resolved