Fatal error: Uncaught TypeError: Argument 1 passed to Model_Decorator_Prod_Photos::getphotos() must be of the type int, null given, called in /var/www/www-root/data/www/dombusin.com/app/Model/Decorator/Prod/Photos.php on line 8 and defined in /var/www/www-root/data/www/dombusin.com/app/Model/Decorator/Prod/Photos.php:23 Stack trace: #0 /var/www/www-root/data/www/dombusin.com/app/Model/Decorator/Prod/Photos.php(8): Model_Decorator_Prod_Photos->getphotos(NULL) #1 /var/www/www-root/data/www/dombusin.com/app/Model/Model.php(70): Model_Decorator_Prod_Photos->get(Object(ASweb\Db\NullEntity)) #2 /var/www/www-root/data/www/dombusin.com/app/Model/Prod.php(59): Model_Model->get(54542) #3 /var/www/www-root/data/www/dombusin.com/app/controller/catalog.php(314): Model_Prod->get(54542) #4 /var/www/www-root/data/www/dombusin.com/cms.php(15): include('/var/www/www-ro...') #5 {main} thrown in /var/www/www-root/data/www/dombusin.com/app/Model/Decorator/Prod/Photos.php on line 23