{"id":6580807,"date":"2015-09-24T12:52:11","date_gmt":"2015-09-24T12:52:11","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/javascript-errors-on-pages-without-maps\/"},"modified":"2016-08-30T18:22:25","modified_gmt":"2016-08-30T18:22:25","slug":"javascript-errors-on-pages-without-maps","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/javascript-errors-on-pages-without-maps\/","title":{"rendered":"Javascript errors on pages without maps"},"content":{"rendered":"<p>Hi &#8211;<\/p>\n<p>I posted this on the Pro forum yesterday, but no reply yet.<\/p>\n<p>Your plugin is causing multiple javascript errors on some pages that don&#8217;t contain the map.   Here are 2 errors:<\/p>\n<p>Script error.https:\/\/maps.google.com\/maps-api-v3\/api\/js\/22\/6\/main.js line 0<\/p>\n<p>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<\/p>\n<p>I really need help with this.  It&#8217;s causing my navigation menu plugin to not work on the pages with the error.<\/p>\n<p>Thanks in advance for your help.<br \/>\nDeb Sher<\/p>\n<p>https:\/\/wordpress.org\/plugins\/wp-google-maps\/<\/p>\n","protected":false},"template":"","class_list":["post-6580807","topic","type-topic","status-publish","hentry","topic-tag-javascript-errors"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6580807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/6580807\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=6580807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}