TypeError: Argument 2 passed to PrestaShop\PrestaShop\Core\Product\ProductListingPresenter::present() must be of the type array, boolean given, called in /home/thebouti/prestashop/classes/controller/ProductListingFrontController.php on line 65 and defined in /home/thebouti/prestashop/src/Core/Product/ProductListingPresenter.php:30
Stack trace:
#0 /home/thebouti/prestashop/classes/controller/ProductListingFrontController.php(65): PrestaShop\PrestaShop\Core\Product\ProductListingPresenter->present(Object(PrestaShop\PrestaShop\Core\Product\ProductPresentationSettings), false, Object(Language))
#1 [internal function]: ProductListingFrontControllerCore->prepareProductForTemplate(Array)
#2 /home/thebouti/prestashop/classes/controller/ProductListingFrontController.php(79): array_map(Array, Array)
#3 /home/thebouti/prestashop/classes/controller/ProductListingFrontController.php(325): ProductListingFrontControllerCore->prepareMultipleProductsForTemplate(Array)
#4 /home/thebouti/prestashop/classes/controller/ProductListingFrontController.php(510): ProductListingFrontControllerCore->getProductSearchVariables()
#5 /home/thebouti/prestashop/controllers/front/listing/CategoryController.php(86): ProductListingFrontControllerCore->doProductSearch('catalog/listing...', Array)
#6 /home/thebouti/prestashop/classes/controller/Controller.php(182): CategoryControllerCore->init()
#7 /home/thebouti/prestashop/classes/Dispatcher.php(366): ControllerCore->run()
#8 /home/thebouti/prestashop/index.php(28): DispatcherCore->dispatch()
#9 {main}