TransWikia.com

After migration from magento 1 to magento 2 customers giving eror

Magento Asked by Zuby on October 1, 2021

After migrating data from Magento 1 to Magento 2 When I click on customers in admin area it gives this error

enter image description here

{“0″:”Type Error occurred when creating object:
MagentoEavModelEntityAttributeSourceConfig”,”1″:”#1
MagentoFrameworkObjectManagerFactoryCompiled->create() called
at
[vendor/magento/framework/ObjectManager/ObjectManager.php:56]n#2
MagentoFrameworkObjectManagerObjectManager->create() called at
[vendor/magento/framework/Validator/UniversalFactory.php:36]n#3
MagentoFrameworkValidatorUniversalFactory->create() called at
[vendor/magento/module-eav/Model/Entity/Attribute/AbstractAttribute.php:642]n#4
MagentoEavModelEntityAttributeAbstractAttribute->getSource()
called at
[vendor/magento/module-customer/Model/AttributeMetadataConverter.php:68]n#5
MagentoCustomerModelAttributeMetadataConverter->createMetadataAttribute()
called at
[vendor/magento/module-customer/Model/Metadata/CustomerMetadata.php:87]n#6
MagentoCustomerModelMetadataCustomerMetadata->getAttributeMetadata()
called at
[vendor/magento/module-customer/Model/Metadata/CustomerMetadata.php:119]n#7
MagentoCustomerModelMetadataCustomerMetadata->getAllAttributesMetadata()
called at
[vendor/magento/module-customer/Model/Metadata/CachedMetadata.php:85]n#8
MagentoCustomerModelMetadataCachedMetadata->getAllAttributesMetadata()
called at
[vendor/magento/module-customer/Ui/Component/Listing/AttributeRepository.php:83]n#9
MagentoCustomerUiComponentListingAttributeRepository->getList()
called at
[vendor/magento/module-customer/Ui/Component/Listing/Columns.php:102]n#10
MagentoCustomerUiComponentListingColumns->prepare() called
at [vendor/magento/framework/Interception/Interceptor.php:58]n#11
MagentoCustomerUiComponentListingColumnsInterceptor->___callParent()
called at
[vendor/magento/framework/Interception/Interceptor.php:138]n#12
MagentoCustomerUiComponentListingColumnsInterceptor->MagentoFrameworkInterception{closure}()
called at
[app/code/Amasty/Orderattr/Model/ResourceModel/Value/Plugin/Order/Grid/Columns.php:58]n#13
AmastyOrderattrModelResourceModelValuePluginOrderGridColumns->aroundPrepare()
called at
[vendor/magento/framework/Interception/Interceptor.php:135]n#14
MagentoCustomerUiComponentListingColumnsInterceptor->MagentoFrameworkInterception{closure}()
called at
[vendor/magento/framework/Interception/Interceptor.php:153]n#15
MagentoCustomerUiComponentListingColumnsInterceptor->___callPlugins()
called at
[generated/code/Magento/Customer/Ui/Component/Listing/Columns/Interceptor.php:26]n#16
MagentoCustomerUiComponentListingColumnsInterceptor->prepare()
called at
[vendor/magento/framework/View/Layout/Generator/UiComponent.php:164]n#17
MagentoFrameworkViewLayoutGeneratorUiComponent->prepareComponent()
called at
[vendor/magento/framework/View/Layout/Generator/UiComponent.php:161]n#18
MagentoFrameworkViewLayoutGeneratorUiComponent->prepareComponent()
called at
[vendor/magento/framework/View/Layout/Generator/UiComponent.php:142]n#19
MagentoFrameworkViewLayoutGeneratorUiComponent->generateComponent()
called at
[vendor/magento/framework/View/Layout/Generator/UiComponent.php:103]n#20
MagentoFrameworkViewLayoutGeneratorUiComponent->process()
called at
[vendor/magento/framework/View/Layout/GeneratorPool.php:81]n#21
MagentoFrameworkViewLayoutGeneratorPool->process() called at
[vendor/magento/framework/View/Layout.php:343]n#22
MagentoFrameworkViewLayout->generateElements() called at
[generated/code/Magento/Framework/View/Layout/Interceptor.php:89]n#23
MagentoFrameworkViewLayoutInterceptor->generateElements()
called at
[vendor/magento/framework/View/Layout/Builder.php:129]n#24
MagentoFrameworkViewLayoutBuilder->generateLayoutBlocks()
called at
[vendor/magento/framework/View/Page/Builder.php:55]n#25
MagentoFrameworkViewPageBuilder->generateLayoutBlocks() called
at [vendor/magento/framework/View/Layout/Builder.php:65]n#26
MagentoFrameworkViewLayoutBuilder->build() called at
[vendor/magento/framework/View/Layout.php:253]n#27
MagentoFrameworkViewLayout->build() called at
[vendor/magento/framework/View/Layout.php:875]n#28
MagentoFrameworkViewLayout->getBlock() called at
[generated/code/Magento/Framework/View/Layout/Interceptor.php:414]n#29
MagentoFrameworkViewLayoutInterceptor->getBlock() called at
[vendor/magento/module-backend/Model/View/Result/Page.php:26]n#30
MagentoBackendModelViewResultPage->setActiveMenu() called at
[generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php:24]n#31
MagentoBackendModelViewResultPageInterceptor->setActiveMenu()
called at
[vendor/magento/module-customer/Controller/Adminhtml/Index/Index.php:28]n#32
MagentoCustomerControllerAdminhtmlIndexIndex->execute()
called at
[vendor/magento/framework/App/Action/Action.php:108]n#33
MagentoFrameworkAppActionAction->dispatch() called at
[vendor/magento/module-backend/App/AbstractAction.php:231]n#34
MagentoBackendAppAbstractAction->dispatch() called at
[vendor/magento/framework/Interception/Interceptor.php:58]n#35
MagentoCustomerControllerAdminhtmlIndexIndexInterceptor->___callParent()
called at
[vendor/magento/framework/Interception/Interceptor.php:138]n#36
MagentoCustomerControllerAdminhtmlIndexIndexInterceptor->MagentoFrameworkInterception{closure}()
called at
[vendor/magento/module-backend/App/Action/Plugin/Authentication.php:143]n#37
MagentoBackendAppActionPluginAuthentication->aroundDispatch()
called at
[vendor/magento/framework/Interception/Interceptor.php:135]n#38
MagentoCustomerControllerAdminhtmlIndexIndexInterceptor->MagentoFrameworkInterception{closure}()
called at
[vendor/magento/framework/Interception/Interceptor.php:153]n#39
MagentoCustomerControllerAdminhtmlIndexIndexInterceptor->___callPlugins()
called at
[generated/code/Magento/Customer/Controller/Adminhtml/Index/Index/Interceptor.php:26]n#40
MagentoCustomerControllerAdminhtmlIndexIndexInterceptor->dispatch()
called at
[vendor/magento/framework/App/FrontController.php:159]n#41
MagentoFrameworkAppFrontController->processRequest() called at
[vendor/magento/framework/App/FrontController.php:99]n#42
MagentoFrameworkAppFrontController->dispatch() called at
[vendor/magento/framework/Interception/Interceptor.php:58]n#43
MagentoFrameworkAppFrontControllerInterceptor->___callParent()
called at
[vendor/magento/framework/Interception/Interceptor.php:138]n#44
MagentoFrameworkAppFrontControllerInterceptor->MagentoFrameworkInterception{closure}()
called at
[vendor/magento/framework/Interception/Interceptor.php:153]n#45
MagentoFrameworkAppFrontControllerInterceptor->___callPlugins()
called at
[generated/code/Magento/Framework/App/FrontController/Interceptor.php:26]n#46
MagentoFrameworkAppFrontControllerInterceptor->dispatch()
called at [vendor/magento/framework/App/Http.php:137]n#47
MagentoFrameworkAppHttp->launch() called at
[generated/code/Magento/Framework/App/Http/Interceptor.php:24]n#48
MagentoFrameworkAppHttpInterceptor->launch() called at
[vendor/magento/framework/App/Bootstrap.php:261]n#49
MagentoFrameworkAppBootstrap->run() called at
[index.php:39]n</pre>”,”url”:”/stadmin/customer/index/”,”script_name”:”/index.php”}

2 Answers

I had this same issue. It turned out to be some extra entries in the "eav_customer_attribute" table. Once I removed these entries the page loaded and worked fine.

I also found that this issue caused the customers address to be saved as a new entry on every order.

Answered by rupi on October 1, 2021

I fixed the issue I edited customer_eav_attribute table and removed records, there were some records with wrong Attribute ID table should list in sequence but I found some records where showing like 1,2,3,4,5, 10,12,14,20 I just removed 10,12,14,20 and it worked fine ! if anyone have the same issue I strongly recommend you to take back of table first!

Answered by Zuby on October 1, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP