Title: Plugin Creates JS errors
Last modified: August 30, 2016

---

# Plugin Creates JS errors

 *  Resolved [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/plugin-creates-js-errors/)
 * I noticed that if I deactivate the Pro plugin but keep the free plugin I get 
   the same error plus a new one:
 * “You have included the Google Maps API multiple times on this page. This may 
   cause unexpected errors.”
 * and
 * “Uncaught TypeError: Cannot read property ‘offsetWidth’ of undefined”
 * It would seem that this problem is not just isolated to the Pro plugin? I’m going
   to double post this on the WP forum and Pro forum in hopes that someone can address
   the problem.
 * Note – These errors are occurring on a search results page that has no maps, 
   but is not occurring on any pages with a map.
 * Thanks,
    Deb
 * [https://wordpress.org/plugins/wp-google-maps/](https://wordpress.org/plugins/wp-google-maps/)

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

 *  Thread Starter [debsher](https://wordpress.org/support/users/debsher/)
 * (@debsher)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/plugin-creates-js-errors/#post-6831065)
 * This problem has been solved thanks to WP Google Maps support. Thanks!
 *  Plugin Author [WPGMaps](https://wordpress.org/support/users/wpgmaps/)
 * (@wpgmaps)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/plugin-creates-js-errors/#post-6831170)
 * Hi Deb.
 * So glad to hear. Thank you for getting in touch with us via email 🙂

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

The topic ‘Plugin Creates JS errors’ is closed to new replies.

 * ![](https://ps.w.org/wp-google-maps/assets/icon-256x256.png?rev=3058363)
 * [WP Go Maps (formerly WP Google Maps)](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/)
 * [js](https://wordpress.org/support/topic-tag/js/)

 * 2 replies
 * 2 participants
 * Last reply from: [WPGMaps](https://wordpress.org/support/users/wpgmaps/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/plugin-creates-js-errors/#post-6831170)
 * Status: resolved