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/clients/client1/web63/web/frontend/controllers/ProductController.php on line 67 and defined in /var/www/clients/client1/web63/web/frontend/classes/PriceManager.php:119
Stack trace:
#0 /var/www/clients/client1/web63/web/frontend/controllers/ProductController.php(67): 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/clients/client1/web63/web/vendor/php-di/invoker/src/Invoker.php(82): call_user_func_array(Array, Array)
#3 /var/www/clients/client1/web63/web/vendor/php-di/php-di/src/Container.php(269): Invoker\Invoker->call(Array, Array)
#4 /var/www/clients/client1/web63/web/constructor/Controller.php(97): DI\Container->call(Array, Array)
#5 /var/www/ in /var/www/clients/client1/web63/web/frontend/classes/PriceManager.php on line 119