Ticket #24972 - Error
Hello,
Can you solve these errors on the console please
lockdown-run.js:17 Lockdown failed: TypeError: At intrinsics.Object.groupBy expected boolean not function
at isAllowedPropertyValue (lockdown-install.js:1:53384) at isAllowedProperty (lockdown-install.js:1:53807) at visitProperties (lockdown-install.js:1:55095) at isAllowedPropertyValue (lockdown-install.js:1:53041) at isAllowedProperty (lockdown-install.js:1:53807) at visitProperties (lockdown-install.js:1:55095) at lockdown-install.js:1:55523 at repairIntrinsics (lockdown-install.js:1:144597) at lockdown-install.js:1:145462 at lockdown-run.js:4:3
(anonyme) @ lockdown-run.js:17
Afficher 1 autre frame
Afficher moins
lockdown-more.js:99 Protecting intrinsics failed: ReferenceError: harden is not defined
at lockdown-more.js:69:13 at Set.forEach (<anonymous>) at protectIntrinsics (lockdown-more.js:44:22) at lockdown-more.js:97:5
Comments
Where I can see those errors?
I assume that’s coming from some third party module
you can check on the homepage. If the error are coming from other module please tell me with module.
Attachments:
as I assumed, the issue is coming from lockdown-install.js which neither a part of prestashop nor our theme/modules, so you have installed something that has that script .
it is possible to know witch module cause the problem?
lockdown-install.js was an extension for chrome.
can you check all these errors ?
Uncaught TypeError: Cannot read properties of undefined (reading ‘debug’)
masonry.js:3 Uncaught ReferenceError: $ is not defined
cookies.js:4 Uncaught ReferenceError: jQuery is not defined
alysum.js:1 Uncaught ReferenceError: pktheme is not defined
product.js:7 Uncaught ReferenceError: jQuery is not defined
jquery.zoom.min.js:6 Uncaught TypeError: Cannot set properties of undefined (setting ‘zoom’)
scripts.js:157 Uncaught ReferenceError: jQuery is not defined
front.js:20 Uncaught ReferenceError: $ is not defined
scripts.js:1 Uncaught ReferenceError: $ is not defined
scripts.js:11 Uncaught ReferenceError: $ is not defined
scripts.js:10 Promokit Favorites module is not installed properly. Try to reset it.
Favorites @ scripts.js:10
slick.js:25 Uncaught ReferenceError: jQuery is not defined
scripts.js:3 Uncaught ReferenceError: $ is not defined
front.js:3 Uncaught ReferenceError: jQuery is not defined
coffret-allaitement-naturel-coquillages-cicatrisants-coussins-confort-ebook-offert#/1-taille-s:1 The resource https://geniuz.fr/modules/creativeelements/views/lib/ceicons/fonts/ceicons.woff2?fj664s was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
coffret-allaitement-naturel-coquillages-cicatrisants-coussins-confort-ebook-offert#/1-taille-s:1 [Deprecation] The keyword ‘inner-spin-button’ specified to an ‘appearance’ property is not standardized. It will be removed in the future.
coffret-allaitement-naturel-coquillages-cicatrisants-coussins-confort-ebook-offert#/1-taille-s:1 [Deprecation] The keyword ‘inner-spin-button’ specified to an ‘appearance’ property is not standardized. It will be removed in the future.
coffret-allaitement-naturel-coquillages-cicatrisants-coussins-confort-ebook-offert#/1-taille-s:1 The resource https://geniuz.fr/modules/creativeelements/views/lib/ceicons/fonts/ceicons.woff2?fj664s was preloaded using link preload but not used within a few seconds from the window’s load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
you can check this error on product page like this :https://geniuz.fr/coupe-frite/geedel-coupe-frites
Ok, I see now.
We never had such issue with the theme, so I believe that’s a question of configuration.
As I can see, some essential scripts are not loading on product page. I assume some module doing that, probably Creative Elements.
Could you please switch to Classic prestashop theme and check how it works there. Please make sure Creative Elements is enabled after switching to Classic theme.
only 1 error when I swtich on Classic prestashop them.
popup.js:8 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘query’)
and CE is enabled?
yes . but when it is active there is problem with jquery I think. You can check it now
Yes, I see. Ok, I just switched back to Alysum theme to continue to work with the issue…
Ok. Can you check .htaccess if there is no problem with this file ?
that file is generated automatically, I never experienced any problems with that
Ok. Have you identify where the problem come from ?
Not yet
The issue has been fixed. Please test to confirm the change
Updated file is /themes/alysum/templates/catalog/product.tpl
Hello Fred,
Normally the button for this product should be buy on amazon ( it is written with add to cart )
https://geniuz.fr/casque-anti-bruit-bebe/bbtkcare-casque-anti-brui There is still problem with jquery.
Also category product is not display good
https://geniuz.fr/casque-anti-bruit-bebe
also problem on mobile
1. Where is that Amazon button? I can’t find it
2. I see some custom code on category product “material-icons search…” I believe that’s a reason of the issue. Try to restore default page view.
1. It is a module for amazon. It is working when I switch on classic theme but not with your theme. You can try it.
2. I have not put custom code . It is coming from creative element ?
1. Please try to reset that module, it helps in 99%
2. I have no idea how it’s configured. Try to start with default configuration and add your changes to see what brakes the layout
any news ?
1. Please try to reset that module, it helps in 99%
2. I have no idea how it’s configured. Try to start with default configuration and add your changes to see what brakes the layout
I have disable the 3 moduules that I have add and it is not working. I have also try to reset creative element… mobile version and category page have stop working after your Updated file this /themes/alysum/templates/catalog/product.tpl
Yes, sorry, my bad. Now it should be ok
Now it is working.
I have new errors.
Description
Pages with the <title> element outside the <head> element in the HTML. The <title> of the page must be in the <head> element; otherwise, it risks being ignored by search engines. Google generally recognizes the page title even if it is located outside the <head> element, but this is not systematic.
How to fix
Make sure the <title> element is within the <head> element of a page’s HTML code so that browsers can use it at the top of the window and search engines can use it to the calculation of the score.
Can you check it ?
I’m sure that problem caused by third party broken code. Please disable your third party modules one by one and check that.
We never had this issue before
this problem is cause by another module
So we can close this ticket?
yes module amazon affiliate shop import
Ok, thanks