This topic has 8 replies, 3 voices, and was last updated 2 months, 2 weeks ago ago by Luca Rossi
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ć.
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://www.8theme.com/documentation/xstore/plugins/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
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ć.
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
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ć.
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
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.
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
You must be logged in to reply to this topic.Log in/Sign up