System error

error:  Can't use an undefined value as an ARRAY reference at /data/sites/pwyt3/html/slogans/dhandler line 30.
context: 
... 
26:  }
27:  }
28:  } else {
29:  # it's /product/category/index.html
30:  my @slogans = sort {$a cmp $b} @{$CatSlog->{$$Categ{$from}->{CategoryID}}};
31:  $m->comp('/comp/sloggen.html', title => ucfirst($title) , from => $from, product => $product, slogans => \@slogans );
32:  }
33:  } elsif ((! $sloganid) || (! $$Slog{$sloganid}->{Active})) {
34:  if ($m->dhandler_arg =~ m/select.html/) {
... 
code stack:  /data/sites/pwyt3/html/slogans/dhandler:30
/data/sites/pwyt3/html/slogans/autohandler:3
/data/sites/pwyt3/html/autohandler:101
raw error






























Can't use an undefined value as an ARRAY reference at /data/sites/pwyt3/html/slogans/dhandler line 30.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t use an undefined value as an ARRAY reference at /data/sites/pwyt3/html/slogans/dhandler line 30.^J') called at /data/sites/pwyt3/html/slogans/dhandler line 30
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x89fbe00)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1256
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 915
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x8a99080)') called at /data/sites/pwyt3/html/slogans/autohandler line 3
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x89fc328)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1256
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 915
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x8a99080)') called at /data/sites/pwyt3/html/autohandler line 101
HTML::Mason::Commands::__ANON__ at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x89fd0a4)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1251
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/share/perl5/HTML/Mason/Request.pm line 460
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 460
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 412
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8a99080)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8a99080)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 832
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x87186e8)', 'Apache2::RequestRec=SCALAR(0x8aab258)') called at /data/sites/pwyt3/PW/SiteHandler.pm line 46
PW::SiteHandler::handler('Apache2::RequestRec=SCALAR(0x8aab258)') called at -e line 0
eval {...} at -e line 0