Title: Debug mode shows loop | Google Maps
Last modified: December 2, 2023

---

# Debug mode shows loop | Google Maps

 *  Resolved [AP Webmaster](https://wordpress.org/support/users/aplazer/)
 * (@aplazer)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/debug-mode-shows-loop/)
 * **ISSUE #1 **
 * Our site seems to show a loop when enabling debug mode. I disabled Divi Events
   Calendar and retested and still an issue. I have shared my system info with you.
 *     ```wp-block-code
       [02-Dec-2023 08:08:34 UTC] the-events-calendar/common - Log: Initializing Tribe Events on Dec, 2nd at 08:12:34 am
       [02-Dec-2023 08:08:37 UTC] the-events-calendar/common - Log: Initializing Tribe Events on Dec, 2nd at 08:12:37 am
       ```
   
 * **ISSUE #2** (link for this issue)
 * We have two Google Map issues. The following shows on all pages I believe…
 *     ```wp-block-code
       Google Maps JavaScript API has been loaded directly without a callback. This is not supported and can lead to race conditions and suboptimal performance. For supported loading patterns please see https://goo.gle/js-api-loading
       ```
   
 * The second error loads directly on your page:
 *     ```wp-block-code
       You have included the Google Maps JavaScript API multiple times on this page. This may cause unexpected errors.
       ```
   
 * While I do believe we are using our own API, we have disabled enqueuing Google
   Maps Script in Divi Builder to improve compatibility with third party plugins.
   This leads to me to believe that both map errors could be related to your plugin.
 * Thank you for your help!
    -  This topic was modified 2 years, 6 months ago by [AP Webmaster](https://wordpress.org/support/users/aplazer/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdebug-mode-shows-loop%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Atousa Najafi](https://wordpress.org/support/users/atousanajafi/)
 * (@atousanajafi)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/debug-mode-shows-loop/#post-17248411)
 * Hi,
 * **ISSUE #1**
 * Based on the report, those are not errors, just an initialization log, which 
   is pretty normal. If this option is enabled on **WP > Events > Settings >** **
   Debug mode, **kindly disable it.
 * **ISSUE #**2
 * Make sure to follow this article for API key troubleshooting: [https://theeventscalendar.com/knowledgebase/troubleshooting-google-maps/](https://theeventscalendar.com/knowledgebase/troubleshooting-google-maps/)
 * If the issue persists, there might be a conflict that’s causing the issue here.
   It would be good to test for conflicts. Could you follow the following steps?
    1. Deactivate all other plugins except for The Events Calendar Plugins.
    2. Switching to the[ Default theme](https://codex.wordpress.org/WordPress_Default_Themes).
 * Please read the [Testing for Conflicts](https://theeventscalendar.com/knowledgebase/k/testing-for-conflicts/)
   article before doing anything. 
 * To be safe, we’d recommend conducting tests and updates on a [Staging Server](https://theeventscalendar.com/knowledgebase/k/creating-and-using-a-wordpress-staging-site/).
   Also, please keep a working backup of your website.
 * If you need further assistance, could you provide the following version of the
   following?
    1. PHP
    2. WordPress
    3. The Events Calendar
    4. Theme and Version
 * Best,
 * Atousa
 *  Plugin Support [Darian](https://wordpress.org/support/users/d0153/)
 * (@d0153)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/debug-mode-shows-loop/#post-17256840)
 * Hi there,
 * It appears that we haven’t heard back from you in a while, so I’ll assume that
   the matter has been resolved. If you need any more help, feel free to start a
   new thread and we’ll be happy to assist you.

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

The topic ‘Debug mode shows loop | Google Maps’ 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/)

 * 2 replies
 * 3 participants
 * Last reply from: [Darian](https://wordpress.org/support/users/d0153/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/debug-mode-shows-loop/#post-17256840)
 * Status: resolved