Title: Javascript errors on pages without maps
Last modified: August 30, 2016

---

# Javascript errors on pages without maps

 *  Resolved [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-errors-on-pages-without-maps/)
 * Hi –
 * I posted this on the Pro forum yesterday, but no reply yet.
 * Your plugin is causing multiple javascript errors on some pages that don’t contain
   the map. Here are 2 errors:
 * Script error.[https://maps.google.com/maps-api-v3/api/js/22/6/main.js](https://maps.google.com/maps-api-v3/api/js/22/6/main.js)
   line 0
 * TypeError: MYMAP[wpgmaps_localize[entry].id].map is nullhttp://informavore.com/
   testing/lwdesign4/wp-content/plugins/wp-google-maps-pro/js/core.js?ver=5.60p 
   line 1504
 * I really need help with this. It’s causing my navigation menu plugin to not work
   on the pages with the error.
 * Thanks in advance for your help.
    Deb Sher
 * [https://wordpress.org/plugins/wp-google-maps/](https://wordpress.org/plugins/wp-google-maps/)

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

 *  Thread Starter [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-errors-on-pages-without-maps/#post-6580873)
 * Here’s one more error:
 * TypeError: Cannot read property ‘offsetWidth’ of undefined
 *  Plugin Author [WPGMaps](https://wordpress.org/support/users/wpgmaps/)
 * (@wpgmaps)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-errors-on-pages-without-maps/#post-6580958)
 * Hi Deb.
 * Sorry for only getting back to you now. We’ve responded to your topic on our 
   Pro forums.
 *  Thread Starter [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-errors-on-pages-without-maps/#post-6581053)
 * It’s been 6 days and still no assistance. Can someone please help?
 *  Thread Starter [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-errors-on-pages-without-maps/#post-6581057)
 * I’m going to post these details again hoping that someone might have some insight.
   These javascript errors are causing one of my other plugins not to work. Does
   anyone know how to fix them? Thanks.
 * Uncaught TypeError: Cannot read property ‘offsetWidth’ of undefined
    5core.js:
   1504 Uncaught TypeError: Cannot read property ‘getCenter’ of null 150core.js?
   ver=5.60p:1504 Uncaught TypeError: Cannot read property ‘getCenter’ of null(anonymous
   function) @ core.js?ver=5.60p:1504
 *  [styzer](https://wordpress.org/support/users/styzer/)
 * (@styzer)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-errors-on-pages-without-maps/#post-6581059)
 * Hi debsher,
 * Did you see WPGMaps reply above? They responded to your topic on their Pro forum…
 * Hope this helps! Le us know the solution if you can…
 *  Thread Starter [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-errors-on-pages-without-maps/#post-6581060)
 * Thanks. They responded days ago only asking for a link, which I sent, and then
   nothing. Very disappointing support for a premium plugin.
 * Thanks!
    Deb
 *  Plugin Author [WPGMaps](https://wordpress.org/support/users/wpgmaps/)
 * (@wpgmaps)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-errors-on-pages-without-maps/#post-6581061)
 * Hi there.
 * My sincerest apologies for only getting back to you now.
 * We have had a very slow week due to running very thin on capacity due to team
   members being on sick and study leave. I sincerely apologize for this.
 * As this forum only supports the Basic version of our plugin, please get in touch
   with me via the contact page ([http://www.wpgmaps.com/contact-us/](http://www.wpgmaps.com/contact-us/))
   and add **URGENT** to the subject line so that I can sort this out for you as
   soon as possible.
 * Once again, I sincerely apologize for the delay and any inconvenience caused.

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

The topic ‘Javascript errors on pages without maps’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-maps/assets/icon-256x256.png?rev=3058363)
 * [WP Go Maps - Most Popular Map Plugin](https://wordpress.org/plugins/wp-google-maps/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-google-maps/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-google-maps/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-google-maps/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-google-maps/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-google-maps/reviews/)

## Tags

 * [javascript errors](https://wordpress.org/support/topic-tag/javascript-errors/)

 * 7 replies
 * 3 participants
 * Last reply from: [WPGMaps](https://wordpress.org/support/users/wpgmaps/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/javascript-errors-on-pages-without-maps/#post-6581061)
 * Status: resolved