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/reaktivs.lv/httpdocs/frontend/controllers/ProductController.php on line 69 and defined in /var/www/vhosts/reaktivs.lv/httpdocs/frontend/classes/PriceManager.php:119 Stack trace: #0 /var/www/vhosts/reaktivs.lv/httpdocs/frontend/controllers/ProductController.php(69): 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/reaktivs.lv/httpdocs/vendor/php-di/invoker/src/Invoker.php(74): call_user_func_array(Array, Array) #3 /var/www/vhosts/reaktivs.lv/httpdocs/vendor/php-di/php-di/src/Container.php(276): Invoker\Invoker->call(Array, Array) #4 /var/www/vhosts/reaktivs.lv/httpdocs/constructor/Controller.php(97): DI\Container->call(Array, Array) in /var/www/vhosts/reaktivs.lv/httpdocs/frontend/classes/PriceManager.php on line 119