Hooks sometimes? are broken and can't be unhook. After unhook for the first reload of page it's correctly gone but after second reload its coming back.
To Reproduce
Additionnal information
PrestaShop version: 1.7.5.0
PHP version: 7.1
I've tried to removing it from theme.yml (from theme files), module hooks itself (php files) and removing cache from BO and manualy - nothing helped.
Correlative issue reported here: https://www.prestashop.com/forums/topic/652917-cant-unhook-reviews-module/
Solved by reinstallation of theme.
Correlative topic on github: https://github.com/PrestaShop/PrestaShop/issues/12933
Hi @slupostrupek,
I did not manage to reproduce the issue with PS:1.7.5.1.
I attached a video record.
https://drive.google.com/file/d/1S2XeAQmVrv-hrPZdqlT3NWld2b5HyAOB/view
Did you use the template by default of Prestashop?
was build on default of prestashop, but i don't think thats related issue.
index.tpl
{extends file='page.tpl'}
{block name='page_content_container'}
<section id="content" class="page-home">
{block name='page_content_top'}{/block}
{block name='page_content'}
{block name='hook_home'}
{$HOOK_HOME nofilter}
{/block}
{/block}
</section>
{/block}
Hi @slupostrupek,
Did you use the template by default of Prestashop?
Thanks!
I've found something that could explain this in Google Analytics module, issue here :
https://github.com/PrestaShop/ps_googleanalytics/issues/33
Hi @jf-viguier,
Thanks a lot for your feedback.
Yes, after installing the ps_googleanalytics module v3.1.3.
In the position page, when I try to unhook the ps_featuredproducts module from the displayHome hook => it doesn't work=> if I reload the home page=> the hook remains . reproduced with PS1.7.5.2 & PS1.7.5.1
I鈥檒l add this to the debug roadmap so that it鈥檚 fixed. If you have already fixed it on your end or if you think you can do it, please do send us a pull request!
Thanks!
I can't fix it because I really don't know why this code is there, you should ask the author ?