seb_c Posted October 22, 2018 Share Posted October 22, 2018 Hi everyone, I have a weird bug on one of my prestashop installation : no module appear in displayAdminProductsExtra hook. It is 1.7.2.3 I made a copy of it as a development platform, I tried to upgrade it but the bug is still here... I have another installation which was use in almost the same way but it does not present the bug. The module installation seems fine because I can see it in Design -> Positions I started debugging but need help to know where to look. I went up from the twig template and found the HookDispatcher class which does not return any listeners, but I don't know where the HookDispatcher is intanciated and the listener added. So if anyone can guide me to understand this problem, thank you Link to comment Share on other sites More sharing options...
seb_c Posted October 23, 2018 Author Share Posted October 23, 2018 Finally I found LegacyHookSubscriber and the function getSubscribedEvents. Turns out the hook name came back as "DisplayAdminProductsExtra" instead of "displayAdminProductsExtra". I have no idea how I could have been changed, but just renaming in the table ps_hook fix my problem... 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