Fatal error: Uncaught Error: Call to undefined method PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setMaxTotalCount() in /var/www/vhosts/promenoch-goodies.com/httpdocs/controllers/front/listing/CategoryController.php:190 Stack trace: #0 /var/www/vhosts/promenoch-goodies.com/httpdocs/classes/controller/ProductListingFrontController.php(308): CategoryControllerCore->getProductSearchQuery() #1 /var/www/vhosts/promenoch-goodies.com/httpdocs/classes/controller/ProductListingFrontController.php(635): ProductListingFrontControllerCore->getProductSearchVariables() #2 /var/www/vhosts/promenoch-goodies.com/httpdocs/controllers/front/listing/CategoryController.php(139): ProductListingFrontControllerCore->doProductSearch() #3 /var/www/vhosts/promenoch-goodies.com/httpdocs/tools/profiling/Controller.php(60): CategoryControllerCore->initContent() #4 /var/www/vhosts/promenoch-goodies.com/httpdocs/classes/Dispatcher.php(510): Controller->run() #5 /var/www/vhosts/promenoch-goodies.com/httpdocs/override/classes/Dispatcher.php(40): DispatcherCore->dispatch() #6 /var/www/vhosts/promenoch-goodies.com/httpdocs/index.php(27): Dispatcher->dispatch() #7 {main} thrown in /var/www/vhosts/promenoch-goodies.com/httpdocs/controllers/front/listing/CategoryController.php on line 190