After a succesfull migrations I get a HTTP ERROR 500 error when I try to edit a customer.
The error log shows:
[22-Sep-2018 13:37:32 UTC] PHP Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Framework\View\Element\UiComponentFactory::argumentsResolver() must be of the type array, null given, called in /home/jukeboxs/public_html/vendor/magento/framework/View/Element/UiComponentFactory.php on line 220 and defined in /home/jukeboxs/public_html/vendor/magento/framework/View/Element/UiComponentFactory.php:172
Stack trace:
#0 /home/jukeboxs/public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(220): Magento\Framework\View\Element\UiComponentFactory->argumentsResolver(‘incasso_allow’, NULL)
#1 /home/jukeboxs/public_html/vendor/magento/module-ui/Component/Form/Field.php(84): Magento\Framework\View\Element\UiComponentFactory->create(‘incasso_allow’, ”, Array)
#2 /home/jukeboxs/public_html/vendor/magento/framework/View/Layout/Generator/UiComponent.php(159): Magento\Ui\Component\Form\Field->prepare()
#3 /home/jukeboxs/public_html/vendor/magento/framework/View/Layout/Generator/UiComponent.php(156): Magento\Framework\View\Layout\Generator\Ui in /home/jukeboxs/public_html/vendor/magento/framework/View/Element/UiComponentFactory.php on line 172
Any idea what to do abou this. I have a cintribution in Mag1 that add a few field to the customer containing data for incasso payment. Maybe that causes this?
5 answers
Hi there,
/home/jukeboxs/public_html/vendor/magento/framework/View/Element/UiComponentFactory.php(220): Magento\Framework\View\Element\UiComponentFactory->argumentsResolver(‘incasso_allow’, NULL)
That issue related to the custom customer attributes. Let’s run below SQL to listing that attributes in your M2 database:
SELECT * FROM eav_attribute WHERE frontend_input LIKE '%incasso_allow%' OR attribute_code like '%incasso_allow%';
And provide me the captured screenshots of the result. I will help to check further on that and provide you workaround to solve that.
Regards,
Mall.
I have emailed the screenshot.
Hi there,
I have emailed the screenshot.
Let’s run below SQL in your M2 database to solve that issue:
UPDATE eav_attribute SET frontend_input = 'text' WHERE attribute_code = 'incasso_allow';
+ Once done, clean M2 cache and re-check the issue as you mentioned.
Regards,
Mall.
Hello,
That did it! Thankf again for your help.
Hi there,
Glad that is helps.
We’ve just sent you a new reply via email, kindly check and follow up further with us there.
Regards,
Ubertheme team