I have installed Woocommerce in a site I’ve been using for a while. When I activate Woocommerce I get a ChunkLoad Error:
ChunkLoadError: Loading chunk 9488 failed.
(error: https://example.com/wp-content/plugins/woocommerce/assets/client/admin/chunks/9488.js?ver=21bce3bd3053fa84b138)at Lazy
at Suspense
at U (https://example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=71d1eb5b2f91486cefbb:2:461617)
at div
at div
at Tr (https://example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=71d1eb5b2f91486cefbb:2:540470)
at div
at sw (https://example.com/wp-includes/js/dist/components.min.js?ver=36b97398bf090476214e:34:226008)
at lw (https://example.com/wp-includes/js/dist/components.min.js?ver=36b97398bf090476214e:34:226686)
at dw (https://example.com/wp-includes/js/dist/components.min.js?ver=36b97398bf090476214e:34:227033)
at w (https://example.com/wp-content/plugins/woocommerce/assets/client/admin/admin-layout/index.js?ver=092d36684bd43b3c307d:1:1989)
at Or (https://example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=71d1eb5b2f91486cefbb:2:541064)
at Ir (https://example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=71d1eb5b2f91486cefbb:2:540858)
at https://example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=71d1eb5b2f91486cefbb:2:544170
at https://example.com/wp-includes/js/dist/data.min.js?ver=7c62e39de0308c73d50c:9:3292
at WithSelect(Component) (https://example.com/wp-includes/js/dist/compose.min.js?ver=b8d54449305350b51869:9:18934)
at https://example.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=b12c464487b712c0dad5:2:134861
at O (https://example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=71d1eb5b2f91486cefbb:2:439453)
at I (https://example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=71d1eb5b2f91486cefbb:2:438894)
at a (https://example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=71d1eb5b2f91486cefbb:2:433405)
at https://example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=71d1eb5b2f91486cefbb:2:544423
at https://example.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=b12c464487b712c0dad5:2:135938
at https://example.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=b12c464487b712c0dad5:2:132813
at https://example.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=b12c464487b712c0dad5:2:132813
at https://example.com/wp-content/plugins/woocommerce/assets/client/admin/data/index.js?ver=b12c464487b712c0dad5:2:134035
at Ca (https://example.com/wp-content/plugins/woocommerce/assets/client/admin/app/index.js?ver=71d1eb5b2f91486cefbb:2:555556)
I followed your advice on the following topic: https://projectdmc.org/support/topic/chunkloaderror-2/
but it doesn’t change anything. I’ve cleared my browser’s cache completely, I’ve tried several besides chrome (Edge, Firefox), I’ve tested with other computers. It changes nothing.
I’ve also deleted the WooCommerce transients. No change.
I tested by installing a new site, with LiteSpeed Cache as the only extension. I tried again, deactivating this extension, and got the same error.
When I do an F12 (development tool on my Web browser) I notice that it returns several 403 errors on JS files in the Chunk directory: Failed to load resource: the server responded with a status of 403 –> /wp-content/plugins/woocommerce/assets/client/admin/chunks/1878.js?ver=872fea434df021e0b946
I’ve checked the directory permissions, and they seem correct: 755 for the directory, and 644 for the files.
I also get the error when I click on Woocommerce, Woocommerce->Home , Payments etc…
Can you help me?