• Resolved dobriku

    (@dobriku)


    I constantly keep recieving this warning

    js?key=:98 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.
    Bh @ js?key=:98 
     Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
    fC.j @ util.js:237
    (anonymous) @ js?key=:146
    (anonymous) @ js?key=:62
    (anonymous) @ js?key=:60
    (anonymous) @ js?key=:62
    (anonymous) @ js?key=:124
    (anonymous) @ js?key=:60
    (anonymous) @ js?key=:124
    (anonymous) @ js?key=:60
    (anonymous) @ js?key=:124
    $d @ js?key=:62
    Zd.va @ js?key=:124
    (anonymous) @ util.js:1
    util.js:237 Google Maps API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key
    fC.j @ util.js:237
    (anonymous) @ js?key=:146
    (anonymous) @ js?key=:62
    (anonymous) @ js?key=:60
    (anonymous) @ js?key=:62
    (anonymous) @ js?key=:124
    (anonymous) @ js?key=:60
    (anonymous) @ js?key=:124
    (anonymous) @ js?key=:60
    (anonymous) @ js?key=:124
    $d @ js?key=:62
    Zd.va @ js?key=:124
    (anonymous) @ util.js:1
    js?key=:38 Google Maps API error: MissingKeyMapError https://developers.google.com/maps/documentation/javascript/error-messages#missing-key-map-error
    _.Kb @ js?key=:38
    (anonymous) @ common.js:54
    (anonymous) @ common.js:176
    c @ common.js:47
    (anonymous) @ AuthenticationService.Authenticate?1shttps%3A%2F%2Fwebsite%2F&callback=_xdc_._fsisd5&token=7271:1
Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter dobriku

    (@dobriku)

    temporary removed that from premium-addons-for-elementor.php

                $premium_maps_api = get_option( 'pa_save_settings' )['premium-map-api'];
                $premium_maps_disable_api = get_option( 'pa_save_settings' )['premium-map-disable-api'];
                
                if ($premium_maps_disable_api == 1) {
                    wp_enqueue_script('google-maps-script','https://maps.googleapis.com/maps/api/js?key='.$premium_maps_api , array('jquery'), '1.0', false);
                } else {
                    wp_enqueue_script('google-maps-script','https://maps.googleapis.com/maps/api/js?key=' , array('jquery'), '1.0', false);
                }
    Plugin Author Leap13

    (@leap13)

    Hello,
    There is an option to disable it from PA plugin settings, Did you try it?
    Regards
    Leap13 Team

    Thread Starter dobriku

    (@dobriku)

    Ofcourse i did πŸ™‚ The key kept to load πŸ™

    Plugin Author Leap13

    (@leap13)

    Can you tell me what other active plugins do you have? and do you know if one of them or the theme is using Google API?

    Thread Starter dobriku

    (@dobriku)

    Well here is real estate plugin and yes it has Google api integrated …

    Plugin Author Leap13

    (@leap13)

    Thank you for the info we will try to reproduce the problem and get back to you by tomorrow πŸ™‚

    Plugin Author Leap13

    (@leap13)

    Hello,
    We were able to allocate the bug. Will be fixed with the next update. Stay tuned πŸ™‚
    Cheers,
    Leap13 Team

    Thread Starter dobriku

    (@dobriku)

    Awesome ! Thanks πŸ™‚

    Plugin Author Leap13

    (@leap13)

    Hello,
    We released the update with the fix, please update and feed me back πŸ™‚

    Thread Starter dobriku

    (@dobriku)

    Yeah! Your fix did the job πŸ™‚
    Thanks for the support πŸ™‚

    Plugin Author Leap13

    (@leap13)

    You are always welcome πŸ™‚

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

The topic ‘Can’t disable google maps file loading’ is closed to new replies.