I migrated from Magento 1.9.1.0 to Magento 2.3.1…the migration was completed with warnings and after I reindexed and flushed cache and also set upgrade, compile, and deploy, Clicking on All Customers at admin backend displays error, can’t view all customers and some customer information like the shipping address, billing address, contact, and name is missing from the order page.
I have remigrated countless times with different solutions but I still get the same error.
{“0″:”Type Error occurred when creating object:
MagentoEavModelEntityAttributeSourceConfig”,”1″:”#1
MagentoFrameworkObjectManagerFactoryCompiled->create(‘MagentoEavMode…’,
array()) called at
[vendor/magento/framework/ObjectManager/ObjectManager.php:56]
I was expecting the customer page should load properly and also view all customers shouldn’t be giving errors cos I have really gone through hell trying to solve this. I would be grateful for any assistance.
2
Answers
Try to find the
customer_eav_attribute
thatfronted_input
column value isselect
ineav_attribute
, make sure the columnsource_model
is not NULL or empty or the value which refers to a specific class is correct.If it’s empty or NULL, you must be skip/ignore the error warning while migrating. You can solve this by changing the
fronted_input
column value toint
until you finish creating thesource_model
classTry to debug this class
MagentoCustomerModelMetadataCustomerMetadata
specifically in the methodgetAttributeMetadata
using xDebug. There you will find out whichattribute_code
that caused this error. And then as per @Idham Choudry, change thefrontend_input
value of that attribute ineav_attribute
table. On my end, I changed it to text.