Fatal Error!
Argument 1 passed to Model\Decorator\CatRelated::getrelated() must be of the type int, null given, called in /var/www/fastuser/data/www/33korovy.in.ua/app/Model/Decorator/CatRelated.php on line 17
in file: /var/www/fastuser/data/www/33korovy.in.ua/app/Model/Decorator/CatRelated.php
at line: 28
Trace:
0 -> file -> /var/www/fastuser/data/www/33korovy.in.ua/app/Model/Decorator/CatRelated.php
line -> 17
function -> getrelated
class -> Model\Decorator\CatRelated
type -> ->
args -> Array
(
[0] =>
[1] => Model\Cat Object
(
[name:protected] => cat
[depends:protected] => Array
(
[0] => Cat
[1] => Prod
)
[relations:protected] => Array
(
)
[multylang:protected] => 1
[visibility:protected] => 1
[par] => 0
[db:protected] => ASweb\Db\Db Object
(
[driver:ASweb\Db\Db:private] => ASweb\Db\Driver\MySQL Object
(
[mysqli:protected] => mysqli Object
(
[affected_rows] => 0
[client_info] => mysqlnd 7.4.33
[client_version] => 70433
[connect_errno] => 0
[connect_error] =>
[errno] => 0
[error] =>
[error_list] => Array
(
)
[field_count] => 21
[host_info] => Localhost via UNIX socket
[info] =>
[insert_id] => 0
[server_info] => 5.7.41
[server_version] => 50741
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 690269
[warning_count] => 0
)
)
[db_prefix:ASweb\Db\Db:private] => as_
)
[opt:protected] =>
[_lastid:protected] =>
[id:protected] => 0
[lang:protected] => ru
[default_lang:protected] => ru
[need_translate:protected] =>
[db_prefix] => as_
[table] => as_cat
[row] => Array
(
)
[Decorators:protected] => Array
(
[Model\Decorator\CatRelated] => Model\Decorator\CatRelated Object
(
[db:protected] => ASweb\Db\Db Object
(
[driver:ASweb\Db\Db:private] => ASweb\Db\Driver\MySQL Object
(
[mysqli:protected] => mysqli Object
(
[affected_rows] => 0
[client_info] => mysqlnd 7.4.33
[client_version] => 70433
[connect_errno] => 0
[connect_error] =>
[errno] => 0
[error] =>
[error_list] => Array
(
)
[field_count] => 21
[host_info] => Localhost via UNIX socket
[info] =>
[insert_id] => 0
[server_info] => 5.7.41
[server_version] => 50741
[sqlstate] => 00000
[protocol_version] => 10
[thread_id] => 690269
[warning_count] => 0
)
)
[db_prefix:ASweb\Db\Db:private] => as_
)
[db_prefix:protected] => as_
[Options:protected] => Array
(
)
[Model] => Model\Cat Object
*RECURSION*
)
)
[Plugins:protected] => Array
(
)
)
)
1 -> file -> /var/www/fastuser/data/www/33korovy.in.ua/ASweb/MVC/Model/Model.php
line -> 82
function -> get
class -> Model\Decorator\CatRelated
type -> ->
args -> Array
(
[0] => ASweb\Db\NullEntity Object
(
)
)
2 -> file -> /var/www/fastuser/data/www/33korovy.in.ua/app/Controller/Catalog.php
line -> 108
function -> get
class -> ASweb\MVC\Model\Model
type -> ->
args -> Array
(
[0] => 274
)
3 -> file -> /var/www/fastuser/data/www/33korovy.in.ua/ASweb/MVC/Controller/AbstractController.php
line -> 55
function -> prodListAction
class -> Controller\Catalog
type -> ->
args -> Array
(
)
4 -> file -> /var/www/fastuser/data/www/33korovy.in.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/cat-274-1multivitamini
[args:ASweb\HTTP\Request:private] => Array
(
[0] => catalog
[1] => cat-274-1multivitamini
)
[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
(
)
)
)
5 -> file -> /var/www/fastuser/data/www/33korovy.in.ua/cms.php
line -> 38
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/cat-274-1multivitamini
[args:ASweb\HTTP\Request:private] => Array
(
[0] => catalog
[1] => cat-274-1multivitamini
)
[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
(
)
)
)