After Import I can't view/edit products in admin

After successful Imported 220k order, 200k customers and 6k products from M1.8.1 without any errors, I was very pleased it went ok using the cli.
I have one small issue.. that I hope you can help resolve.
When logging into the admin, I can see all my products in the product grid, but when clicking to view/edit i get a blank page 500 error.
 
It was a fresh install of M2.3.2, I have re-indexed and checked the file folder permissions. All other admin pages seem to work fine.
 
I hope you guys can help..

4 answers

Profile photo of Mall Staff 142250.00 $tone July 8, 2019
Public

Hi there,

When logging into the admin, I can see all my products in the product grid, but when clicking to view/edit i get a blank page 500 error

That is strange. Please enable the Developer mode and provide me further details about that issue.
 
If you couldn’t enable the Developer mode to provide further details, please provide me the following credentials: 

  • URL and Admin credentials of your M2 instance
  • SSH credentials of your M2 instance
  • Let me know the path to your M2 folder

I will help to check further and get back to you then.
 
PS. Please mark your reply private or simply switch this ticket to private mode, then it’s safe to share your site info here. Only you and our technical team can access. 
 
Regards,
Mall.
 

#1
Profile photo of colinmills 20.00 $tone July 8, 2019
Public

Hi,
I have enabled developer mode and now i can see the error now..
“video_gallery” is a product attribute, but I don’t know what it the error means.. or how to fix it..?

Fatal error: Uncaught TypeError: Argument 2 passed to Magento\Framework\View\Element\UiComponentFactory::argumentsResolver() must be of the type array, null given, called in
/var/www/vhosts/aaa.co.uk/httpdocs/vendor/magento/framework/View/Element/UiComponentFactory.php on line 222 and defined in /var/www/vhosts/aaa.co.uk/httpdocs/vendor/magento/framework/View/Element/UiComponentFactory.php:174 Stack trace: #0 /var/www/vhosts/aaa.co.uk/httpdocs/vendor/magento/framework/View/Element/UiComponentFactory.php(222): Magento\Framework\View\Element\UiComponentFactory->argumentsResolver(‘video_gallery’, NULL) #1 /var/www/vhosts/aaa.co.uk/httpdocs/vendor/magento/module-ui/Component/Form/Field.php(85): Magento\Framework\View\Element\UiComponentFactory->create(‘video_gallery’, ‘videogallery’, Array) #2 /var/www/vhosts/aaa.co.uk/httpdocs/vendor/magento/framework/View/Layout/Generator/UiComponent.php(164): Magento\Ui\Component\Form\Field->prepare() #3 /var/www/vhosts/aaa.co.uk/httpdocs/vendor/ma in /var/www/vhosts/aaa.co.uk/httpdocs/vendor/magento/framework/View/Element/UiComponentFactory.php on line 174

#2
Profile photo of Mall Staff 142250.00 $tone July 8, 2019
Public

Hi there,

“video_gallery” is a product attribute, but I don’t know what it the error means.. or how to fix it..?

is it a custom product attribute? It seem that attribute has value of ‘frontend_input’ field is ‘select’ but it was missed source model or backend model.
Lets try change value of ‘frontend_input’ of that attribute to ‘text’. You could run below SQL in your M2 database to change:

Update eav_attribute Set frontend_input = 'text' Where attribute_code = 'video_gallery';

And then clean M2 cache and recheck the issue. And contact me if you need further assistance.
Regards,
Mall.

#3

Please login or Register to Submit Answer

Written By

Comments