Fatal error: Uncaught ArgumentCountError: Too few arguments to function LeoPartsFilter::hookFilterProductSearch(), 1 passed in /var/www/prestashop/mxlife1/classes/Hook.php on line 1077 and exactly 2 expected in /var/www/prestashop/mxlife1/modules/leopartsfilter/leopartsfilter.php:1103
Stack trace:
#0 /var/www/prestashop/mxlife1/classes/Hook.php(1077): LeoPartsFilter->hookFilterProductSearch()
#1 /var/www/prestashop/mxlife1/classes/Hook.php(418): HookCore::coreCallHook()
#2 /var/www/prestashop/mxlife1/classes/Hook.php(983): HookCore::callHookOn()
#3 /var/www/prestashop/mxlife1/classes/controller/ProductListingFrontController.php(444): HookCore::exec()
#4 /var/www/prestashop/mxlife1/classes/controller/ProductListingFrontController.php(635): ProductListingFrontControllerCore->getProductSearchVariables()
#5 /var/www/prestashop/mxlife1/controllers/front/listing/ManufacturerController.php(99): ProductListingFrontControllerCore->doProductSearch()
#6 /var/www/prestashop/mxlife1/classes/controller/Controller.php(319): ManufacturerControllerCore->initContent()
#7 /var/www/prestashop/mxlife1/classes/Dispatcher.php(510): ControllerCore->run()
#8 /var/www/prestashop/mxlife1/index.php(28): DispatcherCore->dispatch()
#9 {main}
thrown in /var/www/prestashop/mxlife1/modules/leopartsfilter/leopartsfilter.php on line 1103