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/controllers/Category.php(62): lib\Catalog::get()
#2 /mnt/ssd/www-master/badugr/lib/BaduRedis.php(135): controllers\Category->controllers\{closure}()
#3 /mnt/ssd/www-master/badugr/controllers/Category.php(63): lib\BaduRedis::getUpdate()
#4 /mnt/ssd/www-master/badugr/controllers/Base.php(133): controllers\Category->buildTemplateData()
#5 /mnt/ssd/www-master/badugr/public/index.php(40): controllers\Base->__construct()
#6 {main}
thrown in /mnt/ssd/www-master/badugr/lib/PriceService.php on line 495