I did data migration from Magento 1.9 to Magento 2.2 and now I am unable to edit a customer. I am getting this on customer edit page in admin side.

enter image description here I tried this but it didn't work for me.

I added magento_umask in Magento root directory with number 002 but it didn't work either


2 Answers 2


It was a 3rd party extension issue I found this solution helpful.



Run this query in your database :

select * from `customer_eav_attribute` where (`validate_rules` ='');

and if it shows any result , fixed it with this

UPDATE `customer_eav_attribute` SET validate_rules='[]' where (`validate_rules` ='');

CR from link

  • I didn't get any records after 1st query Feb 22, 2019 at 10:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.