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?
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.