• Resolved majak222

    (@majak222)


    Hi,
    Thanks for a great plugin.

    I have one problem with it. It looks like js loads twice on my site. First time it loads with the free api key, second time without it. because of that it shows this on every page:

    You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
    $g @ js:100
    autoptimize_f40841a33c59c6a7feb232eb6327b1fd.js:3 JQMIGRATE: Migrate is installed, version 1.4.1
    maps.googleapis.com/maps-api-v3/api/js/28/1/intl/pl_ALL/util.js:209 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
    OA.j @ maps.googleapis.com/maps-api-v3/api/js/28/1/intl/pl_ALL/util.js:209

    Could use some assistance

Viewing 6 replies - 1 through 6 (of 6 total)
  • add ?ao_noptimize=1 to load your page without Autoptimize @majak222, this should allow you to see your original un-optimized HTML which might help you identifying which plugin(s) is (are) adding the GMaps API calls.

    frank (ao dev)

    Plugin Author Saidur Rahman Milon

    (@milonfci)

    Thanks for your query.

    If you could remove default api js that would be better.

    Even if you face problem let me know.

    Best Regards
    Milonfci

    Thread Starter majak222

    (@majak222)

    Thanks for the replies.

    It looks like the problem isn’t with the plugin itself. After turning it off warning “Google Maps API warning: NoApiKeys[..]” is still there. Ergo I have to take a good look on my site to find where it’s coming from.

    Thanks.

    Plugin Author Saidur Rahman Milon

    (@milonfci)

    Ok, Could you share your website URL so that i can have a look and let you know about the problem?

    Thanks

    Thread Starter majak222

    (@majak222)

    LINK Although we have bigger problems (long TTFB) to solve at this moment

    Thread Starter majak222

    (@majak222)

    Yeah I see it too but I have no idea where it’s coming from. The plugin is off atm because as I said we’re looking into long TTFB load and we turn off everything we can. The problem is I didn’t make this site i just “inherited” it from someone and it’s been a real pain in my back ever since :/
    For the time being I’m gonna leave this problem be and search for solution later (or I’ll just make a hole new site…).

    Thanks for your time.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Double load’ is closed to new replies.