Fatal Error!
Argument 1 passed to Model\Decorator\ProdPhotos::getphotos() must be of the type int, null given, called in /var/www/deus2/data/www/stationery.com.ua/app/Model/Decorator/ProdPhotos.php on line 12
in file: /var/www/deus2/data/www/stationery.com.ua/app/Model/Decorator/ProdPhotos.php
at line: 27

Trace:
0 -> file -> /var/www/deus2/data/www/stationery.com.ua/app/Model/Decorator/ProdPhotos.php
line -> 12
function -> getphotos
class -> Model\Decorator\ProdPhotos
type -> ->
args -> Array ( [0] => )

1 -> file -> /var/www/deus2/data/www/stationery.com.ua/ASweb/MVC/Model/Model.php
line -> 82
function -> get
class -> Model\Decorator\ProdPhotos
type -> ->
args -> Array ( [0] => ASweb\Db\NullEntity Object ( ) )

2 -> file -> /var/www/deus2/data/www/stationery.com.ua/app/Controller/Catalog.php
line -> 143
function -> get
class -> ASweb\MVC\Model\Model
type -> ->
args -> Array ( [0] => 3110 )

3 -> file -> /var/www/deus2/data/www/stationery.com.ua/ASweb/MVC/Controller/AbstractController.php
line -> 54
function -> prodContAction
class -> Controller\Catalog
type -> ->
args -> Array ( )

4 -> file -> /var/www/deus2/data/www/stationery.com.ua/ASweb/MVC/App.php
line -> 39
function -> handle
class -> ASweb\MVC\Controller\AbstractController
type -> ->
args -> Array ( [0] => ASweb\HTTP\Request Object ( [url:ASweb\HTTP\Request:private] => [page:ASweb\HTTP\Request:private] => catalog/product/3110 [args:ASweb\HTTP\Request:private] => Array ( [0] => catalog [1] => product [2] => 3110 ) [method:ASweb\HTTP\Request:private] => GET [s:ASweb\HTTP\Request:private] => Array ( ) [p:ASweb\HTTP\Request:private] => Array ( ) [g:ASweb\HTTP\Request:private] => Array ( ) [c:ASweb\HTTP\Request:private] => Array ( ) [j:ASweb\HTTP\Request:private] => Array ( ) ) )

5 -> file -> /var/www/deus2/data/www/stationery.com.ua/cms.php
line -> 33
function -> run
class -> ASweb\MVC\App
type -> ->
args -> Array ( [0] => ASweb\HTTP\Request Object ( [url:ASweb\HTTP\Request:private] => [page:ASweb\HTTP\Request:private] => catalog/product/3110 [args:ASweb\HTTP\Request:private] => Array ( [0] => catalog [1] => product [2] => 3110 ) [method:ASweb\HTTP\Request:private] => GET [s:ASweb\HTTP\Request:private] => Array ( ) [p:ASweb\HTTP\Request:private] => Array ( ) [g:ASweb\HTTP\Request:private] => Array ( ) [c:ASweb\HTTP\Request:private] => Array ( ) [j:ASweb\HTTP\Request:private] => Array ( ) ) )