Hi Guys, after data transfer, when i try to pen Catalog ->Products, the error http 500 appears. It was ok before I made data migration
PHP Fatal error: Method Magento\\Ui\\TemplateEngine\\Xhtml\\Result::__toString() must not throw an exception, caught TypeError: Argument 1 passed to Magento\\InventorySalesAdminUi\\Model\\GetSalableQuantityDataBySku::execute() must be of the type string, null given, called in /home/admin/web/new.iticsoftware.com/public_html/vendor/magento/module-inventory-sales-admin-ui/Ui/Component/Listing/Column/SalableQuantity.php on line 70 in /home/admin/web/new.iticsoftware.com/public_html/vendor/magento/module-ui/Component/Wrapper/UiComponent.php on line 0, referer: http://new.iticsoftware.com/google/catalog/category/index/key/57804f07f3d8272e3917e812d56bf140bff3b2cad55865a9579a3a7b320ac1e4/
9 answers
Hi there,
after data transfer, when i try to pen Catalog ->Products, the error http 500 appears. It was ok before I made data migration
That is a strange issue. Did you reindex the data successfully after migrating?
Regards,
Mall.
yes
php bin/magento indexer:reindex
Hi there,
Please provide us your site info below, we will check further:
- URL and admin credentials of your M2 instance
- SSH credentials of your M2 instance
- Let us know the path to your M2 folder
Please mark you reply private, or 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,
Ubertheme team
Hi there,
when i try to pen Catalog ->Products, the error http 500 appears.
We have checked and saw the 500 error notice as you mentioned (here’s a screenshot we captured at our end: http://i.prntscr.com/2-w5m7SFSmWY3K5mz8d2UA.png )
We helped to enable Developer mode, and refreshed Magento log to debug. However, Magento returned no error notice. So it might indicate the server-side issue.
You should contact with your system admin to check further on this.
PS. While debugging, we also noticed that you did installed and used default Magento migration tool before using our migration tool. Actually, this might cause the conflicts when both tools were in place. So it would be best if you can proceed migration on a fresh instance with our migration tool only.
Regards,
Ubertheme team
im reinstall os. Install magento 2 and migrate data…
I wont edit product
1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): The "formElement" configuration parameter is required for the "model" field. Exception #0 (Magento\Framework\Exception\LocalizedException): The "formElement" configuration parameter is required for the "model" field. <pre>#1 Magento\Framework\View\Layout\Generator\UiComponent->prepareComponent(&Magento\Ui\Component\Form\Field#0000000036493fb40000000026e58c67#) called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:161] #2 Magento\Framework\View\Layout\Generator\UiComponent->prepareComponent(&Magento\Ui\Component\Container#0000000036493fb30000000026e58c67#) called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:161] #3 Magento\Framework\View\Layout\Generator\UiComponent->prepareComponent(&Magento\Ui\Component\Form\Fieldset#0000000036493fc40000000026e58c67#) called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:161] #4 Magento\Framework\View\Layout\Generator\UiComponent->prepareComponent(&Magento\Ui\Component\Form#00000000364938bb0000000026e58c67#) called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:142] #5 Magento\Framework\View\Layout\Generator\UiComponent->generateComponent(&Magento\Framework\View\Layout\Data\Structure#00000000364936e90000000026e58c67#, 'product_form', array('attributes' => array('group' => '', 'component' => '', 'aclResource' => '', 'visibilityCondit...' => array())), &Magento\Framework\View\Layout\Interceptor#00000000364937440000000026e58c67#) called at [vendor/magento/framework/View/Layout/Generator/UiComponent.php:102] #6 Magento\Framework\View\Layout\Generator\UiComponent->process(&Magento\Framework\View\Layout\Reader\Context#00000000364933fa0000000026e58c67#, &Magento\Framework\View\Layout\Generator\Context#0000000036493c030000000026e58c67#) called at [vendor/magento/framework/View/Layout/GeneratorPool.php:81] #7 Magento\Framework\View\Layout\GeneratorPool->process(&Magento\Framework\View\Layout\Reader\Context#00000000364933fa0000000026e58c67#, &Magento\Framework\View\Layout\Generator\Context#0000000036493c030000000026e58c67#) called at [vendor/magento/framework/View/Layout.php:343] #8 Magento\Framework\View\Layout->generateElements() called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:89] #9 Magento\Framework\View\Layout\Interceptor->generateElements() called at [vendor/magento/framework/View/Layout/Builder.php:129] #10 Magento\Framework\View\Layout\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Page/Builder.php:55] #11 Magento\Framework\View\Page\Builder->generateLayoutBlocks() called at [vendor/magento/framework/View/Layout/Builder.php:65] #12 Magento\Framework\View\Layout\Builder->build() called at [vendor/magento/framework/View/Layout.php:253] #13 Magento\Framework\View\Layout->build() called at [vendor/magento/framework/View/Layout.php:875] #14 Magento\Framework\View\Layout->getBlock('menu') called at [generated/code/Magento/Framework/View/Layout/Interceptor.php:414] #15 Magento\Framework\View\Layout\Interceptor->getBlock('menu') called at [vendor/magento/module-backend/Model/View/Result/Page.php:26] #16 Magento\Backend\Model\View\Result\Page->setActiveMenu('Magento_Catalog:...') called at [generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php:24] #17 Magento\Backend\Model\View\Result\Page\Interceptor->setActiveMenu('Magento_Catalog:...') called at [vendor/magento/module-catalog/Controller/Adminhtml/Product/Edit.php:71] #18 Magento\Catalog\Controller\Adminhtml\Product\Edit->execute() called at [generated/code/Magento/Catalog/Controller/Adminhtml/Product/Edit/Interceptor.php:24] #19 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->execute() called at [vendor/magento/framework/App/Action/Action.php:108] #20 Magento\Framework\App\Action\Action->dispatch(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#) called at [vendor/magento/module-backend/App/AbstractAction.php:231] #21 Magento\Backend\App\AbstractAction->dispatch(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#) called at [vendor/magento/framework/Interception/Interceptor.php:58] #22 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#)) called at [vendor/magento/framework/Interception/Interceptor.php:138] #23 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#) called at [vendor/magento/module-backend/App/Action/Plugin/Authentication.php:143] #24 Magento\Backend\App\Action\Plugin\Authentication->aroundDispatch(&Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor#000000003649302d0000000026e58c67#, &Closure#00000000364930250000000026e58c67#, &Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#) called at [vendor/magento/framework/Interception/Interceptor.php:135] #25 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#) called at [vendor/magento/framework/Interception/Interceptor.php:153] #26 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#), NULL) called at [generated/code/Magento/Catalog/Controller/Adminhtml/Product/Edit/Interceptor.php:39] #27 Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor->dispatch(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#) called at [vendor/magento/framework/App/FrontController.php:159] #28 Magento\Framework\App\FrontController->processRequest(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#, &Magento\Catalog\Controller\Adminhtml\Product\Edit\Interceptor#000000003649302d0000000026e58c67#) called at [vendor/magento/framework/App/FrontController.php:99] #29 Magento\Framework\App\FrontController->dispatch(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#) called at [vendor/magento/framework/Interception/Interceptor.php:58] #30 Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', array(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#)) called at [vendor/magento/framework/Interception/Interceptor.php:138] #31 Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception\{closure}(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#) called at [vendor/magento/framework/Interception/Interceptor.php:153] #32 Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', array(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#), array(array('default_store_se...', 'page_cache_from_...', 'storeCookieValid...', 'install', 'configHash'))) called at [generated/code/Magento/Framework/App/FrontController/Interceptor.php:26] #33 Magento\Framework\App\FrontController\Interceptor->dispatch(&Magento\Framework\App\Request\Http#00000000364934890000000026e58c67#) called at [vendor/magento/framework/App/Http.php:136] #34 Magento\Framework\App\Http->launch() called at [generated/code/Magento/Framework/App/Http/Interceptor.php:24] #35 Magento\Framework\App\Http\Interceptor->launch() called at [vendor/magento/framework/App/Bootstrap.php:258] #36 Magento\Framework\App\Bootstrap->run(&Magento\Framework\App\Http\Interceptor#00000000364934c70000000026e58c67#) called at [index.php:39]
Hi there,
im reinstall os. Install magento 2 and migrate data…
Please provide me the information of your new M2 instance:
- 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, then it’s safe to share your site info here. Only you and our technical team can access.
Regards,
Mall.
Hi there,
I checked in your M2 site and saw the issue you mentioned:
1 exception(s): Exception #0 (Magento\Framework\Exception\LocalizedException): The “formElement” configuration parameter is required for the “model” field.
That issue relates to a bad setting of the custom product attribute code ‘model’ in the table ‘eav_attribute’ as in this screenshot:
http://i.prntscr.com/1davF0ewSrmRYdyZ2xhTFA.png
As you can see, the attribute has NULL value of the ‘frontend_input’ field. To solve that issue, you can run the following SQL in your m2 database to change the value of frontend_input field from NULL to ‘text’:
Update eav_attribute Set frontend_input = 'text' Where attribute_code = 'model';
+ Once done, clean M2 cache and check the issue again.
Regards,
Mall.