System error

error:  Can't call method "Fetchall_hashref" on an undefined value at /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm line 743.
context: 
... 
739:  my $list = $list_cache->get($key);
740:  unless ($list) {
741: 
742:  $self->{db}->{BINDEX} = $self->{db}->{db_conn}->Get_connection('BINDEX');
743:  my $list_ban = $self->{db}->{BINDEX}->Fetchall_hashref(qq~select bi.bgroupId, b.banId from asosBanners b, asosBannerIds bi where b.banId=bi.banId and b.bposId='newtur_brend' and b.banState='on'~);
744:  # warn Dumper $list_ban;
745:  my $havePos;
746:  foreach my $l (@{$list_ban}){
747:  $l->{bgroupId}=~s/newtur_//g;
... 
code stack:  /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm:743
/var/www/newTurizm/turizm.ru/html/Comp/header.msn:296
/var/www/newTurizm/turizm.ru/html/Comp/index.msn:4
/var/www/newTurizm/turizm.ru/html/Comp/index/railway_index.msn:1
/var/www/newTurizm/turizm.ru/html/dhandler:2
/var/www/newTurizm/turizm.ru/html/Comp/out_filter.msn:7
/var/www/newTurizm/turizm.ru/html/dhandler:4
raw error






























Can't call method "Fetchall_hashref" on an undefined value at /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm line 743.


Trace begun at /usr/local/share/perl/5.22.1/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "Fetchall_hashref" on an undefined value at /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm line 743.^J') called at /var/www/newTurizm/turizm.ru/Libs/Country/Country.pm line 743
Country::Country::check_br_hat('Country::Country=HASH(0xdab8118)') called at /var/www/newTurizm/turizm.ru/html/Comp/header.msn line 296
HTML::Mason::Commands::__ANON__('to', 'ermolino', 'from', 'ivanovo', 'page', undef, 'BASE_PATH', 'RAILWAY', 'comp', '/Comp/domain/RAILWAY/search_result_center.msn', 'clear_banner', 1, 'path', '/Comp/domain/RAILWAY/search_result_center.msn') called at /usr/local/share/perl/5.22.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xebc6108)', 'to', 'ermolino', 'from', 'ivanovo', 'page', undef, 'BASE_PATH', 'RAILWAY', 'comp', '/Comp/domain/RAILWAY/search_result_center.msn', 'clear_banner', 1, 'path', '/Comp/domain/RAILWAY/search_result_center.msn') called at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'to', 'ermolino', 'from', 'ivanovo', 'page', undef, 'BASE_PATH', 'RAILWAY', 'comp', '/Comp/domain/RAILWAY/search_result_center.msn', 'clear_banner', 1, 'path', '/Comp/domain/RAILWAY/search_result_center.msn') called at /var/www/newTurizm/turizm.ru/html/Comp/index.msn line 4
HTML::Mason::Commands::__ANON__('page', undef, 'BASE_PATH', 'RAILWAY', 'from', 'ivanovo', 'to', 'ermolino', 'clear_banner', 1, 'comp', '/Comp/domain/RAILWAY/search_result_center.msn') called at /usr/local/share/perl/5.22.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xe7293a0)', 'page', undef, 'BASE_PATH', 'RAILWAY', 'from', 'ivanovo', 'to', 'ermolino', 'clear_banner', 1, 'comp', '/Comp/domain/RAILWAY/search_result_center.msn') called at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'page', undef, 'BASE_PATH', 'RAILWAY', 'from', 'ivanovo', 'to', 'ermolino', 'clear_banner', 1, 'comp', '/Comp/domain/RAILWAY/search_result_center.msn') called at /var/www/newTurizm/turizm.ru/html/Comp/index/railway_index.msn line 1
HTML::Mason::Commands::__ANON__('BASE_PATH', 'RAILWAY', 'page', undef) called at /usr/local/share/perl/5.22.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xfd23420)', 'BASE_PATH', 'RAILWAY', 'page', undef) called at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'BASE_PATH', 'RAILWAY', 'page', undef) called at /var/www/newTurizm/turizm.ru/html/dhandler line 2
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1380
eval {...} at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1380
HTML::Mason::Request::content('HTML::Mason::Request::PSGI=HASH(0x109e25a8)') called at /var/www/newTurizm/turizm.ru/html/Comp/out_filter.msn line 7
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.22.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xe5fcbd8)') called at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.22.1/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/local/share/perl/5.22.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0xe53a408)') called at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.22.1/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::PSGI=HASH(0x109e25a8)') called at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 138
eval {...} at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 138
HTML::Mason::Request::PSGI::exec('HTML::Mason::Request::PSGI=HASH(0x109e25a8)') called at /usr/local/share/perl/5.22.1/HTML/Mason/Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 101
eval {...} at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 101
FCGI::PSGIHandler::invoke_mason('FCGI::PSGIHandler=HASH(0xe3f9c28)', 'HASH(0x1843898)', 'HASH(0x10c2b660)') called at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 80
FCGI::PSGIHandler::handle_psgi('FCGI::PSGIHandler=HASH(0xe3f9c28)', 'HASH(0x124ab7f0)') called at /media/storage00/www/newTurizm/turizm.ru/fcgi/turizm.psgi line 42
Turizm::Mason::__ANON__('HASH(0x124ab7f0)') called at /usr/local/share/perl/5.22.1/Plack/Middleware/AccessLog.pm line 27
Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0xe3f9760)', 'HASH(0x124ab7f0)') called at /usr/local/share/perl/5.22.1/Plack/Component.pm line 50
Plack::Component::__ANON__('HASH(0x124ab7f0)') called at /usr/local/share/perl/5.22.1/Plack/Util.pm line 145
eval {...} at /usr/local/share/perl/5.22.1/Plack/Util.pm line 145
Plack::Util::run_app('CODE(0xbe8660)', 'HASH(0x124ab7f0)') called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Plack/Handler/Gazelle.pm line 220
Plack::Handler::Gazelle::__ANON__ at /usr/local/share/perl/5.22.1/Parallel/Prefork.pm line 75
Parallel::Prefork::start('Parallel::Prefork=HASH(0xe4097d0)', 'CODE(0xe12fed0)') called at /usr/local/lib/x86_64-linux-gnu/perl/5.22.1/Plack/Handler/Gazelle.pm line 237
Plack::Handler::Gazelle::run('Plack::Handler::Gazelle=HASH(0xe403078)', 'CODE(0xbe8660)') called at /usr/local/share/perl/5.22.1/Plack/Loader.pm line 84
Plack::Loader::run('Plack::Loader=HASH(0xc67be8)', 'Plack::Handler::Gazelle=HASH(0xe403078)') called at /usr/local/share/perl/5.22.1/Plack/Runner.pm line 277
Plack::Runner::run('Plack::Runner=HASH(0x9e9558)') called at /usr/local/bin/plackup line 7