Fatal error: Uncaught TypeError: frontend\controllers\ProductController::actionIndex(): Argument #2 ($category) must be of type common\ActiveRecords\EVeikals\Category, null given in /var/www/vhosts/drosiseifi.lv/barjeras.lv/frontend/controllers/ProductController.php:27
Stack trace:
#0 [internal function]: frontend\controllers\ProductController->actionIndex()
#1 /var/www/vhosts/drosiseifi.lv/barjeras.lv/vendor/php-di/invoker/src/Invoker.php(82): call_user_func_array()
#2 /var/www/vhosts/drosiseifi.lv/barjeras.lv/vendor/php-di/php-di/src/Container.php(279): Invoker\Invoker->call()
#3 /var/www/vhosts/drosiseifi.lv/barjeras.lv/constructor/Controller.php(97): DI\Container->call()
#4 /var/www/vhosts/drosiseifi.lv/barjeras.lv/constructor/WebAction.php(37): Constructor\Controller->callAction()
#5 /var/www/vhosts/drosiseifi.lv/barjeras.lv/constructor/WebApp.php(57): Constructor\WebAction->process()
#6 /var/www/vhosts/drosiseifi.lv/barjeras.lv/frontend/public/index.php(18): Constructor\WebApp->run()
#7 {main}
thrown in /var/www/vhosts/drosiseifi.lv/barjeras.lv/frontend/controllers/ProductController.php on line 27