( ! ) Fatal error: Uncaught Error: Call to undefined method PrestaShop\PrestaShop\Core\Product\Search\SortOrder::setOrderBy() in /home/patrick/premibel.fr/www/modules/ps_facetedsearch/src/Product/SearchProvider.php on line 127
( ! ) Error: Call to undefined method PrestaShop\PrestaShop\Core\Product\Search\SortOrder::setOrderBy() in /home/patrick/premibel.fr/www/modules/ps_facetedsearch/src/Product/SearchProvider.php on line 127
Call Stack
#TimeMemoryFunctionLocation
10.0001483392{main}( ).../index.php:0
20.126826747856Dispatcher->dispatch( ).../index.php:28
30.139729594024DispatcherCore->dispatch( ).../Dispatcher.php:298
40.161734288808ControllerCore->run( ).../Dispatcher.php:510
50.227646161656CategoryControllerCore->initContent( ).../Controller.php:319
60.421860062704ProductListingFrontControllerCore->doProductSearch( $template = 'catalog/listing/category', $params = ['entity' => 'category', 'id' => 416], $locale = ??? ).../CategoryController.php:134
70.421860062704ProductListingFrontControllerCore->getProductSearchVariables( ).../ProductListingFrontController.php:635
80.426960994504PrestaShop\Module\FacetedSearch\Product\SearchProvider->runQuery( $context = class PrestaShop\PrestaShop\Core\Product\Search\ProductSearchContext { private $idShop = 1; private $idLang = 4; private $idCurrency = 1; private $idCustomer = NULL; private $idShopGroup = NULL; private $stockSharingBetweenShopGroupEnabled = FALSE }, $query = class PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery { private $queryType = 'category'; private $idCategory = 416; private $idManufacturer = NULL; private $idSupplier = NULL; private $searchString = NULL; private $searchTag = NULL; private $encodedFacets = 'Couleurs-Clair-Gray-Nature/Finition-Verni/Essence-ChĂȘne/Motifs-Point de Hongrie'; private $resultsPerPage = 12; private $page = 1; private $sortOrder = class PrestaShop\PrestaShop\Core\Product\Search\SortOrder { private $entity = 'product_shop'; private $field = 'on_sale'; private $direction = 'desc'; private $label = NULL } } ).../ProductListingFrontController.php:356
90.435861571408PrestaShop\Module\FacetedSearch\Product\SearchProvider->getAvailableSortOrders( $query = class PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery { private $queryType = 'category'; private $idCategory = 416; private $idManufacturer = NULL; private $idSupplier = NULL; private $searchString = NULL; private $searchTag = NULL; private $encodedFacets = 'Couleurs-Clair-Gray-Nature/Finition-Verni/Essence-ChĂȘne/Motifs-Point de Hongrie'; private $resultsPerPage = 12; private $page = 1; private $sortOrder = class PrestaShop\PrestaShop\Core\Product\Search\SortOrder { private $entity = 'product_shop'; private $field = 'on_sale'; private $direction = 'desc'; private $label = NULL } } ).../SearchProvider.php:195