1

I have migrated from 1.9.1 to 2.3.4. There is an issue while creating a customer account.

It says "We can't save the customer" as shown below screenshot. However, While checking on the database, an entry was there on the customer table. enter image description here

Please, help to fix this issue.

Thank you

1 Answer 1

3

Solution to Debug #1:

  • Remove all files under [Document_Root]/var/log directory.
  • Retry customer registration.
  • Check for the problems in the files under [Document_Root]/var/log directory.

Solution to Debug #2:

In Magento\Customer\Controller\Account\CreatePost::execute() method, change the line:

$this->messageManager->addException($e, __('We can\'t save the customer.'));

to:

$this->messageManager->addException($e, $e->getMessage());

It will show the actual reason why the customer is not being saved.

Hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.