3cxonline Posted July 18, 2015 Share Posted July 18, 2015 Could someone help we have recently decided to setup a new eCommerce site using Prestashop I am inexperienced with prestashop and have thus far been impressed but will need newbee responses but I am technical. I just used the one click upgrade to upgrade our shop to 1.6.1.0 as we were having another issue with localisation. That aside after upgrading when we click on the dashboard or try and edit a Emploee from Administration > Employee I receive an error "The firstname field is invalid." When on the Dashboard I the error is more extreme [PrestaShopException]Property Employee->firstname is not validat 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 173 - classes/Employee.php] EmployeeCore->getFields - [line 628 - classes/ObjectModel.php] ObjectModelCore->update - [line 192 - classes/Employee.php] - [1 Arguments] EmployeeCore->update - [line 235 - controllers/admin/AdminDashboardController.php] AdminDashboardControllerCore->renderView - [line 2006 - classes/controller/AdminController.php] AdminControllerCore->initContent - [line 180 - classes/controller/Controller.php] ControllerCore->run - [line 373 - classes/Dispatcher.php] DispatcherCore->dispatch - [line 54 - admin/index.php] The problem is I dont know m way around PS enough yet to begin troubleshooting this and was hoping some one could help. Link to comment Share on other sites More sharing options...
attilabotz Posted August 1, 2015 Share Posted August 1, 2015 (edited) The issue in my case was that the administrator had an "invalid" firstname, it contained a foreign character. I changed the firstname in the database in the _employee table to an all english name. It solved my issue. Edited August 1, 2015 by attilabotz (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