System error

error:  Can't call method "Fetchall_hashref" on unblessed reference at /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm line 384.
context: 
... 
380:  my $list = $list_cache->get($key);
381:  unless ($list) {
382: 
383:  my $db = $self->{db}->{TURIZM};
384:  $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, ce_category ce where c.parent_id=0 and (ce.code=c.countryCode or ce.name=c.countryName) order by c.countryName~);
385: 
386: 
387:  if ($pop) {
388: 
... 
code stack:  /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm:384
/var/www/newTurizm/turizm.ru/html/Comp/index/main_index.msn:9
/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 384.


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 384.^J') called at /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm line 384
Country::Country::get_country_list('Country::Country=HASH(0x7fc4b22b5af0)') called at /var/www/newTurizm/turizm.ru/html/Comp/index/main_index.msn line 9
HTML::Mason::Commands::__ANON__('BASE_PATH', 'MAIN') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fc4b30788a0)', 'BASE_PATH', 'MAIN') 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', 'MAIN') 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(0x7fc4b3507a38)') 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(0x7fc4b2b51318)') 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(0x7fc4b2b07208)') 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(0x7fc4b3507a38)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7fc4b3507a38)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7fc4b2740188)', 'Apache2::RequestRec=SCALAR(0x7fc4b3d65f28)') called at /etc/apache2/handler.pl line 43
Turizm::Mason::handler('Apache2::RequestRec=SCALAR(0x7fc4b3d65f28)') called at -e line 0
eval {...} at -e line 0