System error

error:  Can't call method "Fetchall_hashref" on unblessed reference at /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm line 290.
context: 
... 
286: 
287:  unless ($list) {
288: 
289:  my $db = $self->{db}->{TURIZM};
290:  $list = $db->Fetchall_hashref(qq~select distinct c.countryId, c.name_eng, c.countryName, c.countryCode, c.name_rod, c.name_dat, c.name_vin, c.name_tvor, c.name_pred, c.countryId, TRIM(LEADING 'в:' FROM c.predlog) as predlog, LOWER(flagiso) as flagiso, SUBSTRING(c.countryName,1,1) as litera FROM allCountry c order by c.countryName~);
291:  $list_cache->set($key, $list) if ref $list eq 'HASH' && $list->{countryCode};
292: 
293:  }
294:  return $list;
... 
code stack:  /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm:290
/var/www/newTurizm/turizm.ru/html/Comp/index/hotels_index.msn:234
/var/www/newTurizm/turizm.ru/html/dhandler:2
/var/www/newTurizm/turizm.ru/html/Comp/out_filter.msn:8
/var/www/newTurizm/turizm.ru/html/dhandler:4
raw error






























Can't call method "Fetchall_hashref" on unblessed reference at /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm line 290.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Fetchall_hashref" on unblessed reference at /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm line 290.^J') called at /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm line 290
Country::Country::get_country_list_check_full('Country::Country=HASH(0x7fc4b22b5af0)') called at /var/www/newTurizm/turizm.ru/html/Comp/index/hotels_index.msn line 234
HTML::Mason::Commands::__ANON__('BASE_PATH', 'HOTELS') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fc4b2bc0588)', 'BASE_PATH', 'HOTELS') 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, 'BASE_PATH', 'HOTELS') called at /var/www/newTurizm/turizm.ru/html/dhandler line 2
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Request.pm line 1380
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1380
HTML::Mason::Request::content('HTML::Mason::Request::ApacheHandler=HASH(0x7fc4b32ceda0)') called at /var/www/newTurizm/turizm.ru/html/Comp/out_filter.msn line 8
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fc4b2bcc9a8)') 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, undef) called at /var/www/newTurizm/turizm.ru/html/dhandler 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(0x7fc4b2c05868)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1297
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(0x7fc4b32ceda0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fc4b32ceda0)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7fc4b2740188)', 'Apache2::RequestRec=SCALAR(0x7fc4b2deae08)') called at /etc/apache2/handler.pl line 43
Turizm::Mason::handler('Apache2::RequestRec=SCALAR(0x7fc4b2deae08)') called at -e line 0
eval {...} at -e line 0