Fatal error: Uncaught TypeError: Argument 1 passed to frontend\controllers\ProductController::actionIndex() must be an instance of common\ActiveRecords\EVeikals\Product, array given in /var/www/vhosts/aivi.lv/httpdocs/frontend/controllers/ProductController.php:46
Stack trace:
#0 [internal function]: frontend\controllers\ProductController->actionIndex(Array, Object(common\ActiveRecords\EVeikals\Category))
#1 /var/www/vhosts/aivi.lv/httpdocs/vendor/php-di/invoker/src/Invoker.php(74): call_user_func_array(Array, Array)
#2 /var/www/vhosts/aivi.lv/httpdocs/vendor/php-di/php-di/src/Container.php(279): Invoker\Invoker->call(Array, Array)
#3 /var/www/vhosts/aivi.lv/httpdocs/constructor/Controller.php(97): DI\Container->call(Array, Array)
#4 /var/www/vhosts/aivi.lv/httpdocs/constructor/WebAction.php(37): Constructor\Controller->callAction(Object(Constructor\structures\ActionDefinition))
#5 /var/www/vhosts/aivi.lv/httpdocs/constructor/WebApp.php(57): Constructor\WebAction->process(Object(Constructor\structures\ActionDefinition))
#6 in /var/www/vhosts/aivi.lv/httpdocs/frontend/controllers/ProductController.php on line 46