LadyLionheart Posted January 29, 2017 Share Posted January 29, 2017 I have imported data from my oscommerce webshop and everything works fine. Except for 1 order status. If I try to change this status I get this error message: [PrestaShopException] Property Order->module is not valid at 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. ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 304 - classes/order/Order.php] OrderCore->getFields - [line 652 - classes/ObjectModel.php] ObjectModelCore->update - [line 306 - classes/order/OrderHistory.php] OrderHistoryCore->changeIdOrderState - [line 531 - controllers/admin/AdminOrdersController.php] - [3 Arguments] AdminOrdersControllerCore->postProcess - [line 178 - classes/controller/Controller.php] ControllerCore->run - [line 367 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 58 - admin/index.php] Can anyone help with this? This is the only status that has this problem. Link to comment Share on other sites More sharing options...
bellini13 Posted January 29, 2017 Share Posted January 29, 2017 As what order status is it? Is it a custom order status that you created? Or a core order status that is standard with Prestashop? Also, what payment module was used to create the order? Link to comment Share on other sites More sharing options...
LadyLionheart Posted January 29, 2017 Author Share Posted January 29, 2017 The status is Awaiting COD validation, I'm not sure if it is a core order status. I'm not really sure which status this transferred from in my oscommerce database. It does not seem newly placed orders use this status at all. However I would like to be able to change this status to shipped. Link to comment Share on other sites More sharing options...
bellini13 Posted January 29, 2017 Share Posted January 29, 2017 look in the database, and confirm the value of the column named 'module' in the ps_orders table for that particular order. Link to comment Share on other sites More sharing options...
LadyLionheart Posted January 30, 2017 Author Share Posted January 30, 2017 (edited) I figured it out, thanks for the tip! It seems there was a space in the field name Module in the ps_orders table (which is not allowed). I removed the spaces and was able to change the order status. It just does not show an invoice. How do I see the invoice? Edited January 30, 2017 by LadyLionheart (see edit history) 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