ThomasHg Posted March 25, 2021 Share Posted March 25, 2021 Hello, I want to resolve the errors of my Prestashop site and in the console I find this error. following the (index): 83 this brings me to this script: <!-- MODULE PM_AdvancedSearch4 || Presta-Module.com --> <script type="text/javascript"> var ASPath = '/modules/pm_advancedsearch4/'; var ASSearchUrl = 'http://dev.gironderamagebelcier.com/fr/module/pm_advancedsearch4/advancedsearch4'; var ASParams = {}; var ASHash = {}; var ASPSVersion = '1.7.5.2'; $(document).ready(function() { asInitAsHashChange(); }); </script> However I don't know how to solve it. Could you help me ? Link to comment Share on other sites More sharing options...
elburgl69 Posted March 25, 2021 Share Posted March 25, 2021 Make sure that the following code is executed in the module, before rendering the output: $this->context->controller->addJquery(); If it is the module PM_AdvancedSearch4, is the module connected to all hooks? Try reinstalling the module. Link to comment Share on other sites More sharing options...
[PrestaModule] Steph Posted March 26, 2021 Share Posted March 26, 2021 also, check your differ JS option 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