Fatal error: Uncaught TypeError: Argument 1 passed to lib\PriceService::isValidProduct() must be of the type array, null given, called in /mnt/ssd/www-master/badugr/lib/Catalog.php on line 592 and defined in /mnt/ssd/www-master/badugr/lib/PriceService.php:495 Stack trace: #0 /mnt/ssd/www-master/badugr/lib/Catalog.php(592): lib\PriceService::isValidProduct() #1 /mnt/ssd/www-master/badugr/lib/Catalog.php(1360): lib\Catalog::get() #2 /mnt/ssd/www-master/badugr/controllers/Product.php(39): lib\Catalog::first() #3 /mnt/ssd/www-master/badugr/lib/BaduRedis.php(135): controllers\Product->controllers\{closure}() #4 /mnt/ssd/www-master/badugr/controllers/Product.php(41): lib\BaduRedis::getUpdate() #5 /mnt/ssd/www-master/badugr/controllers/Base.php(133): controllers\Product->buildTemplateData() #6 /mnt/ssd/www-master/badugr/public/index.php(40): controllers\Base->__construct() #7 {main} thrown in /mnt/ssd/www-master/badugr/lib/PriceService.php on line 495