Okay
  Public Ticket #1600654
Google Maps api error
Closed

Comments

  • Marko Hofmann started the conversation

    Hi,

    I have 2 problems:

    I have an old version of Sailient installed: 8.5.0

    Google Maps doesn't work anymore:
    Console:
    Google Maps JavaScript API error: InvalidKeyMapError

    In the Sailient General Settings the key is still included and it should load.

    Maybe it was the old way the api key was included? I don't know. 
    Maybe you can tell me more?



    There is no child theme installed and I am afraid of updating. Was there any security updates since the version 8.5.0? What are the risks?

    Best regards

  •  9,016
    Tahir replied

    Please update to Salient Theme Version 8.5.6

    To get a list of Bug Fixes and new Feature addons in the Latest Theme update,  the changelog can be viewed here : http://themenectar.com/changelogs/salient.html .

    Update the theme by following this guide: http://themenectar.com/docs/salient/updating-salient/ .

    Best.


    ThemeNectar Support Team 

  • Marko Hofmann replied

    Please answer my questions more in detail:

    I told you the transition may come with difficulties. I only want to update if its really necessary. Because I don't know what was changed.
    The update just overwrites the hole salient folder correct? When I install the Child Theme afterwards it should work just fine, correct? Are all the settings in the database?

    Do you think the Google Maps error is caused by an outstanding update?

    I can't find any security updates in the change log.

  •  3,034
    Andrew replied

    Hi Marko,

    The InvalidKeyMapError  error seems to be linked to an API key that is not correct i.e. https://developers.google.com/maps/documentation/javascript/error-messages

    Could you generate a new one a suggested on that page.

    And to clarify what happens in an update, the theme folder i.e. wp-content \ themes \ salient  is replaced with a new one which contains the latest theme files.

    If you have modifications in those theme files i.e. PHP, JS or CSS files in that folder they will be overridden and lost. If you want to preserve such modifications you want to use a child theme.

    The settings in the salient options panel are saved in the database and are not overridden by and update.

    So in short try to check that issue with the API key first, try and generate a new one and use that one instead.
    Hope this clears things up.