System error

error:  Can't call method "fetchrow_hashref" on an undefined value at /home/vseplatezhi//Vseplatezhi/sources/lib/Vseplatezhi/Core/Utils.pm line 119.
context: 
... 
115:  ' inner join ipgeobase on ( ipgeobase.city_code = ipgeobase_city.city_code ) '.
116:  ' where ipgeobase.start <= ? and ? <= ipgeobase.stop group by ipgeobase_city.region';
117: 
118:  my $sth = Vseplatezhi::Geo::Region->DM()->make_select_query( query => $sql, params => [$address, $address] );
119:  if ( my $hash = $sth->fetchrow_hashref() ) {
120:  $region_name = $hash->{name};
121:  }
122:  $sth->finish();
123: 
... 
code stack:  /home/vseplatezhi/Vseplatezhi/sources/lib/Vseplatezhi/Core/Utils.pm:119
/home/vseplatezhi/Vseplatezhi/sources/lib/Vseplatezhi/Core/Utils.pm:239
/home/vseplatezhi/Vseplatezhi/sources/comps/www/autohandler:4
raw error






























Can't call method "fetchrow_hashref" on an undefined value at /home/vseplatezhi//Vseplatezhi/sources/lib/Vseplatezhi/Core/Utils.pm line 119.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "fetchrow_hashref" on an undefined value at /home/vseplatezhi//Vseplatezhi/sources/lib/Vseplatezhi/Core/Utils.pm line 119.^J') called at /home/vseplatezhi/Vseplatezhi/sources/lib/Vseplatezhi/Core/Utils.pm line 119
Vseplatezhi::Core::Utils::get_region_by_ip(34.237.52.11) called at /home/vseplatezhi/Vseplatezhi/sources/lib/Vseplatezhi/Core/Utils.pm line 239
Vseplatezhi::Core::Utils::init_region_cookie('user', undef, 'ip', 34.237.52.11) called at /home/vseplatezhi/Vseplatezhi/sources/comps/www/autohandler line 4
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