hello, I am under prestashop 1.7 with the latest version of htmlbox pro.
There is a bug that crashes the whole site since the declaration of a new hook.
Everything is blocked, the only way to unblock the situation is to comment on line 2714 of htmlboxpro.php.
Can you help us fix this bug?
Thanks
Hello.
You created hook that already exists in the module:
This caused the problem.
I am not sure what module version you currently used while you created this hook (it was the latest one version?) but module should check the name of hook you tried to create and if hook will exist in the module - it should block possibility to create it.
I am not sure what module version you currently used while you created this hook (it was the latest one version?) but module should check the name of hook you tried to create and if hook will exist in the module - it should block possibility to create it.
Exactly as i show here:
How to solve problem
- log in to your FTP service and remove file: /modules/htmlboxpro/htmlboxpro.php or whole directory /modules/htmlboxpro/
- download new .zip file with module: https://mypresta.eu/my-account/orders/
- upload new .zip file and install module in shop's back office
- open module configuration page
- go to section with list of "non-default hooks": https://i.imgur.com/nq5AM9o.png
- click on delete button near the "displayBanner" hook
Second possibility
- you mentioned that you commented the line in the module, so you've got access to shop's back office - in this case you can remove the module from back office as well - click on "uninstall" it and check option to "delete" the module
- open module configuration page
- go to section with list of "non-default hooks": https://i.imgur.com/nq5AM9o.png
- click on delete button near the "displayBanner" hook
After this click on "regenerate hooks" button: https://i.imgur.com/EaZ3WkJ.png
If you want to use displayBanner hook, use the original position:
https://i.imgur.com/V8LEkPA.png
0 comments:
Post a Comment