MathiasReker Posted November 18, 2015 Share Posted November 18, 2015 (edited) Hello, A customer bought an item to 0USD insted of 100USD. The problem was a misconfigurated attribute. When I saw that, I fixed the attribute so the price was correct. After that, I get to the order an tried to cancel it. But I get this error: [PrestaShopException]Property StockAvailable->id_product is emptyat line 909 in file classes/ObjectModel.php 904. } 905. 906. $message = $this->validateField($field, $this->$field); 907. if ($message !== true) { 908. if ($die) { 909. throw new PrestaShopException($message); 910. } 911. return $error_return ? $message : false; 912. } 913. } 914. How do I fix this ? Line 909 has red font. Edited November 18, 2015 by shinetech.dk (see edit history) Link to comment Share on other sites More sharing options...
tuk66 Posted November 19, 2015 Share Posted November 19, 2015 There is something wrong in the ps_stock_available table. I think (at least) one record is missing. Link to comment Share on other sites More sharing options...
Recommended Posts