You have included the Google Maps API multiple times on this page. This may cause....

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • matheussousuke
    New Member
    • Sep 2009
    • 249

    You have included the Google Maps API multiple times on this page. This may cause....

    In my page: http://sitesdemo.mghospedagem.com/iv...s/3/33209.html

    I tried disabling a few javascript related to Google Maps, but Chrome Console is still pointing me the same errors, saying I have multiple instances of Google maps loaded.

    I'm getting errors like not calculating the shipping, or not being able to use the map, blah blah blah.

    Can anyone help me find what part of the javascript I have to edit to fix this?

    Here is the log:

    Code:
    Failed to load resource: the server responded with a status of 404 (Not Found)
        main.js:61 Uncaught TypeError: undefined is not a function
        main.js:60 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.main.js:60 yl
        33209.html:9 Uncaught ReferenceError: J is not defined
        VM603:10 Uncaught TypeError: Cannot set property 'geometry' of undefined
        33209.html:1 Uncaught ReferenceError: J is not defined
        33209.html:9 Uncaught ReferenceError: J is not defined
        33209.html:3 Uncaught ReferenceError: J is not defined
        33209.html:6 Uncaught ReferenceError: J is not defined
        http://sitesdemo.mghospedagem.com/ivam-entregas/3/33209/css Failed to load resource: the server responded with a status of 404 (Not Found)

    Here the javascript file described on the log:
    JSFiddle - Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle.
  • matheussousuke
    New Member
    • Sep 2009
    • 249

    #2
    Solved, just had to remove all copies of Google maps files and leave only the original url: http://maps.googleapis.com/maps/api/js?sensor=false

    Comment

    Working...