Fatal error: Uncaught Error: Call to undefined method ProductController::getCurrentHook() in /var/www/odejsciezpracy/prestashop/modules/productbundles/productbundles.php:352
Stack trace:
#0 /var/www/odejsciezpracy/prestashop/modules/productbundles/productbundles.php(311): ProductBundles->displayBundles()
#1 /var/www/odejsciezpracy/prestashop/classes/Hook.php(1043): ProductBundles->hookDisplayProductActions()
#2 /var/www/odejsciezpracy/prestashop/classes/Hook.php(418): HookCore::coreCallHook()
#3 /var/www/odejsciezpracy/prestashop/classes/Hook.php(981): HookCore::callHookOn()
#4 /var/www/odejsciezpracy/prestashop/config/smarty.config.inc.php(198): HookCore::exec()
#5 /var/www/odejsciezpracy/prestashop/classes/Smarty/SmartyLazyRegister.php(81): smartyHook()
#6 /var/www/odejsciezpracy/prestashop/var/cache/dev/smarty/compile/af/24/1c/af241c329b8b0936d20dc2d88938d19001a94263_2.file.product-add-to-cart.tpl.php(153): SmartyLazyRegister->__call()
#7 /var/www/odejsciezpracy/prestashop/vendor/smarty/smarty/libs/sysplugins/smarty_in in /var/www/odejsciezpracy/prestashop/modules/productbundles/productbundles.php on line 352