David Simon Posted October 12, 2023 Share Posted October 12, 2023 Hey guys, I have a crash happening when clicking on a few orders, so far I have only found 2 of them. It happens when I try to view an order. I attached the file of the error. I tried to look it up inside the database. I'm not sure where the problem lies. It seems that the Product::getPriceStatic does not find any price for my product, it returns null instead of a float. There is data inside the ps_order_detail table for this product, but everything is either empty or 0. I noticed a few lines inside ps_specific_price with that product that has an id_product_attribute = 0. I tried to input another value related to this product. The error message changed, but it stills crashes. Any help would be appreciated. Thanks! Link to comment Share on other sites More sharing options...
David Simon Posted October 13, 2023 Author Share Posted October 13, 2023 (edited) I had help and solved the problem. If you have the same problem, either upgrade in 1.7.7.2 or just do a small fix with the PR below. https://github.com/PrestaShop/PrestaShop/issues/22812 https://github.com/PrestaShop/PrestaShop/pull/22947 Edited October 23, 2023 by David Simon typo (see edit history) 1 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