Title: Google Maps API Error
Last modified: May 17, 2017

---

# Google Maps API Error

 *  Resolved [boombuzzer](https://wordpress.org/support/users/boombuzzer/)
 * (@boombuzzer)
 * [9 years ago](https://wordpress.org/support/topic/google-maps-api-error-4/)
 * Good Day,
 * I have a real estate website and I am using my real estate plugin which uses 
   an API and then Advanced Classifieds which also uses and API.
 * The problem of course comes from the fact that two scripts are loaded and popping
   out an error. Is there a way that I can disable the API (not the map entirely
   from ACAD coz I need it) but just the instance when the page loads so that ACAD
   doesn’t load an API?
 * Here is my error:
    You have included the Google Maps API multiple times on this
   page. This may cause unexpected errors.

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

 *  Plugin Author [pluginsware](https://wordpress.org/support/users/pluginsware/)
 * (@pluginsware)
 * [9 years ago](https://wordpress.org/support/topic/google-maps-api-error-4/#post-9143423)
 * Just add the following code in your theme’s functions.php file,
 *     ```
       function acadp_dequeue_scripts() {
       	wp_dequeue_script( ACADP_PLUGIN_NAME.'-google-map' );
       }
       add_action( 'wp_print_scripts', 'acadp_dequeue_scripts', 100 );
       ```
   
 * Hope, this solved your issue!
 *  Thread Starter [boombuzzer](https://wordpress.org/support/users/boombuzzer/)
 * (@boombuzzer)
 * [9 years ago](https://wordpress.org/support/topic/google-maps-api-error-4/#post-9143704)
 * Hi, thanks for your response.
 * Although this makes sense, it just breaks the site completely where I cannot 
   even go into the front-end or back-end.
 * Am I putting it in the wrong place maybe?
 *  Plugin Author [pluginsware](https://wordpress.org/support/users/pluginsware/)
 * (@pluginsware)
 * [9 years ago](https://wordpress.org/support/topic/google-maps-api-error-4/#post-9150909)
 * Strange. Kindly [submit a ticket](https://pluginsware.com/submit-a-ticket/) in
   our website. So, we can get some access details of your website privately and
   do this on our own.

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

The topic ‘Google Maps API Error’ is closed to new replies.

 * ![](https://ps.w.org/advanced-classifieds-and-directory-pro/assets/icon-128x128.
   png?rev=1506527)
 * [Advanced Classifieds & Directory Pro](https://wordpress.org/plugins/advanced-classifieds-and-directory-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-classifieds-and-directory-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-classifieds-and-directory-pro/reviews/)

## Tags

 * [google maps api](https://wordpress.org/support/topic-tag/google-maps-api/)

 * 3 replies
 * 2 participants
 * Last reply from: [pluginsware](https://wordpress.org/support/users/pluginsware/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/google-maps-api-error-4/#post-9150909)
 * Status: resolved