Home > OS >  Getting TypeError when fetching data from custom table and sho in grin in admin panel in magento2
Getting TypeError when fetching data from custom table and sho in grin in admin panel in magento2

Time:02-14

getting error CRITICAL: TypeError: Argument 2 passed to Magento\Framework\View\Element\UiComponentFactory::argumentsResolver() must be of the type array, null given, called in C:\xampp\htdocs\magento2\vendor\magento\framework\View\Element\UiComponentFactory.php on linecreating a grid in admin panel

CodePudding user response:

It is getting a null instead of an array.

Try this:

Check in your code that if it is null it returns an empty array.

  • Related