Exception 从magento 2中的管理面板编辑客户详细信息时遇到异常

Exception 从magento 2中的管理面板编辑客户详细信息时遇到异常,exception,migration,magento2,Exception,Migration,Magento2,我在下面附上异常日志和基本URL 网址: 例外情况: 1例外情况: 异常#0(BadMethodCallException):缺少Magento\Eav\Model\Entity\Attribute\Source\Config的必需参数$options 异常#0(BadMethodCallException):缺少Magento\Eav\Model\Entity\Attribute\Source\Config的必需参数$options #0/var/www/html/vendor/magent

我在下面附上异常日志和基本URL

网址:

例外情况:

1例外情况: 异常#0(BadMethodCallException):缺少Magento\Eav\Model\Entity\Attribute\Source\Config的必需参数$options

异常#0(BadMethodCallException):缺少Magento\Eav\Model\Entity\Attribute\Source\Config的必需参数$options

#0/var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(82):magento\framework\ObjectManager\Factory\Dynamic\Developer->\u解析参数('magento\Eav\Mod…',数组,数组)

#1/var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(57):magento\framework\ObjectManager\Factory\Dynamic\Developer->create('magento\Eav\Mod…',Array)

#2/var/www/html/vendor/magento/framework/Validator/UniversalFactory.php(36):magento\framework\ObjectManager\ObjectManager->create('magento\Eav\Mod…',Array)

#3/var/www/html/vendor/magento/module eav/Model/Entity/Attribute/AbstractAttribute.php(537):magento\Framework\Validator\UniversalFactory->create('magento\eav\Mod…)

#4/var/www/html/vendor/magento/module customer/Model/customer/DataProvider.php(320):magento\Eav\Model\Entity\Attribute\AbstractAttribute->getSource()

#5/var/www/html/vendor/magento/module customer/Model/customer/DataProvider.php(152):magento\customer\Model\customer\DataProvider->getAttributesMeta(对象(magento\Eav\Model\Entity\Type))

#6/var/www/html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93):magento\Customer\Model\Customer\DataProvider->\uu构造('Customer\u form\u d…','entity\u id','id',对象(magento\Ui\DataProvider\EavValidationRules),对象(magento\Customer\Model\ResourceModel\Customer\CollectionFactory),对象(magento\Eav\Model\Model\Config),对象(Magento\Framework\View\Element\UiComponent\DataProvider\FilterPool),数组,数组)

#7/var/www/html/vendor/magento/framework/ObjectManager/Factory/Dynamic/Developer.php(89):magento\framework\ObjectManager\Factory\AbstractFactory->createObject('magento\Custome…',Array)

#8/var/www/html/vendor/magento/framework/ObjectManager/ObjectManager.php(57):magento\framework\ObjectManager\Factory\Dynamic\Developer->create('magento\Custome…',Array)

#9/var/www/html/vendor/magento/framework/View/Element/UiComponent/Argument/解释器/ConfigurableObject.php(60):magento\framework\ObjectManager\ObjectManager->create('magento\Custome…',Array)

#10/var/www/html/var/generation/Magento/Framework/Data/Argument/解释器接口/Proxy.php(95):Magento\Framework\View\Element\UiComponent\Argument\解释器\ConfigurableObject->evaluate(数组)

#11/var/www/html/vendor/magento/framework/Data/Argument/explorer/Composite.php(61):magento\framework\Data\Argument\explorerface\Proxy->evaluate(数组)

#12/var/www/html/vendor/magento/module ui/Model/Manager.php(188):magento\Framework\Data\Argument\解释器\Composite->evaluate(数组)

#13/var/www/html/vendor/magento/module ui/Model/Manager.php(192):magento\ui\Model\Manager->evaluateComponentArguments(数组)

#14/var/www/html/vendor/magento/module ui/Model/Manager.php(172):magento\ui\Model\Manager->evaluateComponentArguments(数组)

这个问题发生在迁移之后,我已经尝试了所有缓存过程并多次删除了它,所以请提供一些其他的好方法来修复
如果需要任何其他信息,请告诉我。

您可以更改\Magento\Eav\Model\Entity\Attribute\Source\Config 从

在这条线上做一个断点

$this->_optionsData = $options;
捕捉未设置$options时的情况。因此,您将找到相应的属性并修复它

请参阅此链接:-


这个链接解决了我的问题。

我也有同样的问题。缓存清理或di:编译没有帮助
public function __construct(array $options = null)
$this->_optionsData = $options;