Fatal error: Uncaught RuntimeException: Trying to set the index main_variants of the LazyArray PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingLazyArray already defined by a method is not allowed in /var/www/clients/client0/web3/web/src/Adapter/Presenter/AbstractLazyArray.php:397
Stack trace:
#0 /var/www/clients/client0/web3/web/modules/addparamsbyhooks/addparamsbyhooks.php(222): PrestaShop\PrestaShop\Adapter\Presenter\AbstractLazyArray->offsetSet()
#1 /var/www/clients/client0/web3/web/classes/Hook.php(1043): Addparamsbyhooks->hookActionPresentProductListing()
#2 /var/www/clients/client0/web3/web/override/classes/Hook.php(66): HookCore::coreCallHook()
#3 /var/www/clients/client0/web3/web/classes/Hook.php(418): Hook::coreCallHook()
#4 /var/www/clients/client0/web3/web/classes/Hook.php(981): HookCore::callHookOn()
#5 /var/www/clients/client0/web3/web/src/Adapter/Presenter/Product/ProductListingPresenter.php(61): HookCore::exec()
#6 /var/www/clients/client0/web3/web/classes/controller/ProductListingFrontController.php(119): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present()
#7 /var/www/clients/client0/web3/web/classes/controller/ProductListingFrontController.php(379): ProductListingFrontControllerCore->prepareMultipleProductsForTemplate()
#8 /var/www/clients/client0/web3/web/classes/controller/ProductListingFrontController.php(635): ProductListingFrontControllerCore->getProductSearchVariables()
#9 /var/www/clients/client0/web3/web/controllers/front/listing/CategoryController.php(138): ProductListingFrontControllerCore->doProductSearch()
#10 /var/www/clients/client0/web3/web/classes/controller/Controller.php(319): CategoryControllerCore->initContent()
#11 /var/www/clients/client0/web3/web/classes/Dispatcher.php(510): ControllerCore->run()
#12 /var/www/clients/client0/web3/web/index.php(28): DispatcherCore->dispatch()
#13 {main}
Next PrestaShop\PrestaShop\Core\Exception\CoreException: Trying to set the index main_variants of the LazyArray PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingLazyArray already defined by a method is not allowed in /var/www/clients/client0/web3/web/classes/Hook.php:431
Stack trace:
#0 /var/www/clients/client0/web3/web/classes/Hook.php(981): HookCore::callHookOn()
#1 /var/www/clients/client0/web3/web/src/Adapter/Presenter/Product/ProductListingPresenter.php(61): HookCore::exec()
#2 /var/www/clients/client0/web3/web/classes/controller/ProductListingFrontController.php(119): PrestaShop\PrestaShop\Adapter\Presenter\Product\ProductListingPresenter->present()
#3 /var/www/clients/client0/web3/web/classes/controller/ProductListingFrontController.php(379): ProductListingFrontControllerCore->prepareMultipleProductsForTemplate()
#4 /var/www/clients/client0/web3/web/classes/controller/ProductListingFrontController.php(635): ProductListingFrontControllerCore->getProductSearchVariables()
#5 /var/www/clients/client0/web3/web/controllers/front/listing/CategoryController.php(138): ProductListingFrontControllerCore->doProductSearch()
#6 /var/www/clients/client0/web3/web/classes/controller/Controller.php(319): CategoryControllerCore->initContent()
#7 /var/www/clients/client0/web3/web/classes/Dispatcher.php(510): ControllerCore->run()
#8 /var/www/clients/client0/web3/web/index.php(28): DispatcherCore->dispatch()
#9 {main}
thrown in /var/www/clients/client0/web3/web/classes/Hook.php on line 431