System error

error:  Can't use an undefined value as an ARRAY reference at /var/www/newTurizm/turizm.ru/html/Comp/index/main_index.msn line 1246.
context: 
... 
37:  }
38: 
39:  $path[0]=~s/.html?//g;
40: 
41:  if($path[0] eq 'contacts' and scalar @path == 1) {
42:  $sufix ='contacts_';
43: 
44:  } elsif($path[0] eq 'findhotel' and scalar @path == 1) {
45:  my $action = $ARGS{'action'} || '';
... 
code stack:  /var/www/newTurizm/turizm.ru/html/Comp/index/main_index.msn:41
/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 use an undefined value as an ARRAY reference at /var/www/newTurizm/turizm.ru/html/Comp/index/main_index.msn line 1246.


Trace begun at /usr/local/share/perl/5.34.0/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t use an undefined value as an ARRAY reference at /var/www/newTurizm/turizm.ru/html/Comp/index/main_index.msn line 1246.^J') called at /var/www/newTurizm/turizm.ru/html/Comp/index/main_index.msn line 41
HTML::Mason::Commands::__ANON__('BASE_PATH', 'MAIN', 'page', undef) called at /usr/local/share/perl/5.34.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x558510609d60)', 'BASE_PATH', 'MAIN', 'page', undef) called at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'BASE_PATH', 'MAIN', 'page', undef) called at /var/www/newTurizm/turizm.ru/html/dhandler line 2
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1380
eval {...} at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1380
HTML::Mason::Request::content('HTML::Mason::Request::PSGI=HASH(0x558511734850)') called at /var/www/newTurizm/turizm.ru/html/Comp/out_filter.msn line 7
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.34.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x5585106e24e0)') called at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.34.0/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.34.0/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x5585105e7238)') called at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.34.0/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::PSGI=HASH(0x558511734850)') called at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 137
eval {...} at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 137
HTML::Mason::Request::PSGI::exec('HTML::Mason::Request::PSGI=HASH(0x558511734850)') called at /usr/local/share/perl/5.34.0/HTML/Mason/Interp.pm line 342
HTML::Mason::Interp::exec(undef, undef) called at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 100
eval {...} at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 100
FCGI::PSGIHandler::invoke_mason('FCGI::PSGIHandler=HASH(0x55851023f3d0)', 'HASH(0x558503b57490)', 'HASH(0x5585112d83a0)') called at /var/www/newTurizm/turizm.ru/Libs/FCGI/PSGIHandler.pm line 77
FCGI::PSGIHandler::handle_psgi('FCGI::PSGIHandler=HASH(0x55851023f3d0)', 'HASH(0x558511ce1df0)') called at /media/storage00/www/newTurizm/turizm.ru/fcgi/turizm.psgi line 42
Turizm::Mason::__ANON__('HASH(0x558511ce1df0)') called at /usr/local/share/perl/5.34.0/Plack/Middleware/AccessLog.pm line 27
Plack::Middleware::AccessLog::call('Plack::Middleware::AccessLog=HASH(0x55850318b4b0)', 'HASH(0x558511ce1df0)') called at /usr/local/share/perl/5.34.0/Plack/Component.pm line 50
Plack::Component::__ANON__('HASH(0x558511ce1df0)') called at /usr/local/share/perl/5.34.0/Plack/Util.pm line 145
eval {...} at /usr/local/share/perl/5.34.0/Plack/Util.pm line 145
Plack::Util::run_app('CODE(0x55850318b618)', 'HASH(0x558511ce1df0)') called at /usr/local/share/perl/5.34.0/Starman/Server.pm line 195
Starman::Server::dispatch_request('Starman::Server=HASH(0x55850e60baf0)', 'HASH(0x558511ce1df0)') called at /usr/local/share/perl/5.34.0/Starman/Server.pm line 299
Starman::Server::process_request('Starman::Server=HASH(0x55850e60baf0)', 'Net::Server::Proto::UNIX=GLOB(0x5585112e5f68)') called at /usr/local/share/perl/5.34.0/Net/Server.pm line 72
Net::Server::run_client_connection('Starman::Server=HASH(0x55850e60baf0)') called at /usr/local/share/perl/5.34.0/Net/Server/PreFork.pm line 226
eval {...} at /usr/local/share/perl/5.34.0/Net/Server/PreFork.pm line 226
Net::Server::PreFork::run_child('Starman::Server=HASH(0x55850e60baf0)') called at /usr/local/share/perl/5.34.0/Net/Server/PreFork.pm line 184
Net::Server::PreFork::run_n_children('Starman::Server=HASH(0x55850e60baf0)', 1) called at /usr/local/share/perl/5.34.0/Net/Server/PreFork.pm line 374
Net::Server::PreFork::coordinate_children('Starman::Server=HASH(0x55850e60baf0)') called at /usr/local/share/perl/5.34.0/Net/Server/PreFork.pm line 328
Net::Server::PreFork::run_parent('Starman::Server=HASH(0x55850e60baf0)') called at /usr/local/share/perl/5.34.0/Starman/Server.pm line 164
Starman::Server::run_parent('Starman::Server=HASH(0x55850e60baf0)') called at /usr/local/share/perl/5.34.0/Net/Server/PreFork.pm line 109
Net::Server::PreFork::loop('Starman::Server=HASH(0x55850e60baf0)') called at /usr/local/share/perl/5.34.0/Net/Server.pm line 58
Net::Server::run('Starman::Server=HASH(0x55850e60baf0)', 'port', 'ARRAY(0x558510545160)', 'host', '*', 'proto', 'tcp', 'serialize', 'none', 'min_servers', 16, 'min_spare_servers', 15, 'max_spare_servers', 15, 'max_servers', 16, 'max_requests', 10000, 'user', 33, 'group', '33 33', 'listen', 16384, 'check_for_waiting', 1, 'no_client_stdout', 1, 'log_file', '/var/log/starman/www.turizm.ru.stderr.fcgi.log') called at /usr/local/share/perl/5.34.0/Starman/Server.pm line 106
Starman::Server::run('Starman::Server=HASH(0x55850e60baf0)', 'CODE(0x55850318b618)', 'HASH(0x558510224b48)') called at /usr/local/share/perl/5.34.0/Plack/Handler/Starman.pm line 25
Plack::Handler::Starman::run('Plack::Handler::Starman=HASH(0x55851024a518)', 'CODE(0x55850318b618)') called at /usr/local/share/perl/5.34.0/Plack/Loader.pm line 84
Plack::Loader::run('Plack::Loader=HASH(0x558502d50788)', 'Plack::Handler::Starman=HASH(0x55851024a518)') called at /usr/local/share/perl/5.34.0/Plack/Runner.pm line 279
Plack::Runner::run('Plack::Runner=HASH(0x558502d72730)') called at /usr/local/bin/plackup line 7