djform Posted July 24, 2019 Share Posted July 24, 2019 Bonjour. Je suis sous Prestashop 1.7.5.2 sous PHP 7. J'ai une erreur qu'on rencontre dans pas mal de sites en production : mod_fcgid: stderr: PHP Fatal error: Uncaught Exception: Invalid SortOrder direction ``. Expecting one of: `ASC`, `DESC`, or `RANDOM`. in /home/djform/public_html/prestashop/src/Core/Product/Search/SortOrder.php:120 mod_fcgid: stderr: Stack trace: mod_fcgid: stderr: #0 /home/djform/public_html/prestashop/src/Core/Product/Search/SortOrder.php(43): PrestaShop\\PrestaShop\\Core\\Product\\Search\\SortOrder->setDirection(NULL) mod_fcgid: stderr: #1 /home/djform/public_html/prestashop/src/Core/Product/Search/SortOrder.php(77): PrestaShop\\PrestaShop\\Core\\Product\\Search\\SortOrder->__construct('test', NULL, NULL) mod_fcgid: stderr: #2 /home/djform/public_html/prestashop/classes/controller/ProductListingFrontController.php(290): PrestaShop\\PrestaShop\\Core\\Product\\Search\\SortOrder::newFromString('test') mod_fcgid: stderr: #3 /home/djform/public_html/prestashop/classes/controller/ProductListingFrontController.php(545): ProductListingFrontControllerCore->getProductSearchVariables() mod_fcgid: stderr: #4 /home/djform/public_html/prestashop/controllers/front/listing/CategoryController.php(137): ProductListingFrontControllerCore->doProductSearch('catalog/listing...', Array) mod_fcgid: stderr: #5 in /home/djform/public_html/prestashop/src/Core/Product/Search/SortOrder.php on line 120 Cette erreur apparait dans mes logs mais pas sur le site en mode debug (ou alors je ne sais pas ce qu'il faut faire pour qu'elle apparaisse). Je ne comprends pas d'où ça vient. Une idée ? Link to comment Share on other sites More sharing options...
amorxoigel Posted March 18, 2020 Share Posted March 18, 2020 Avez-vous trouvé une solution? j'ai le même problème Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now