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(0xf8127a8)') called at /var/www/newTurizm/turizm.ru/html/Comp/header.msn line 296
HTML::Mason::Commands::__ANON__('page', undef, 'to', 'moskva_pav', 'from', 'tambov_1', 'comp', '/Comp/domain/RAILWAY/search_result_center.msn', 'clear_banner', 1, 'BASE_PATH', 'RAILWAY', '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(0x106aad40)', 'page', undef, 'to', 'moskva_pav', 'from', 'tambov_1', 'comp', '/Comp/domain/RAILWAY/search_result_center.msn', 'clear_banner', 1, 'BASE_PATH', 'RAILWAY', '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, 'page', undef, 'to', 'moskva_pav', 'from', 'tambov_1', 'comp', '/Comp/domain/RAILWAY/search_result_center.msn', 'clear_banner', 1, 'BASE_PATH', 'RAILWAY', '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__('from', 'tambov_1', 'page', undef, 'to', 'moskva_pav', 'clear_banner', 1, 'BASE_PATH', 'RAILWAY', '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(0x103474b8)', 'from', 'tambov_1', 'page', undef, 'to', 'moskva_pav', 'clear_banner', 1, 'BASE_PATH', 'RAILWAY', '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, 'from', 'tambov_1', 'page', undef, 'to', 'moskva_pav', 'clear_banner', 1, 'BASE_PATH', 'RAILWAY', '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(0xff2c6d8)', '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(0x153e2ca0)') 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(0x102f3010)') 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(0x101a0438)') 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(0x153e2ca0)') 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(0x153e2ca0)') 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(0x1016aac0)', 'HASH(0x356fc88)', 'HASH(0x154e6268)') called at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 80
FCGI::PSGIHandler::handle_psgi('FCGI::PSGIHandler=HASH(0x1016aac0)', 'HASH(0x11bdcb10)') called at /media/storage00/www/newTurizm/turizm.ru/fcgi/turizm.psgi line 42
Turizm::Mason::__ANON__('HASH(0x11bdcb10)') called at /usr/local/share/perl/5.22.1/Plack/Middleware/AccessLog.pm line 27
Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x1015fad0)', 'HASH(0x11bdcb10)') called at /usr/local/share/perl/5.22.1/Plack/Component.pm line 50
Plack::Component::__ANON__('HASH(0x11bdcb10)') 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(0x2914700)', 'HASH(0x11bdcb10)') 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(0x1017e968)', 'CODE(0xfe7a950)') 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(0x10165828)', 'CODE(0x2914700)') called at /usr/local/share/perl/5.22.1/Plack/Loader.pm line 84
Plack::Loader::run('Plack::Loader=HASH(0x2993c08)', 'Plack::Handler::Gazelle=HASH(0x10165828)') called at /usr/local/share/perl/5.22.1/Plack/Runner.pm line 277
Plack::Runner::run('Plack::Runner=HASH(0x2715558)') called at /usr/local/bin/plackup line 7