lemiran Posted September 20, 2022 Share Posted September 20, 2022 Hi there I'm on a PS 1.7.8.6 When i'm on a client's page and i click on any of his orders, i have this error message : Type error: Argument 3 passed to PrestaShop\PrestaShop\Core\Domain\Order\QueryResult\OrderStatusForViewing::__construct() must be of the type string, null given, called in /home/mobilia/www/src/Adapter/Order/QueryHandler/GetOrderForViewingHandler.php on line 367 [Symfony\Component\Debug\Exception\FatalThrowableError 0] Do you know how to handle this one? Thank you very much! Regards Link to comment Share on other sites More sharing options...
juanrojas Posted September 20, 2022 Share Posted September 20, 2022 hi It only happens with that client? what payment method do you use? Do you have an employee assigned in the order statuses? Link to comment Share on other sites More sharing options...
ps8modules Posted September 20, 2022 Share Posted September 20, 2022 Hi. After upgrade Prestashop ? Link to comment Share on other sites More sharing options...
ps8modules Posted September 20, 2022 Share Posted September 20, 2022 https://github.com/PrestaShop/PrestaShop/issues/22215 Link to comment Share on other sites More sharing options...
lemiran Posted September 20, 2022 Author Share Posted September 20, 2022 5 hours ago, juanrojas said: hi It only happens with that client? what payment method do you use? Do you have an employee assigned in the order statuses? Hi juanrojas It happens with everyone Any payment method (credit card, check, bank transfert...) No i have not a specific employee for that Link to comment Share on other sites More sharing options...
lemiran Posted September 20, 2022 Author Share Posted September 20, 2022 4 hours ago, 4you.software said: https://github.com/PrestaShop/PrestaShop/issues/22215 Thank you 4you I will take a glance 1 Link to comment Share on other sites More sharing options...
lemiran Posted September 20, 2022 Author Share Posted September 20, 2022 So it was that.. It is a bug which only happens on the orders placed before the update... 1 Link to comment Share on other sites More sharing options...
ps8modules Posted September 20, 2022 Share Posted September 20, 2022 You will need to run sql in the database as in the article. 1 Link to comment Share on other sites More sharing options...
ps8modules Posted September 20, 2022 Share Posted September 20, 2022 Yes, it's been discussed here a million times 😉 Link to comment Share on other sites More sharing options...
lemiran Posted September 20, 2022 Author Share Posted September 20, 2022 Sorry then... 1 Link to comment Share on other sites More sharing options...
ps8modules Posted September 20, 2022 Share Posted September 20, 2022 It's okay, you don't have to apologize. Now you know that next time you should write that there are problems after the upgrade. I gladly helped 🙃 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