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(0x560fc89a5358)') called at /usr/local/share/perl/5.24.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x560fc3047350)', 'doc', 'SmartNews::Content::Article=HASH(0x560fc89a5358)') 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(0x560fc89a5358)') 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(0x560fc2f849e8)') 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(0x560fc2dc6990)') 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(0x560fc292fa88)') 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(0x560fc2c00cc8)') 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(0x560fc8a2f370)') 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(0x560fc8a2f370)') called at /usr/local/share/perl/5.24.1/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x560fc2bfc208)', 'Apache2::RequestRec=SCALAR(0x560fc9e7c568)') 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(0x560fc9e7c568)') called at -e line 0
eval {...} at -e line 0