• Resolved xninedesign

    (@x9design)


    Hi,

    I’m experiencing an issue with WooCommerce in combination with the Complianz plugin. After removing all products from the cart and adding new ones, the cart page stops working properly, and the following error appears in the console:

    react-dom.min.js?ver=18.3.1:10  ChunkLoadError: Loading chunk 4857 failed.
    (error: https://dev.waterblock.eu/koszyk/assets/client/blocks/cart-blocks/empty-cart-frontend.js?ver=b4a17d65f3face981193)
    at Object.j (cart-frontend.js?ver=f10b598c943a06f25d98:1:21812)
    at cart-frontend.js?ver=f10b598c943a06f25d98:1:18770
    at Array.reduce (<anonymous>)
    at Function.e (cart-frontend.js?ver=f10b598c943a06f25d98:1:18748)
    at cart-frontend.js?ver=f10b598c943a06f25d98:1:10301
    at c (react.min.js?ver=18.3.1:10:2160)
    at Qs (react-dom.min.js?ver=18.3.1:10:121008)
    at wl (react-dom.min.js?ver=18.3.1:10:88637)
    at bl (react-dom.min.js?ver=18.3.1:10:88565)
    at yl (react-dom.min.js?ver=18.3.1:10:88428)

    A similar error occurs for the filled-cart-frontend.js file. Interestingly, the problem does not occur when adding a product to the cart for the first time – everything works fine. However, after removing all items and adding new ones, the page starts loading scripts with incorrect URLs, such as:

    https://dev.waterblock.eu/koszyk/assets/client/blocks/cart-blocks/filled-cart-frontend.js

    Whereas the correct URL should be:

    https://dev.waterblock.eu/wp-content/plugins/woocommerce/assets/client/blocks/cart-blocks/filled-cart-frontend.js

    After extensive testing, I discovered that disabling Complianz plugin or enabling Safe Mode in Complainz resolves the issue, but I couldn’t find any settings in your plugin that might directly cause this conflict. It seems that Complianz is somehow modifying the URLs of WooCommerce scripts, but only under specific conditions.

    Has anyone encountered a similar issue? Is there a way to add an exception for these scripts in Complianz or correct their loading? Any help would be greatly appreciated.

    Thanks for any suggestions!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support leonardoiub

    (@leonardotamion)

    Hello,

    thanks for your message.

    Could you please open our plugin section “Integrations” -> “Plugins” and disable from there all the options related to WooCommerce please? Once done that please follow this guide related to the cache plugin (if you have one) and then delete your website cache.

    Thread Starter xninedesign

    (@x9design)

    Could you please open our plugin section “Integrations” -> “Plugins” and disable from there all the options related to WooCommerce please?

    I tried this before. It not help.

    Once done that please follow?this guide?related to the cache plugin (if you have one) and then delete your website cache.

    On dev.waterblock.eu I do not use any cache plugin (it is the developer platform which which this topic refers to). On waterblock.eu I use now a Safe Mode to avoid those errors.

    Plugin Support leonardoiub

    (@leonardotamion)

    Hello,

    thanks for your update.

    You can whitelist those JS you pointed out directly from our Script Center section following this guide, section “3.3 Whitelist a script, iframe or plugin”, this is at the moment the best workaround you can follow to see if it sill solve this issue.

    Unfortunately we didn’t receive any other report referring to your issue so we haven’t tested this behavior yet.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.