• Hello,

    This week I’ve got an email from Google saying that my Google API key is accessible on a certain page. Looking at the source-code (see below), learns that its part of the AVIA framework, used by Enfold theme. Everything is. up to date, the Google key is restricted. How can I solve this?

    Regards,

    Erwin

    var avia_framework_globals = avia_framework_globals || {};
    	avia_framework_globals.gmap_api = '********';
    	avia_framework_globals.gmap_version = '3.52';
    	avia_framework_globals.gmap_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.52&key=********&callback=aviaOnGoogleMapsLoaded';
    	avia_framework_globals.gmap_builder_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.52&key=***********&callback=av_builder_maps_loaded';
    	avia_framework_globals.gmap_backend_maps_loaded = 'https://maps.googleapis.com/maps/api/js?v=3.52&callback=av_backend_maps_loaded';
    	avia_framework_globals.gmap_source = 'https://maps.googleapis.com/maps/api/js?v=3.52&key=*******';
    	avia_framework_globals.gmap_avia_api = 'https://*******/wp-content/themes/enfold/framework/js/conditional_load/avia_google_maps_api.js';
    /* ]]> */
Viewing 2 replies - 1 through 2 (of 2 total)
  • If you’ve restricted the key to your own domain(s), then this should not be an issue. It’s not possible to access your Google account with the API key.

    In any case, this is with the Enfold theme, which is a commercial product.

    We don’t have access to the code of commercial products here at www.remarpro.com, so you’ll need to reach out to your commercial theme vendor for help with this: https://kriesi.at/support/

    Good luck!

    Thread Starter erwin_m

    (@erwin_m)

    Thanks for your reply. It is indeed a commercial product, but my support period is expired. I wouldn’t like buying a new license just for solving this issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with theme displaying Google API key’ is closed to new replies.