New home › Forums › Basic Version › Troubleshooting › Map disappears on mobile/tablet
- This topic has 3 replies, 2 voices, and was last updated 2 years, 1 month ago by Matthew.
-
AuthorPosts
-
August 12, 2021 at 7:34 am #70295sawmriMember
The map suddenly no longer appears on mobile or tablet.
Is there a recent change accounting for this?
How can I troubleshoot?
Thank you
August 12, 2021 at 11:03 am #70301MatthewModeratorHi there,
Thank you for getting in touch with us.
I have run a few tests on your site on a mobile device and it appears that the following attributes are being altered onto the Google API loading script tag which is most likely the cause of the issue:
type="rocketlazyloadscript" data-rocket-type='text/javascript'
With that said, please may you disable WP Rocket on the pages that you display a map and confirm if this resolves the issue?
I look forward to hearing back from you.
Kindest Regards,
MatthewAugust 13, 2021 at 7:13 am #70307sawmriMemberThank you for the response.
I don’t understand the instructions. I can edit that page, and uncheck LazyLoad for iframes/videos, but it doesn’t fix the issue, and there are a bunch of other checkboxes in the edit panel. I do not know which, if any, apply. I also don’t know what you mean by disabling WP Rocket for that page. I don’t know where to do that, and really don’t want to remove the functions of WP Rocket in any event.
Did something change in the plugin? This wasn’t an issue before now.
August 13, 2021 at 7:34 am #70310MatthewModeratorHi there,
Thank you for your response.
As this issue appears to be caused by the WP Rocket plugin adding additional attributes to the Google API loading script, this would suggest that something in WP Rocket has changed/altered the way the Google API is being loaded on your site.
As you have mentioned that you do not want to remove the functions of WP Rocket, please may we request that you reach out to the developers of WP Rocket and request assistance regarding this as they should be able to assist you without deactivating their plugin as they know their plugin best?
I hope this helps?
Kind Regards,
Matthew -
AuthorPosts
- You must be logged in to reply to this topic.