Title: Map not loading due to JavaScript error
Last modified: November 16, 2016

---

# Map not loading due to JavaScript error

 *  Resolved [Gustavo Cieslar](https://wordpress.org/support/users/gustavodc/)
 * (@gustavodc)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-due-to-javascript-error/)
 * Hello,
 * the venue map is not loading in my website: [http://www.almagroconjesus.org/event/estudio-biblico/](http://www.almagroconjesus.org/event/estudio-biblico/)
 * The problem is an error generated by tribe-events.min.js:
 * tribe-events.min.js?ver=4.3:1 Uncaught TypeError: debug.info is not a function
 * debug.info(), debug.groupCollapsed() and debug.log() are not recognized. I tested
   commenting all those calls and the map loaded successfully.
 * Why are these errors occurring?
 * Thanks,
 * Gustavo

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

 *  [shelbelliott](https://wordpress.org/support/users/shelbelliott/)
 * (@shelbelliott)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-due-to-javascript-error/#post-8451071)
 * Hey Gustavo,
 * Sorry you’re having issues, I’d be happy to help you here! 🙂
 * First, can you confirm for me that you’ve troubleshooted your Google Maps settings
   according to [this guide](https://theeventscalendar.com/knowledgebase/google-maps-not-showing-up/),
   and that you’ve configured the API according to [this doc](https://theeventscalendar.com/knowledgebase/setting-up-your-google-maps-api-key/)?
 * Let me know how this goes, and we’ll work from there.
 * Best,
 * Shelby 🙂
 *  Thread Starter [Gustavo Cieslar](https://wordpress.org/support/users/gustavodc/)
 * (@gustavodc)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-due-to-javascript-error/#post-8453249)
 * Hi Shelby!
 * thanks for your kind reply.
 * Yes! The map works well when I go to tribe-events.min.js and comment all the 
   debug calls.
 * So, the map is not working because of the error generated by the debug call that
   is stopping JavaScript. If I comment the debug calls, the map works.
 * The first call generating an error is:
 * debug.info(“TEC Debug: Tribe Events JS init, Init Timer started from tribe-events.
   js.”)
 * Error: Uncaught TypeError: debug.info is not a function
 * Thanks!
 * Gustavo
 *  Thread Starter [Gustavo Cieslar](https://wordpress.org/support/users/gustavodc/)
 * (@gustavodc)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-due-to-javascript-error/#post-8473372)
 * Never mind. I just commented all debug() calls in tribe-events.min.js and tribe-
   events-bar.min.js.
 * If you happen to know why these call are not being recognized, I’ll appreciate
   it a lot to know.
 * Thanks.
 *  [shelbelliott](https://wordpress.org/support/users/shelbelliott/)
 * (@shelbelliott)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-due-to-javascript-error/#post-8488758)
 * Hey Gustavo,
 * I’ll see if I can get one of my colleagues to take a look at this. Did you happen
   to test for conflicts in this process?
 * Best,
 * Shelby 🙂
 *  Thread Starter [Gustavo Cieslar](https://wordpress.org/support/users/gustavodc/)
 * (@gustavodc)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-due-to-javascript-error/#post-8506990)
 * Hi Shelby,
 * thanks for your follow up.
 * No, I haven’t had time to test or debug any more. I just commented all the debug
   calls in the .js files and that solved the problem for now.
 * For some reason, the debug function is not being recognized in my installation.
 * Thanks!
 * Gustavo

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

The topic ‘Map not loading due to JavaScript error’ is closed to new replies.

 * ![](https://ps.w.org/the-events-calendar/assets/icon-256x256.gif?rev=2516440)
 * [The Events Calendar](https://wordpress.org/plugins/the-events-calendar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Gustavo Cieslar](https://wordpress.org/support/users/gustavodc/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/map-not-loading-due-to-javascript-error/#post-8506990)
 * Status: resolved