Fatal error: Uncaught TypeError: Argument 1 passed to frontend\classes\PriceManager::getVariantPrice() must be an instance of common\ActiveRecords\EVeikals\Variant, null given, called in /var/www/vhosts/aisunko.lv/httpdocs/frontend/controllers/ProductController.php on line 62 and defined in /var/www/vhosts/aisunko.lv/httpdocs/frontend/classes/PriceManager.php:128 Stack trace: #0 /var/www/vhosts/aisunko.lv/httpdocs/frontend/controllers/ProductController.php(62): frontend\classes\PriceManager->getVariantPrice(NULL) #1 [internal function]: frontend\controllers\ProductController->actionIndex(Object(common\ActiveRecords\EVeikals\Product), Object(common\ActiveRecords\EVeikals\Category)) #2 /var/www/vhosts/aisunko.lv/httpdocs/vendor/php-di/invoker/src/Invoker.php(82): call_user_func_array(Array, Array) #3 /var/www/vhosts/aisunko.lv/httpdocs/vendor/php-di/php-di/src/Container.php(269): Invoker\Invoker->call(Array, Array) #4 /var/www/vhosts/aisunko.lv/httpdocs/constructor/Controller.php(97): DI\Container->call(Array, Array) #5 /va in /var/www/vhosts/aisunko.lv/httpdocs/frontend/classes/PriceManager.php on line 128