Jump to content

firstname field is empty


Recommended Posts

Dear Forum users,

Following url:

password-recovery?token=0daa26e080d22f9cae522f549feafb85&id_customer=218

Gives the following error:

Notice: Undefined property: Customer::$firstname in classes/ObjectModel.php on line 914

[PrestaShopException]

Property Customer->firstname is empty
at line 917 in file classes/ObjectModel.php

912. } 913. 914. $message = $this->validateField($field, $this->$field); 915. if ($message !== true) { 916. if ($die) { 917. throw new PrestaShopException($message); 918. } 919. return $error_return ? $message : false; 920. } 921. } 922.

ObjectModelCore->validateFields - [line 246 - classes/ObjectModel.php]

ObjectModelCore->getFields - [line 652 - classes/ObjectModel.php]

ObjectModelCore->update - [line 262 - classes/Customer.php] - [1 Arguments]

CustomerCore->update - [line 78 - controllers/front/PasswordController.php]

PasswordControllerCore->postProcess - [line 178 - classes/controller/Controller.php]

ControllerCore->run - [line 367 - classes/Dispatcher.php]

DispatcherCore->dispatch - [line 28 - index.php]

Also when I am in the backoffice this error occures when I try to save the customer.

Really strange, firstname is in the database. Also when I see the overview in the backoffice I see the firstname of the customer.

I am lost of finding a solution to this problem.

 

Prestashop version 1.6.1.24

 

Thanks in advance of pointers.

Sjoerd

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...