Google maps not working on mobile design

This topic has 8 replies, 3 voices, and was last updated 3 weeks, 2 days ago ago by Luca Rossi

  • Avatar: Marko Domic
    Marko Domic
    Participant
    August 27, 2024 at 08:39

    Hello XStore Support Team,

    I’m experiencing an issue with the Google Maps integration on my website’s contact page, which uses the XStore theme.

    The problem is that Google Maps sometimes doesn’t load on the desktop version of the page, and it never loads on the mobile version. I’ve tried different browsers and devices, but the issue persists.

    Could you please help me resolve this problem?

    Thank you for your assistance.

    Best regards,
    Marko Domić.

    Please, contact administrator
    for this information.
    Files is visible for topic creator and
    support staff only.
    7 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    August 27, 2024 at 11:08

    Hello, @Marko Domic,

    Thank you for contacting us and for using XStore.

    We suggest disabling all third-party plugins (including cache plugins and CDN ) that do not come bundled with XStore (https://xstore.helpscoutdocs.com/article/36-included-plugins ), clearing the cache of the browser, and then checking again. It is possible that one of the additional plugins is causing the issue.

    If the issue still persists, please keep all third-party plugins deactivated on your site and grant permission to debug your site, which includes deactivating all third-party plugins and on-site Customization. This will allow us to investigate and assist you accordingly.

    Please note that you should take a complete backup of your site before proceeding.

    In addition, please provide your site’s WP Admin URL and credentials in the private content area of this topic, so that we can look into it further and help you:

    WP Admin URL:
    WP Admin Username:
    WP Admin Password:

    Thank you for your cooperation and we look forward to hearing from you soon.

    Best Regards,
    8Theme’s Team

    Please contact administrator
    for this information.
    Avatar: Marko Domic
    Marko Domic
    Participant
    August 27, 2024 at 11:13

    Hi, I’ve provided admin account in private content area. I need to point out that I had this issue before caching and all other plugins.

    Best regards,
    Marko Domić.

    Please contact administrator
    for this information.
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    August 27, 2024 at 14:02

    Hello, @Marko Domic,

    Thank you for your response.

    We are pleased to inform you that the issue you reported has been successfully resolved. We kindly request that you clear your browser’s cache and revisit your site to observe the changes. Our team has regenerated the CSS and Data via Elementor > Tools, which has addressed the concern.

    For your reference, we have uploaded images in the private content area of our support portal.

    Additionally, we recommend that you temporarily disable the CDN and server cache on your site while it is still under development. This action will allow you to see changes in real-time.

    We hope you find this information helpful. Should you have any further inquiries or require additional assistance, please do not hesitate to contact us.

    Best Regards,
    The 8Theme Team

    Please contact administrator
    for this information.
    Avatar: Marko Domic
    Marko Domic
    Participant
    August 27, 2024 at 14:25

    Thank you so much! Now, google maps are visible, but not every time. So, if we do couple of times refresh of the same window, sometimes, map is there and sometimes it isn’t. I’m not sure why this is happening, as it doesn’t make sense that it works from time to time.

    Best regards,
    Marko Domić.

    Avatar: Marko Domic
    Marko Domic
    Participant
    August 28, 2024 at 07:01

    So, whenever that happens, that map is not showing, I’m seeing this error in browser console:

    TypeError: Cannot read properties of undefined (reading 'DEFAULT')
        at GoogleMap (google-map.js?ver=5.3.18:28:67)
        at _runHook (frontend.min.js?ver=3.23.4:2:35220)
        at Object.doAction (frontend.min.js?ver=3.23.4:2:35822)
        at e.exports.runReadyTrigger (frontend.min.js?ver=3.23.4:2:4247)
        at frontend-modules.min.js?ver=3.23.4:2:1107
    Avatar: Marko Domic
    Marko Domic
    Participant
    August 28, 2024 at 07:32

    I’ve also noticed that this happens when, for example, if someone opens this site for the first time (let’s say home page) and after that that open contact page. In this scenario, map won’t be loaded. But if you refresh the page, map will be loaded, as well as every other time when you open contact page. So the problem is probably loading it for the first time.

    Avatar: Justin
    Luca Rossi
    Support staff
    August 28, 2024 at 08:34

    Dear Marko Domic,

    We hope this message finds you well. We would like to inform you that we have observed the JavaScript error on your website as well. In response, we have implemented a hotfix to address the issue.

    We suggest monitoring the contact page to determine if the error reoccurs. Please do not hesitate to reach out should you have any further concerns or require additional assistance.

    Best Regards,
    The 8Theme Team

  • Viewing 8 results - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.