Geolocation failed to load - how to identify the issue?

Support MB Geolocation Geolocation failed to load - how to identify the issue?Resolved

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #36527
    Prabakaran ShankarPrabakaran Shankar
    Participant

    Hello, my geolocation fields were filled in correctly until this morning. I checked the Google Maps Api, data was pulled until this morning, then no request was made. To identify the problem, I checked the production site in troubleshooting mode with the metabox plugin alone in the twenty twenty theme. Same problem. How to check further and identify the problem.
    In Chrome > dev tools > there is script.

    
    <script type="html/template" class="data-geo" data-geo="{&quot;api_key&quot;:&quot;..hide...&quot;,&quot;types&quot;:&quot;address&quot;}"></script>
    

    No console errors.

    #36536
    Long NguyenLong Nguyen
    Moderator

    Hi,

    Thanks for your feedback.

    I'm also experiencing that issue on my demo site. I will inform the development team to check it and get back to you later.

    #36542
    Prabakaran ShankarPrabakaran Shankar
    Participant

    Thanks for your kind update

    #36626
    Prabakaran ShankarPrabakaran Shankar
    Participant

    Any updates Mr. Long.

    #36633
    Gerard HalliganGerard Halligan
    Participant

    Hi, I'm also experiencing this issue. Is there any update?
    Thanks,
    Ger

    #36656
    Long NguyenLong Nguyen
    Moderator

    Hi guys,

    Can you please make sure that the extension MB Geolocation is enabled on Meta Box > Extensions page?

    #36681
    Prabakaran ShankarPrabakaran Shankar
    Participant

    Yes, I checked that the MB Geolocation extension is enabled on the Meta Box > Extensions page. But still the same problem. I even checked it again in the default WordPress theme without other plugins. Still the same problem.

    #36683
    Gerard HalliganGerard Halligan
    Participant

    It's definitely an issue with the latest update AIO 1.162. I rolled back to 1.15.8 and it's working again.

    #36731
    Long NguyenLong Nguyen
    Moderator

    Hi guys,

    Please share your site credentials via this contact form https://metabox.io/contact/
    I will take a closer look.

    #36732
    Prabakaran ShankarPrabakaran Shankar
    Participant

    Please check your inbox.

    #36751
    Prabakaran ShankarPrabakaran Shankar
    Participant

    Thank you very much for identifying the problem. Please close this ticket.

    #36752
    Long NguyenLong Nguyen
    Moderator

    Hi guys,

    The issue happens due to the field map needs to be available to make other address fields work. I've escalated this issue to the development team to fix it in the next update.

    #36754
    Prabakaran ShankarPrabakaran Shankar
    Participant

    Hello,
    Thank you very much for your immediate support.
    Now it is working fine with the help additional map field.
    Actually, I don't need to load the map in the frontend. Just showing data stored in the database as text.
    But in the frontend it loads 4 (3+1) scripts,

    1. <script src="https://maps.google.com/maps/api/js?key&libraries=places&ver=5.6.4" id="google-maps-js"></script>
    2. <script type="text/javascript" charset="UTF-8" src="https://maps.google.com/maps-api-v3/api/js/49/7/common.js"></script>
    3. <script type="text/javascript" charset="UTF-8" src="https://maps.google.com/maps-api-v3/api/js/49/7/util.js"></script>
    4. <script src="https://nviewscareer.com/wp-content/plugins/meta-box/js/map-frontend.js" id="rwmb-map-frontend-js" defer=""></script>

    which leads to a console warning.
    warning #1: util.js:240 Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
    pv.l @ util.js:240 (anonymous) @ js?key&libraries=places&ver=5.6.4:217 Promise.then (async), (anonymous) @ js?key&libraries=places&ver=5.6.4:217
    warning #2: util.js:240 Google Maps JavaScript API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key

    #36760
    Gerard HalliganGerard Halligan
    Participant

    That's great, thanks 👍

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.