Stely Posted April 12, 2013 Share Posted April 12, 2013 Hola, despues de actualizar a 1.5.3. en el admin al cambiar el password de clientes antiguos me da el siguente error. Alguna sugerencia? mil gracias por la ayuda. [PrestaShopException] Property Customer->date_add is not valid at line 837 in file classes/ObjectModel.php 831. 832. $message = $this->validateField($field, $this->$field); 833. if ($message !== true) 834. { 835. if ($die) 836. throw new PrestaShopException($message); 837. return $error_return ? $message : false; 838. } 839. } 840. 841. return true; ObjectModelCore->validateFields - [line 264 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->getFields - [line 598 - classes/ObjectModel.php] - [0 Argument] ObjectModelCore->update - [line 237 - classes/Customer.php] - [1 Arguments] CustomerCore->update - [line 719 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->processUpdate - [line 775 - controllers/admin/AdminCustomersController.php] - [0 Argument] AdminCustomersControllerCore->processUpdate - [line 626 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->processSave - [line 792 - controllers/admin/AdminCustomersController.php] - [0 Argument] AdminCustomersControllerCore->processSave - [line 541 - classes/controller/AdminController.php] - [0 Argument] AdminControllerCore->postProcess - [line 164 - controllers/admin/AdminCustomersController.php] - [0 Argument] AdminCustomersControllerCore->postProcess - [line 158 - classes/controller/Controller.php] - [0 Argument] ControllerCore->run - [line 348 - classes/Dispatcher.php] - [0 Argument] DispatcherCore->dispatch - [line 50 - admin123/index.php] - [0 Argument] Link to comment Share on other sites More sharing options...
Sergio Ruiz Posted April 12, 2013 Share Posted April 12, 2013 (edited) En la base de datos, en la tabla: ps_customer ¿Que valores tienes en la campo: date_add ? Edited April 12, 2013 by Rubalcaba (see edit history) Link to comment Share on other sites More sharing options...
Stely Posted April 17, 2013 Author Share Posted April 17, 2013 Muchas gracias por la pista. Aparecía el dato 0000-00-00 00:00:00 he ejecutado la sentencia: UPDATE ps_customer SET date_add = sysdate() WHERE date_add = '0000-00-00 00:00:00'; Ya está solucionado! Link to comment Share on other sites More sharing options...
Recommended Posts