Question

I am using the extension Aheadworks_Wbtab. I don't know whats going on. If I flush the cache and reload then the slider shows and works fine. But if I reload again, then the slider dissapears and I get this error logged in my browser console:

mixins.js:245 GET https://www.example.com/pub/static/version1584092638/frontend/company/base/de_DE/Aheadworks_Wbtab/js/aw-wbtab-ajax.js net::ERR_ABORTED 404 req.load @ require.js:1895 ... Show 268 more frames

main.js:37 Error: Script error for: Aheadworks_Wbtab/js/aw-wbtab-ajax http://requirejs.org/docs/errors.html#scripterror at makeError (require.js:166) at HTMLScriptElement.onScriptError (require.js:1681)

So I checked if the file was created in pub/static and it is there (as a symlink):

pub/static/frontend/company/base/de_DE/Aheadworks_Wbtab/js/aw-wbtab-ajax.js -> /home/company/example.com/vendor/aheadworks/module-wbtab/view/frontend/web/js/aw-wbtab-ajax.js

I also opened the file and it has content.

How can I fix it and what causes the bug?

Only this extension from Aheadworks causes this bug, all other extensions from Amasty work fine.

Was it helpful?

Solution

I executed "grunt clean" and flushed the cache again. Now it seems to work suddenly.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top