After Migration from Magento 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:


How can I solve it?


Please open this file


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.