- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2021
07:55 AM
05-16-2021
07:55 AM
Upgrade Error: 2.3 to 2.4.2 create() null file Category/DataProvider.php
Have upgraded from magneto2.3 to Magento 2.4.2
getting following error when open "Categories In Admin"
main.CRITICAL: Error: Call to a member function create() on null in
/public_html/vendor/magento/module-catalog/Model/Category/DataProvider.php:663
Can anyone suggest a solution?
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2021
01:37 AM
05-21-2021
01:37 AM
Re: Upgrade Error: 2.3 to 2.4.2 create() null file Category/DataProvider.php
Hi @usercm,
Find the find by entering this path:
/public_html/vendor/magento/module-catalog/Model/Category/DataProvider.php
After that, find line 663 and replace:
Converted into
$config = $this->uiConfigFactory ->create(['componentName' => 'category_form']) ->get($referenceName);
Hope this can help you! Let me know if you need further assistance.
__________
If issue solved, Click Kudos & Accept as Solution.
LitExtension - #1 Shopping Cart Migration Expert
LitExtension helps store owners and agencies migrate all important data from one eCommerce platform to another accurately, securely and at the highest speed.
Visit website: http://litextension.com/
LitExtension helps store owners and agencies migrate all important data from one eCommerce platform to another accurately, securely and at the highest speed.
Visit website: http://litextension.com/