1. PROMO Subscribe our All Access Pass @ 75% OFF & access all our 16+ premium Divi extensions: Divi Block Pro, Carousel Toolkit, etc.LEARN MORE
Dismiss Notice
NEW Divi.Help Pro Carousel AI Toolkit - Magically turn your Divi design into carousel, simply by using our online toolkit. No plugins needed. Now it works with Divi 5 as well!Try our carousel AI toolkit
BEST Divi Block - A revolutionary drag & drop tool to easily mix & match 960+ premade blocks (Light & Dark) to kick start your Divi site design. Special module designs are included as well. Also newly added AI generator & color. Now it works with Divi 5 as well!
Learn More About Divi BlockFree Version ~ 340+ Free Blocks

Solved Divi map module "this page can't load google maps correctly"

Discussion in 'Free Divi Community Forum' started by JohnnyNU, Oct 30, 2018.

  1. JohnnyNU

    JohnnyNU New Member

    I've followed all the suggested tips on how to fix this problem.
    The main problem is that the api key is not even being attached at all to the javascript call.
    there is a plugin for chrome that checks the maps api call, and it states that there is no key attached. (see screenshot)
    we have an api key entered in to divi, it has been setup for billing, and enabled with all the types of uses.
    the api key box shows correctly when viewing the module
    the console has the error "Google Maps JavaScript API warning: NoApiKeys"
    as you can see in the network log, the call to the google api does not contain a key either.
    Screen Shot 2018-10-30 at 13.37.25.png

    Screen Shot 2018-10-30 at 13.28.59.png

    Screen Shot 2018-10-30 at 13.28.59.png
     
    1. PRO MEMBER PERKS Divi Block Pro - 30+ premade custom header designs for you to choose from:View Demo
  2. Divi.Help

    Divi.Help Administrator
    Staff Member

    I tested the chrome plugin on my side. Even if I key in wrong API key, it should still show up. So, something is definitely wrong at your site.

    upload_2018-10-31_11-2-55.png

    upload_2018-10-31_11-3-17.png

    You might want to try to update Divi & Wordpress to the latest version. And if still not working, you might want to disable all your plugins & see if it works.

    If still not working, it's best for you to refer official Divi support about this: https://www.elegantthemes.com/members-area/help/
     
  3. JohnnyNU

    JohnnyNU New Member

    I have the latest wordpress and latest divi

    I deactivated every plugin except divi exteded layout, and divi popup builder and still not working.

    thats when I remembered the child theme...
    I checked the functions file in the child theme folder and found a little function that was stripping out the query parameters. I don't know why that was there, but I commented out the one for javascript and then the query string appeared.
    here's what it looked like
    // remove query string
    //
    function _remove_script_version( $src ){
    $parts = explode( '?', $src );
    return $parts[0];
    }
    //add_filter( 'script_loader_src', '_remove_script_version', 15, 1 );
    add_filter( 'style_loader_src', '_remove_script_version', 15, 1 );
     
    1. PRO MEMBER PERKS Divi Login Customizer Plugin - Instantly beautify your Wordpress login page with 6 premade designs:Learn More