System error

error:  Can't call method "list_childs" on an undefined value at /home/vseplatezhi/Vseplatezhi/sources/comps/www/dhandler line 52.
context: 
... 
48:  else {
49:  # Поиск текущего местоположения по секциям
50:  my @childs = ( $CONTENT->get_section_by_alias('suppliers') );
51:  foreach ( qw(menu) ) {
52:  push(@childs, @{ $CONTENT->get_section_by_alias($_)->list_childs( status => 1 ) } );
53:  }
54: 
55:  foreach my $uri ( @parts ) {
56:  foreach my $section ( @childs ) {
... 
code stack:  /home/vseplatezhi/Vseplatezhi/sources/comps/www/dhandler:52
/home/vseplatezhi/Vseplatezhi/sources/comps/www/autohandler:1
raw error






























Can't call method "list_childs" on an undefined value at /home/vseplatezhi/Vseplatezhi/sources/comps/www/dhandler line 52.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "list_childs" on an undefined value at /home/vseplatezhi/Vseplatezhi/sources/comps/www/dhandler line 52.^J') called at /home/vseplatezhi/Vseplatezhi/sources/comps/www/dhandler line 52
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x558001323f00)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1302
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /home/vseplatezhi/Vseplatezhi/sources/comps/www/autohandler line 1
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x558001324320)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 481
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x557ffe6e8ea0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x557ffe6e8ea0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x558000e8f958)', 'Apache2::RequestRec=SCALAR(0x558001036970)') called at /home/vseplatezhi/MakeIdea/sources/lib/MakeIdea/BK/Core/handler.pl line 85
eval {...} at /home/vseplatezhi/MakeIdea/sources/lib/MakeIdea/BK/Core/handler.pl line 81
MakeIdea::BK::Core::Handler::Mason::handler('Apache2::RequestRec=SCALAR(0x558001036970)') called at -e line 0
eval {...} at -e line 0