Urgent help needed!
After migrating data from M1 to M2 (Magento v2.2.5) using UB Data Migration Pro, when I click edit to any Customer at the Magento 2 Admin Panel, I get these error messages:
Fatal error: Uncaught TypeError: Argument 1 passed to Magento\Eav\Model\Entity\Attribute\Source\Config::__construct() must be of the type array, null given, called in /home/91647.cloudwaysapps.com/fvrpgyvmqm/public_html/aandhcom/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111 and defined in /home/91647.cloudwaysapps.com/fvrpgyvmqm/public_html/aandhcom/vendor/magento/module-eav/Model/Entity/Attribute/Source/Config.php on line 26
TypeError: Argument 1 passed to Magento\Eav\Model\Entity\Attribute\Source\Config::__construct() must be of the type array, null given, called in /home/91647.cloudwaysapps.com/fvrpgyvmqm/public_html/aandhcom/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 111 in /home/91647.cloudwaysapps.com/fvrpgyvmqm/public_html/aandhcom/vendor/magento/module-eav/Model/Entity/Attribute/Source/Config.php on line 26
I have tried running below commands:
rm -rf var/page_cache/* var/cache/* generated/code/* var/log/* var/report/* generated/metadata/* var/view_preprocessed/* pub/static/*
php -d memory_limit=-1 bin/magento setup:upgrade
php -d memory_limit=-1 bin/magento setup:db-schema:upgrade
php -d memory_limit=-1 bin/magento setup:di:compile
php -d memory_limit=-1 bin/magento setup:static-content:deploy -f
php -d memory_limit=-1 bin/magento cache:clean
php -d memory_limit=-1 bin/magento cache:flush
php -d memory_limit=-1 bin/magento indexer:reindex
php -d memory_limit=-1 bin/magento cache:clean
php -d memory_limit=-1 bin/magento cache:flush
All commands executed successfully, but still, the error exists. Have a look at the screenshots below: