Failed to execute ‘addAll’ on ‘Cache’ in Mobile view of Website

This topic has 6 replies, 2 voices, and was last updated 9 months ago ago by Rose Tyler

  • Avatar: Manish
    Manish
    Participant
    July 27, 2023 at 08:05

    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.

    5 Answers
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 27, 2023 at 08:32

    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

    Avatar: Manish
    Manish
    Participant
    July 27, 2023 at 09:01

    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

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 27, 2023 at 09:16

    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

    Avatar: Manish
    Manish
    Participant
    July 27, 2023 at 11:10

    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.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    July 27, 2023 at 12:05

    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://xstore.helpscoutdocs.com/article/37-plugins-update https://xstore.helpscoutdocs.com/article/63-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

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

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

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