This topic has 4 replies, 2 voices, and was last updated 8 years by Laura.

  • Author
  • #127133
     aaharraz
    Participant

    When I open contact page I receive the following error and I can’t see the map. Kindly Advise

     

     

    Oops! Something went wrong. This page didn’t load Google Maps correctly. See the JavaScript console

    #127270
     Laura
    Moderator

    Please update the theme to latest version and the afferent plugins, you can check the plugin update status from wp-admin -> appearance -> install plugins.

    If this is useless please follow these steps to enable wp debug:

    •  Connect to your server by FTP
    • Look in root directory of your WordPress install and open wp-config.php
    • Search for define( ‘WP_DEBUG’, false ); and change FALSE value to TRUE
    COPY CODE
    define( 'WP_DEBUG', true );
    
    •   After this line add this:
    COPY CODE
    define( 'WP_DEBUG_LOG', true );
    

    WP_DEBUG_LOG is a companion to WP_DEBUG that causes all errors to also be saved to a debug.log log file inside the /wp-content/ directory. This is useful if you want to review all notices later or need to view notices generated off-screen (e.g. during an AJAX request or wp-cron run).

    Repeat the described actions and then check the debug.log file and let me know what error appears.

    If this is useless please try to deactivate additional plugins except Visual Composer, K-elements, BuddyPress, Paid memberships pro and revolution slider.

    After you have disabled the plugins try to see if the error persists.

    Cheers

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

    #127778
     aaharraz
    Participant
    This reply has been set as private.
    #127834
     aaharraz
    Participant

    At the end I found the solution:

    Google changed their link to include Google Map Keys, So,

    public_html/wp-content/themes/sweetdate/page-templates/Contact.php

    find
    <script src=”https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false”></script&gt;

    then add the key to be like that

    find <script src=”https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&key=AIzasssss-AyusuHfejje744y-kxS5ywH7MALHVzms”></script

    the Key above shall be from

    https://console.developers.google.com

    #128001
     Laura
    Moderator

    Oh glad you could resolve it! I am sure it will help others

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    Laura Solanes - Graphic Designer and Web Designer

    Please be patient as I try to answer each topic as fast as i can.

    If you like the theme or the support you've received please consider leaving us a review on Themeforest!

    Always happy to help you 🙂

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.

Log in with your credentials

Forgot your details?