This topic has 6 replies, 2 voices, and was last updated 1 years, 3 months ago ago by Rose Tyler
I am getting this error
ERROR: Uncaught (in promise) TypeError: Failed to execute ‘addAll’ on ‘Cache’: Request failed on line sw.js.1
in console while running website in toggle mode on chrome (Mobile View).
Also when checking sources, the “offline.html” file is returning status code 404 at initiator sw.js.31.
These errors are being displayed while opening the shop page from the hamburger menu.
Pls check what are these AMP Files and Offline_Pages Issue.
Hello, Manish,
Thank you for getting in touch with us.
Please check how it works when the default WooCommerce theme – Storefront is activated on the site.
Let us know the result.
Kind Regards,
8theme team
Hi
Is it necessary to switch themes as all the work I have done has been on the Xstore theme only? The errors mentioned above are being shown only in mobile view of the website. They are not showing on desktop version, just only on mobile version.
Thanks
Hello, Manish,
We ask you to switch themes to find out if the problem comes from our theme or from somewhere else.
Kind Regards,
8theme team
Hi
I switched theme and tried but the error didn’t resolved. After that I tried deactivating the XStore AMP Plugin and the website started working properly. It seems the errors were caused due to the plugin itself.
I would kindly request you to pls check this plugin [XStore AMP] so no one else need to face this issue.
Hello, Manish,
Thank you for your response.
Do you use the latest version of the XStore AMP plugin? https://www.8theme.com/downloads/ Please update the theme and plugins – https://www.8theme.com/documentation/xstore/plugins/plugins-update/ https://www.8theme.com/documentation/xstore/theme-installation/theme-update/
Please provide a video of your actions and the error, so I can send it to our developers team.
Thank you for your cooperation and we look forward to hearing from you soon.
Kind Regards,
8theme team
The issue related to '‘Failed to execute ‘addAll’ on ‘Cache’ in Mobile view of Website’' has been successfully resolved, and the topic is now closed for further responses