System error

error:  Can't call method "get_httpd_root" on an undefined value at /home/smartnews/smart-news/sources/comps/rsite/comps/doc-related.msn line 71.
context: 
... 
67:  my $rsite = SmartNews::RSite::Site->DM()->get( region_id => $sect->get_id() );
68:  my $dm = SmartNews::Content::Article->DM();
69: 
70:  my $httpd_root = $CONFIG->get_httpd_root();
71:  my $rsite_httpd_root = $rsite->get_httpd_root();
72: 
73:  my %args = ( status => 1, hide_in_mr => 0, sections => { '&&' => [ $sect->get_id() ] } );
74: 
75:  my $start_doc = $dm->get( %args, order => 'dtime desc', limit => 1 );
... 
code stack:  /home/smartnews/smart-news/sources/comps/rsite/comps/doc-related.msn:71
/home/smartnews/smart-news/sources/comps/www/comps/document/article.msn:237
/home/smartnews/smart-news/sources/comps/www/document.html:11
/home/smartnews/smart-news/sources/comps/www/dhandler:4
/home/smartnews/smart-news/sources/comps/www/autohandler:1
raw error






























Can't call method "get_httpd_root" on an undefined value at /home/smartnews/smart-news/sources/comps/rsite/comps/doc-related.msn line 71.


Trace begun at /usr/local/share/perl/5.24.1/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "get_httpd_root" on an undefined value at /home/smartnews/smart-news/sources/comps/rsite/comps/doc-related.msn line 71.^J') called at /home/smartnews/smart-news/sources/comps/rsite/comps/doc-related.msn line 71
HTML::Mason::Commands::__ANON__('doc', 'SmartNews::Content::Article=HASH(0x560fc51c62c8)') called at /usr/local/share/perl/5.24.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x560fc2cf8628)', 'doc', 'SmartNews::Content::Article=HASH(0x560fc51c62c8)') called at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'doc', 'SmartNews::Content::Article=HASH(0x560fc51c62c8)') called at /home/smartnews/smart-news/sources/comps/www/comps/document/article.msn line 237
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.24.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x560fc2cf5a08)') called at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /home/smartnews/smart-news/sources/comps/www/document.html line 11
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.24.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x560fc305bab0)') called at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /home/smartnews/smart-news/sources/comps/www/dhandler line 4
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.24.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x560fc292fd28)') called at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /home/smartnews/smart-news/sources/comps/www/autohandler line 1
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.24.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x560fc2bfeb18)') called at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.24.1/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x560fc4417a20)') called at /usr/local/share/perl/5.24.1/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x560fc4417a20)') called at /usr/local/share/perl/5.24.1/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x560fc292fc68)', 'Apache2::RequestRec=SCALAR(0x560fc4f81e60)') called at /home/smartnews/makeidea/lib/MakeIdea/BK/Core/handler.pl line 74
eval {...} at /home/smartnews/makeidea/lib/MakeIdea/BK/Core/handler.pl line 70
MakeIdea::BK::Core::Handler::Mason::handler('Apache2::RequestRec=SCALAR(0x560fc4f81e60)') called at -e line 0
eval {...} at -e line 0