System error

error:  Can't call method "get_article_id" on an undefined value at /home/smartnews/smart-news/sources/comps/www/ajax/users/activity.html line 244.
context: 
... 
240:  my $badges = $objects->{'SmartNews::Badge::Badge'};
241: 
242:  my %badges_articles;
243:  if ( $badges && scalar( keys %{$badges}) ) {
244:  my $badges_articles = SmartNews::Content::Article->DM()->get_multi( id => [map { $_->get_article_id() } grep { $_->get_article_id() } values %{$badges} ] );
245:  %badges_articles = map { $_->get_id() => $_ } @{$badges_articles};
246:  }
247:  my ($comments, $commented_objects, %commented_articles) = ([], {}, ());
248:  my %articles_by_item;
... 
code stack:  /home/smartnews/smart-news/sources/comps/www/ajax/users/activity.html:244
/home/smartnews/smart-news/sources/comps/www/profile/profile.html:126
/home/smartnews/smart-news/sources/comps/www/profile/dhandler:1
/home/smartnews/smart-news/sources/comps/www/autohandler:1
raw error






























Can't call method "get_article_id" on an undefined value at /home/smartnews/smart-news/sources/comps/www/ajax/users/activity.html line 244.


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_article_id" on an undefined value at /home/smartnews/smart-news/sources/comps/www/ajax/users/activity.html line 244.^J') called at /home/smartnews/smart-news/sources/comps/www/ajax/users/activity.html line 244
HTML::Mason::Commands::__ANON__('user', 'SmartNews::User::User=HASH(0x560fc443a018)') called at /usr/local/share/perl/5.24.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x560fc2fb63b0)', 'user', 'SmartNews::User::User=HASH(0x560fc443a018)') 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, 'user', 'SmartNews::User::User=HASH(0x560fc443a018)') called at /home/smartnews/smart-news/sources/comps/www/profile/profile.html line 126
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(0x560fc3456638)') 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/profile/dhandler 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(0x560fc3216778)') 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(0x560fc2bfeab8)') 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(0x560fc480b370)') 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(0x560fc480b370)') 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(0x560fc45cd910)') 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(0x560fc45cd910)') called at -e line 0
eval {...} at -e line 0