Fatal error: Uncaught TypeError: Argument 2 passed to frontend\controllers\ProductController::actionIndex() must be an instance of common\ActiveRecords\EVeikals\Category, null given in /home/tespars_lv/public_html/frontend/controllers/ProductController.php:27 Stack trace: #0 [internal function]: frontend\controllers\ProductController->actionIndex(Object(common\ActiveRecords\EVeikals\Product), NULL) #1 /home/tespars_lv/public_html/vendor/php-di/invoker/src/Invoker.php(82): call_user_func_array(Array, Array) #2 /home/tespars_lv/public_html/vendor/php-di/php-di/src/Container.php(269): Invoker\Invoker->call(Array, Array) #3 /home/tespars_lv/public_html/constructor/Controller.php(97): DI\Container->call(Array, Array) #4 /home/tespars_lv/public_html/constructor/WebAction.php(37): Constructor\Controller->callAction(Object(Constructor\structures\ActionDefinition)) #5 /home/tespars_lv/public_html/constructor/WebApp.php(57): Constructor\WebAction->process(Object(Constructor\structures\ActionDefinition)) #6 /home/tespars_lv/public_h in /home/tespars_lv/public_html/frontend/controllers/ProductController.php on line 27