Error editing customer

I migrated from Magento 1.8 to 2.3.1 and I cannot edit customer information on the backend. I get the following error:
 
There has been an error processing your request

Missing required argument $options of Magento\Eav\Model\Entity\Attribute\Source\Config.

Error log record number: 573608458560

3 answers

Profile photo of Mall Staff 184060.00 $tone May 25, 2019
Public

Hi there,

Missing required argument $options of Magento\Eav\Model\Entity\Attribute\Source\Config.

That issue relates at least one custom customer attribute in your database, which was missing the needed source model. To help you specify the attribute code which raises the issue, lets provide me information about your instance:
+ Admin credentials and URL to back-end of M2 site
+ SSH credentials and path to M2 folder
+ phpMyAdmin credentials of your M2 database
I will help to check further and get back you then.
Regards,
Mall.

#
Profile photo of Mall Staff 184060.00 $tone May 29, 2019
Public

Hi there,
 
After checking directly in the database of your site via control panel, I saw the issue you mentioned. It might relate to the custom attribute code ‘default_blog_category_ids’ as I quoted in this screenshot: https://prnt.sc/nup5dt
 
You can see that the attribute has the value on the frontend_input field as ‘multiselect’ but it had missing value on the source_model field.

To solve the issue, please change the value of ‘frontend_input’ from ‘multiselect’ to ‘text’. You can run the following SQL in M2 database to change:

Update eweeav_attribute Set frontend_input = 'text' Where attribute_code = 'default_blog_category_ids';

+ Once done, clean M2 cache and re-check the issue you mentioned.

Regards,
Mall.
 

#2

Please login or Register to Submit Answer

Written By

Comments