( ! ) 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.0001482992{main}( ).../index.php:0
20.121727648544Dispatcher->dispatch( ).../index.php:28
30.133230494712DispatcherCore->dispatch( ).../Dispatcher.php:298
40.156135547536ControllerCore->run( ).../Dispatcher.php:510
50.224147327248CategoryControllerCore->initContent( ).../Controller.php:319
60.365661652416ProductListingFrontControllerCore->doProductSearch( $template = 'catalog/listing/category', $params = ['entity' => 'category', 'id' => 435], $locale = ??? ).../CategoryController.php:134
70.365661652416ProductListingFrontControllerCore->getProductSearchVariables( ).../ProductListingFrontController.php:635
80.370762584272PrestaShop\Module\FacetedSearch\Product\SearchProvider->runQuery( $context = class PrestaShop\PrestaShop\Core\Product\Search\ProductSearchContext { private $idShop = 1; private $idLang = 1; 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 = 435; private $idManufacturer = NULL; private $idSupplier = NULL; private $searchString = NULL; private $searchTag = NULL; private $encodedFacets = 'Essence-Exotique/Certification-FSC 100%'; 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.377363154584PrestaShop\Module\FacetedSearch\Product\SearchProvider->getAvailableSortOrders( $query = class PrestaShop\PrestaShop\Core\Product\Search\ProductSearchQuery { private $queryType = 'category'; private $idCategory = 435; private $idManufacturer = NULL; private $idSupplier = NULL; private $searchString = NULL; private $searchTag = NULL; private $encodedFacets = 'Essence-Exotique/Certification-FSC 100%'; 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