gstar Posted July 7, 2021 Share Posted July 7, 2021 (edited) One of my modules is not working correctly and the developer says the reason is this error: Uncaught TypeError: prestashop.on is not a function at HTMLDocument.initTrackingEvents ((index):6125) Anyone know how to solve this error? Edited July 7, 2021 by gstar (see edit history) Link to comment Share on other sites More sharing options...
Nickz Posted July 7, 2021 Share Posted July 7, 2021 (edited) On 7/7/2021 at 3:45 PM, gstar said: One of my modules is not working correctly and the developer says the reason is this error: Expand Which one? What PS version, new install? Give more information in regards, if you have newly installed, made an update, all that has an influence. If your site ist hosted on a shared server and they update their php versions stuff can cause malfunctions. Edited July 7, 2021 by Nickz (see edit history) 1 Link to comment Share on other sites More sharing options...
gstar Posted July 7, 2021 Author Share Posted July 7, 2021 On 7/7/2021 at 4:26 PM, Nickz said: Which one? Expand Premium Google Analytics Enhanced Ecommerce On 7/7/2021 at 4:26 PM, Nickz said: What PS version, new install? Expand I am using version 1.7.6.5. Site was on cloudflare, I removed it. Had a cache plugin, I removed it. If I disable Smart cache CSS & JS the error disappears but the developer says it should work with Smart cache. Link to comment Share on other sites More sharing options...
D.EINS Posted February 2, 2024 Share Posted February 2, 2024 Nice, love this forum for complete threads and all the helpfull answers! So nobody were able to solve this issue, after OP tried to provide all information you asked for, I guess? Link to comment Share on other sites More sharing options...
Nickz Posted February 2, 2024 Share Posted February 2, 2024 On 2/2/2024 at 4:44 PM, D.EINS said: after OP tried to provide all information you asked for, I guess? Expand He said: Quote if I disable Smart cache CSS & JS the error disappears. Expand So what is your issue, Are you on 1.6 or 1.7? Link to comment Share on other sites More sharing options...
Mediacom87 Posted February 2, 2024 Share Posted February 2, 2024 On 2/2/2024 at 4:44 PM, D.EINS said: Nice, love this forum for complete threads and all the helpfull answers! So nobody were able to solve this issue, after OP tried to provide all information you asked for, I guess? Expand In the same way, if you need help with your site, you need to give access to your site, as with the URL, this information can't be secret on the Internet, so it's not hard to give it away. This is the first piece of information you need to communicate, and I swear that having to ask for this kind of thing every time doesn't motivate you to respond to these requests. 1 Link to comment Share on other sites More sharing options...
D.EINS Posted February 5, 2024 Share Posted February 5, 2024 On 2/2/2024 at 11:59 PM, Mediacom87 said: In the same way, if you need help with your site, you need to give access to your site, as with the URL, this information can't be secret on the Internet, so it's not hard to give it away. This is the first piece of information you need to communicate, and I swear that having to ask for this kind of thing every time doesn't motivate you to respond to these requests. Expand I see it differently. What happens if the shop is in maintenance mode and access by third parties is not contractually permitted? Then your request for the website no longer works. With the JS-error in particular, you could have quickly realised that it was related to the core.js and the classic theme - that was the error for me: Core.js and classic theme pulled from a fresh installation and replaced on the server. Thanks!! Link to comment Share on other sites More sharing options...
Mediacom87 Posted February 5, 2024 Share Posted February 5, 2024 On 2/5/2024 at 10:22 AM, D.EINS said: I see it differently. What happens if the shop is in maintenance mode and access by third parties is not contractually permitted? Then your request for the website no longer works. With the JS-error in particular, you could have quickly realised that it was related to the core.js and the classic theme - that was the error for me: Core.js and classic theme pulled from a fresh installation and replaced on the server. Thanks!! Expand Thank you for your analysis and your indignation, certainly it will be beneficial during your interventions to help on the thousands of Topic without answers. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now