Eutanasio Posted September 3, 2015 Share Posted September 3, 2015 (edited) Buenas, Tras actualizar a PS 1.6.1, cuando cambio estados a pedidos me sale casi siempre este error y a veces también sale haciendo otras cosas en el BO como emplear los fitros de búsqueda para clientes, pedidos, etc. [PrestaShopException]Property OrderInvoice->number is emptyat line 881 in file classes/ObjectModel.php 876.877. $message = $this->validateField($field, $this->$field);878. if ($message !== true)879. {880. if ($die)881. throw new PrestaShopException($message);882. return $error_return ? $message : false;883. }884. }885.886. return true; ObjectModelCore->validateFields - [line 245 - classes/ObjectModel.php] ObjectModelCore->getFields - [line 469 - classes/ObjectModel.php] ObjectModelCore->add - [line 152 - classes/order/OrderInvoice.php] OrderInvoiceCore->add - [line 431 - classes/ObjectModel.php] - [2 Arguments] ObjectModelCore->save - [line 1214 - classes/order/Order.php] OrderCore->setInvoice - [line 295 - classes/order/OrderHistory.php] - [1 Arguments] OrderHistoryCore->changeIdOrderState - [line 526 - controllers/admin/AdminOrdersController.php] - [3 Arguments] AdminOrdersControllerCore->postProcess - [line 171 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] PS: Creo que básicamente pasa con los cambios de estado que tienen funciones (enviar email, considerar como enviado...) Gracias Edited September 4, 2015 by omar2886 (see edit history) Link to comment Share on other sites More sharing options...
shacker Posted September 6, 2015 Share Posted September 6, 2015 actualiza a la 1.6.1.1 si no lo has hecho. Si sigue el problema, es posible que la base de datos no se actualizara bien. te recomiendo un rollback y volver a actualizar 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