Error editing customer

I migrated from Magento 1.9 to 2.3.3 with UB Date Migration Pro 3.2.2 (I bought the extension 2 years ago)
Now I cannot edit customer information on the backend. I get the following error:

1 exception(s):
Exception #0 (BadMethodCallException): Missing required argument $options of Magento\Eav\Model\Entity\Attribute\Source\Config.

I was looking for solution and found at first this link: https://magento.stackexchange.com/questions/163287/missing-required-argument-options-after-migration-from-magento-1-9-2-4-to-2-1
… but I don´t have this file on my FTP…. vendor/magento/module-customer/Model/Config.php and other solution in the thread doesn’t work. (There is also a issue, when I run a command php bin/magento setup:static-content:deploy)
Then I found this ticket and the problems sounds very similar: https://www.ubertheme.com/question/error-editing-customer/
I found in the “eav_attribute” in the DB… how can I found out, which one is wrong?

Thx for your help

12 answers

Profile photo of ubdev Staff 98150.00 $tone August 19, 2022
Public

Hi there,

As your UB Migration Data purchase was from 2 years ago, this license has expired now.
Our technical support is only available for the active paid members. In this case please consider renewing your license so you can regain access to the product & our technical support. After renewal our support team will be able to provide further assistance with your issue.

We have a special 20%OFF coupon code for the returning members that you might take advantage of : PR020

 
Best regards,

#2
Profile photo of Mall Staff 184060.00 $tone August 22, 2022
Public

Hi there,

1 exception(s):
Exception #0 (BadMethodCallException): Missing required argument $options of Magento\Eav\Model\Entity\Attribute\Source\Config.

The issue is related to at least one custom customer attribute in your database, which was missing the needed source model.
In order to detect the attribute code that raises the issue, please provide me with information about your instance:

+ Admin credentials and URL to the back-end of the M2 site
+ SSH credentials and path to M2 folder
+ phpMyAdmin credentials of your M2 database

I will check further and get back to you then.
 

Regards,
Mall.

#4
Profile photo of Mall Staff 184060.00 $tone October 31, 2022
Public

Hi there,

Is it OK for you when you will get just the FTP- and PhpMyAdmin login?

Please provide me with your FTP credentials that can edit any files in your M2 root folder. This will help me to debug and look for the attribute that has bad settings as I mentioned in my first reply.

Regards,
Mall.

#6
Profile photo of Mall Staff 184060.00 $tone November 9, 2022
Public

Hi there,

 1 exception(s):
Exception #0 (BadMethodCallException): Missing required argument $options of Magento\Eav\Model\Entity\Attribute\Source\Config.

I’ve added more debug code in your M2 instance and found that the root of that issue was related to an attribute code ‘allowed_payment_methods‘ in your M2 database. It was missing the source model class: http://prntscr.com/sd19LJ4TD7jX
You must consider directly updating the source model class for that attribute in the M2 database to solve the issue.
Alternately, you can set the frontend_input type of that attribute to ‘text’.
 
Hope this helps.
Regards,
Mall.

#8
Profile photo of zro2 280.00 $tone November 14, 2022
Public

Hi Mall,
can you give a hint, where you see this errors?

I already enabled the debug mode (configuration >>Advanced >Developer), but I can not see this error. Also not in the var/log/debug.log

Enable Template Path Hints for Storefront: Yes
Enable Template Path Hints for Admin: Yes
Add Block Class Type to Hints: Yes

thx for your advice

#11
Profile photo of Mall Staff 184060.00 $tone November 15, 2022
Public

Hi there,

can you give a hint, where you see this errors?

As seen in the screenshot I provided in reply #10, you can do custom edit in the backend to see the error message.
 

Regards,
Mall.

#12

Please login or Register to Submit Answer

Written By

Comments