- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 01.04.21, 11:06
- Opened by: Anonym06
- Closed by: Anonymous Submitter
- Closed on:
- Reason: Not a bug
Ticket #21193 - load script
There are some very strange issues with loading scripts on my store.
One time they all are loaded correctly, other time some of them are not loaded correctly and when some of scripts are not loaded correctly, all other scripts stop working too.
for exemple in my page categorie there is an error in the theme.js of the theme. Do you know how to fix?
Uncaught TypeError: u.default.on is not a function
at HTMLDocument.<anonymous> (theme.js:3) at j (jquery-1.11.0.min.js:14) at Object.add [as done] (jquery-1.11.0.min.js:14) at n.fn.init.n.fn.ready (jquery-1.11.0.min.js:14) at Object.<anonymous> (theme.js:3) at e (theme.js:3) at Object.<anonymous> (theme.js:3) at e (theme.js:3) at Object.<anonymous> (theme.js:3) at e (theme.js:3)
Comments
Hi, Colin.
I have tried to load your website multiple times in different browser and don’t see the issue. How to cause it?
here: https://www.horizanecenter.com/28-parfum-beaute refresh the page with F5 or CTRL + F5 and at one moment the error appear, it is random
As I can see in the browser’s console the error caused by the filter module in the file /modules/amazzingfilter/views/js/slider.js
other similar errors appear sometimes on other pages of the site. and they are on other modules.
I don’t think it’s all my modules that don’t work but that my prestashop doesn’t always load the js scripts in the right order. Maybe a cache problem.
I’m really stuck on it
the error caused by the javascript of your theme and it make crash my others modules.
plus help me to fix hit.
Sometime the jquery is load after the js of my modules so they don’t work.
This error append 8% of the time
Attachments:
bugjs.png(59.8 KiB)I’ve been talking to you about this problem since February and you’re making me go around in circles asking each developer of my modules, when the problem is more general.
Hi,
The only error I can see is the error caused by amazzfilter module - https://take.ms/E9YzF
Have you tried to disable it?