Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #962661

    Hi, I included a Google maps element on my website though its not showing/ working…I found some articles stating tat you had issues with the element but they are dating from 2016. What am I doing wrong and is there an easy way to solve it? Thanks and regards, Marijke

    #962736

    Hey Marijke82,
    We are not typically having issues right now, but Google now requires your payment info, I assume you have an account with them and have a new API with them.
    Can you please include a admin login in the private content area so we can take a closer look.

    Best regards,
    Mike

    #962790

    Hi, I do have the same problems today, but not on every website, just on some.
    Two days before, everything was fine.
    I’ve got new API keys, in some cases it works and on other websites it still doesn’t work.
    I’ve thought that the payment info will be required not before June.

    Many thanks and best regards,
    Petra

    #962868

    Hi,
    I thought so too, but there seems to be too many people with this issue. Yet on our test sites we can’t reproduce the issue.

    Best regards,
    Mike

    #963122

    Hi Mike,

    I found the problem …. the API key is loaded with blank spaces:
    avia_framework_globals.gmap_api = ‘ AIzaSyAwMFkkQ1ZIyq4Bd0ab7CFy6aUxdDSDIho’;
    It would be glad to know which file I could edit to solve the problem. Would you please help Marijke82 and me?

    Many thanks,
    Petra

    #963245

    Hi Petra,

    Can you try the solution posted on this thread: https://kriesi.at/support/topic/parse-error-when-updating-to-latest-version/#post-963219
    Hope this helps :)

    Best regards,
    Nikko

    #963290

    Hi Nikko,

    many thanks for your reply. I’ve just replaced the file but it didn’t help. Do you know in which file I can remove the space in front of the API key (the source code shows a space which is not normal)? This seems to be the solution.

    Best regards,
    Petra

    #964030

    Hi Petra,

    You should see the code in this file: enfold > framework > php > class-gmaps.php (line 345):

    avia_framework_globals.gmap_api = '" .$api_key . "';

    I don’t really see any spaces within the code, can you give us a link to the page that uses google maps so we can take a closer look.

    Best regards,
    Nikko

    #964084

    Hi Nikko,
    you’re great! I will never forget this file (in my case the code is placed on line 79)! The spaces are deleted and the maps are working like they did before.
    Thank you sooooo much! :)
    Best regards,
    Petra

    #964418

    Hi Petra,

    Glad that we could help. :)
    Just remember any modifications done in the parent theme (Enfold) will be removed during theme update, if the issue is still there on the next patch just apply it again.
    Thanks also for using Enfold :)

    Best regards,
    Nikko

    #964421

    Hi Nikko,
    yes, I know! No problem!
    Many thanks again & best regards,
    Petra

    #964594

    Hi,
    Glad Nikko could help, we will close this now. Thank you for using Enfold.

    For your information, you can take a look at Enfold documentation here
    and the video tutorials here
    And if there are features that you wish Enfold had, you can request them and vote the requested ones here
    For any other questions or issues, feel free to start new threads under Enfold sub forum and we will gladly try to help you :)

    Best regards,
    Mike

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Google maps element not working’ is closed to new replies.