1

After Migration from Magento 1.9.2.4 to Magento 2.3.4 when I go to create a customer and fill all the information and click on submit(on front-end), it shows me an error

We can't save the customer.

After debugging I found the error below:

Class Magento\Eav\Model\Attribute\Data\Datetime does not exist

I tried to search the class on the database and also in files, with no results. However, I found something similar in the table eav_attribute:

Magento\Eav\Model\Entity\Attribute\Backend\Datetime

How can I solve it?

0

Please open this file

vendor\magento\module-customer\Controller\Account\CreatePost.php

And then replace

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

With this code

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

So, you can get actual error and you can trace it.

Happy Coding.

  • That's just what I did in the debug phase and I had the following error:Class Magento\Eav\Model\Attribute\Data\Datetime does not exist – stfn Jun 12 '20 at 13:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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