Showing results for 
Search instead for 
Did you mean: 

Not able to create customer account

Not able to create customer account

When trying to create account getting the following error:

Type Error occurred when creating object: Magento\Eav\Model\Entity\Attribute\Source\Config, Argument 1 passed to Magento\Eav\Model\Entity\Attribute\Source\Config::__construct() must be of the type array, null given, called in /home/admin/web/ on line 121

Same error in both frontend and backend and unable to create or login the customers.

Please help.


Re: Not able to create customer account


Please disable the third-party extensions that are related to customers.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: Not able to create customer account

Hi @Sanjay Jethva 

Thanks for the reply.

I have solved it for temporary by changing the customer attribute tax_class_id frontend_input type from select to text in eav_attribute table.

Please suggest what will the source_model class need to give instead of NULL for this tax_class_id attribute in eav_attribute table.