Title: Google map not rendering
Last modified: August 24, 2016

---

# Google map not rendering

 *  Resolved [KhidhaBoy](https://wordpress.org/support/users/khidhaboy/)
 * (@khidhaboy)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/google-map-not-rendering/)
 * Hi
 * All plugins and WP upto date, also using woocommerce.
 * Noticed that on individual events that non of the maps are loading – just a grey
   box? Can’t see any errors using Chrome developer toolbar either.
 * [http://washyourhands.co.uk/exhibition/ips-north-west-branch-conference-2015/](http://washyourhands.co.uk/exhibition/ips-north-west-branch-conference-2015/)
 * Any clues please?
 * p.s if I try to deactivate woocommerce the Events Plugin also messes up…
 * thanks
 * [https://wordpress.org/plugins/the-events-calendar/](https://wordpress.org/plugins/the-events-calendar/)

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

 *  Plugin Contributor [Brian](https://wordpress.org/support/users/brianjessee/)
 * (@brianjessee)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122488)
 * Hi,
 * Sorry for the issues.
 * Do any maps work or is it just this one?
 * Also, it looks like you have html minification on and perhaps css and js.
 * If you turn that off does it fix the issue?
 *  Thread Starter [KhidhaBoy](https://wordpress.org/support/users/khidhaboy/)
 * (@khidhaboy)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122489)
 * Hi Brian,
 * I’ve tried that – turned off minify in W3TC – still no maps.
 * Its all off the event items – non of the maps load.
 * any ideas?
 *  Plugin Contributor [Brian](https://wordpress.org/support/users/brianjessee/)
 * (@brianjessee)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122491)
 * Hi,
 * Sorry for the issues you are having. Do you have a link so we can see the issue?
 * I am still seeing the minification and caching so not sure if that helped.
 * I would also suggest following out testing for conflicts guide to see if that
   can help narrow down the issue:
 * [https://theeventscalendar.com/knowledgebase/testing-for-conflicts/](https://theeventscalendar.com/knowledgebase/testing-for-conflicts/)
 * Let us know what you find out.
 * Thanks
 *  Thread Starter [KhidhaBoy](https://wordpress.org/support/users/khidhaboy/)
 * (@khidhaboy)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122523)
 * HI
 * Tried turning off W3TC completely – still no maps.
 * Switched themes to Twenty Twelve and maps started to work again. When I compared
   the div “tribe-events-gmap” in Twenty Tweleve I noticed that it had a number 
   at the end.
 * ie `<div id="tribe-events-gmap-0">`
 * When I viewed the div in my theme I had:
    `<div id="tribe-events-gmap-Some random
   text">`
 * The random text was being generated in map.php line 17:
 *     ```
       <div id="tribe-events-gmap-<?php esc_attr_e( $index ) ?>" style="<?php esc_attr_e( $style ) ?>"></div><!-- #tribe-events-gmap-<?php esc_attr_e( $index ) ?> -->
       ```
   
 * So now I’ve copied map.php to my child theme and replaced that line with:
 *     ```
       <div id="tribe-events-gmap-0" style="<?php esc_attr_e( $style ) ?>"></div><!-- #tribe-events-gmap-0 -->
       ```
   
 * Now all maps work.
 * Whats the significance of `<?php esc_attr_e( $index ) ?>`?
    thanks
 *  [gburnett](https://wordpress.org/support/users/gburnett/)
 * (@gburnett)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122573)
 * I am having the same issue now. Google maps is not rendering in the event page–
   but if you click +google link it does load up google map page.
 * The google maps were rendering fine up until recently.
 *  [gburnett](https://wordpress.org/support/users/gburnett/)
 * (@gburnett)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122574)
 * I am using WP Theme Magazine Pro with Genesis Framework.
 *  [tuastad](https://wordpress.org/support/users/tuastad/)
 * (@tuastad)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122590)
 * same problem here.Using a timber/twig theme (not develop by myself)
    Any ideas(
   site is not public so unfortunately no links.
 * Regards
 *  [Brook](https://wordpress.org/support/users/brook-tribe/)
 * (@brook-tribe)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122594)
 * Thanks for sharing your solution KhidhaBoy. THat was a really good catch. It 
   is very likely the source of everyone’s problem here. Have you guys tried that
   solution as well?
 * – Brook
 *  [NicholeMS](https://wordpress.org/support/users/nicholems/)
 * (@nicholems)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122613)
 * Can someone share where the map.php can be found? I can’t find it anywhere and
   this has been causing me issues for weeks.
 *  Thread Starter [KhidhaBoy](https://wordpress.org/support/users/khidhaboy/)
 * (@khidhaboy)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122614)
 * [@nicholems](https://wordpress.org/support/users/nicholems/) – you’ll find it
   in “plugins/the-events-calendar/views/modules/map.php”
 * I then copied and moved it into my child-theme:
    “themes/child-theme/tribe-events/
   modules/map.php”
 * Then make the tweak as per my previous post.
 * best of luck – hopefully there will be a proper fix soon!
 *  [David Foreman](https://wordpress.org/support/users/davros20/)
 * (@davros20)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122615)
 * [@brook](https://wordpress.org/support/users/brook/)
 * Tried this, no joy – seeing the maps fine in Chrome/Firefox – no map in Safari.
 *  [NicholeMS](https://wordpress.org/support/users/nicholems/)
 * (@nicholems)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122616)
 * Thanks [@khidhaboy](https://wordpress.org/support/users/khidhaboy/)!
 * Unfortunately, the fix didn’t work for me. I can see the code change when I look
   at the page now but the map still isn’t showing. 🙁 Thanks for your help though,
   much appreciated. Glad something worked for you. 🙂
 *  [Brook](https://wordpress.org/support/users/brook-tribe/)
 * (@brook-tribe)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122618)
 * Howdy David,
 * Would you mind opening up your own topic and thoroughly detail your problem? 
   Per the forum rules on wordpress.org you should start your own topic, unless “
   you are using the same version of WordPress on the same physical server hosted
   by the same hosts with the same plugins, theme, and configurations as the original
   poster”. Having your own topic helps ensure that each person gets the topics 
   full attention and no one’s unique details get accidentally ignored.
 * Cheers!
    – Brook

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

The topic ‘Google map not rendering’ 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/)

 * 13 replies
 * 7 participants
 * Last reply from: [Brook](https://wordpress.org/support/users/brook-tribe/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/google-map-not-rendering/#post-6122618)
 * Status: resolved