Magento迁移后的客户注册错误
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Magento迁移后的客户注册错误相关的知识,希望对你有一定的参考价值。
[从Magento 1.9.2.4迁移到Magento 2.3.4之后,当我去创建客户并填写所有信息并单击Submit(在前端)时,它向我显示错误
We can't save the customer.
调试后,我发现以下错误:
Class Magento\Eav\Model\Attribute\Data\Datetime does not exist
我试图在数据库和文件中搜索该类,但没有结果。但是,我在表eav_attribute
中发现了类似的内容:
Magento\Eav\Model\Entity\Attribute\Backend\Datetime
我该如何解决?
答案
基于帖子“We can't save the customer” error after Migration - Magento 2.3,我执行了以下操作:
- 我在
Datetime
中搜索了eav_attribute.frontend_input
值。 - 我发现了几个具有此值的Mailchimp记录。
- [将
Datetime
的值更改为其他值(Date
,Text
,...)之后,它又可以正常工作。
以上是关于Magento迁移后的客户注册错误的主要内容,如果未能解决你的问题,请参考以下文章
Magento2 数据迁移异常\LocalizedException
在 Magento 中防止垃圾邮件直接 POST 请求客户注册