Conflict google js with other plugin

This topic contains 14 replies, has 3 voices, and was last updated by  Marcos Milani 7 years, 3 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #320788

    Marcos Milani
    Free User
    Post count: 26

    Hi, guys.

    I’ using your plugin for directory and another plugin to make routes on my site. http://www.rocknroads.com.br, and i have some problems with the routes didn’t appearm check this link to chek, so I contact the route plugin support and they answered me this, about the conflict

    “the route didn’ appear – this is conflict with the Geodirectory plugin which is embedding the Google Maps Javascript API on every page even if it’s not needed. The JS error message is: You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
    Please disable Geodirectory plugin or ask the plugin’s author to fix this and embed Google Maps Javascript API only when it’s needed.”

    I tryied to disable the the directory plugin and it work.

    You can help me?

    Thanks

    #321048

    Kor
    Moderator
    Post count: 16516

    Hi Marcos,

    Do you think you can share WP temp admin access to your site so we can take a better look? You can post the details here using the private reply option below. Also, please list down the steps in order to recreate the issue.

    Thanks!

    #321286

    Marcos Milani
    Free User
    Post count: 26
    This reply has been marked as private.
    #321998

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    I have added a snippet to remove the other google api call but it is not working, do you have some sort of caching active?

    Stiofan

    #322361

    Marcos Milani
    Free User
    Post count: 26

    No any caching is active. How can we solve this?

    #322520

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please provide FTP and i will have a look.

    Thanks,

    Stiofan

    #327077

    Marcos Milani
    Free User
    Post count: 26
    This reply has been marked as private.
    #327107

    Marcos Milani
    Free User
    Post count: 26
    This reply has been marked as private.
    #328355

    Marcos Milani
    Free User
    Post count: 26
    This reply has been marked as private.
    #328359

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Please check now, there are still JS errors but it seems to be working.

    Stiofan

    #328364

    Marcos Milani
    Free User
    Post count: 26

    Now it’s working correctly, what happened, it can happen again?
    Thanks a lot.

    #328368

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Two google api calls are being called with different arguments, removing the trails one broke things so instead i added some more params to our call. I added changes as a code snippet so it should work long term, but if you see any problems just let us know.

    Thanks,

    Stiofan

    #348558

    Marcos Milani
    Free User
    Post count: 26

    Hey Guys, the same problem is happening again, can you take a look on this please..

    #349298

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    It says your map key has expired “The API key included in the script element that loads the API has expired. You may need to generate a new API key in the Google API Console.”

    Please go to GD>Design>MPas and generat a new one and save it.

    Stiofan

    #349777

    Marcos Milani
    Free User
    Post count: 26

    Thanks, now it’s working again..

Viewing 15 posts - 1 through 15 (of 15 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket