( ! ) Fatal error: Uncaught TypeError: PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setSortOrder(): Argument #1 ($sortOrder) must be of type PrestaShop\PrestaShop\Core\Product\Search\SortOrder, string given, called in /home/patrick/premibel.fr/www/override/controllers/front/CategoryController.php on line 19 and defined in /home/patrick/premibel.fr/www/src/Core/Product/Search/ProductSearchQuery.php on line 220 |
( ! ) TypeError: PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery::setSortOrder(): Argument #1 ($sortOrder) must be of type PrestaShop\PrestaShop\Core\Product\Search\SortOrder, string given, called in /home/patrick/premibel.fr/www/override/controllers/front/CategoryController.php on line 19 in /home/patrick/premibel.fr/www/src/Core/Product/Search/ProductSearchQuery.php on line 220 |
Call Stack |
# | Time | Memory | Function | Location |
1 | 0.0001 | 481264 | {main}( ) | .../index.php:0 |
2 | 0.0512 | 5024640 | Dispatcher->dispatch( ) | .../index.php:28 |
3 | 0.0526 | 5196352 | DispatcherCore->dispatch( ) | .../Dispatcher.php:298 |
4 | 0.0581 | 5812496 | ControllerCore->run( ) | .../Dispatcher.php:510 |
5 | 0.0868 | 7102880 | CategoryControllerCore->initContent( ) | .../Controller.php:319 |
6 | 0.2018 | 10466488 | ProductListingFrontControllerCore->doProductSearch( $template = 'catalog/listing/category', $params = ['entity' => 'category', 'id' => 1149], $locale = ??? ) | .../CategoryController.php:134 |
7 | 0.2018 | 10466488 | ProductListingFrontControllerCore->getProductSearchVariables( ) | .../ProductListingFrontController.php:635 |
8 | 0.2019 | 10466648 | CategoryController->getProductSearchQuery( ) | .../ProductListingFrontController.php:308 |
9 | 0.2020 | 10466984 | PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery->setSortOrder( $sortOrder = 'asc' ) | .../CategoryController.php:19 |