Hello,
PrestaShop in version 1.7.8+ introduced some changes which caused LiteSpeed Cache module to break.
Tested on clean PrestaShop 1.7.8.5 and LiteSpeed Cache 1.4.0 module and PHP 7.1, 7.2, 7.4
After activating the cache, the product page no longer works. Error 500 appears:
(1/1) FatalThrowableError
Type error: Argument 3 passed to HookCore::callHookOn() must be of the type array, null given, called in /home/user/public_html/prestashop/classes/Hook.php on line 944
Additionally, in debug mode, the LiteSpeed Cache Configuration tab doesn't work:
Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Notice: Undefined index: id" at /home/user/public_html/prestashop/classes/helper/HelperForm.php line 121
The problem was reported in PrestaShop's Github, unfortunately the issue was closed, "since it's not a PS Core issue".
https://github.com/PrestaShop/PrestaShop/issues/27585
so i figured I will report it here.
PrestaShop in version 1.7.8+ introduced some changes which caused LiteSpeed Cache module to break.
Tested on clean PrestaShop 1.7.8.5 and LiteSpeed Cache 1.4.0 module and PHP 7.1, 7.2, 7.4
After activating the cache, the product page no longer works. Error 500 appears:
(1/1) FatalThrowableError
Type error: Argument 3 passed to HookCore::callHookOn() must be of the type array, null given, called in /home/user/public_html/prestashop/classes/Hook.php on line 944
Additionally, in debug mode, the LiteSpeed Cache Configuration tab doesn't work:
Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Notice: Undefined index: id" at /home/user/public_html/prestashop/classes/helper/HelperForm.php line 121
The problem was reported in PrestaShop's Github, unfortunately the issue was closed, "since it's not a PS Core issue".
https://github.com/PrestaShop/PrestaShop/issues/27585
so i figured I will report it here.