System error

error:  Can't call method "set_time_zone" on an undefined value at /www/tab/public_site/tournament.mhtml line 14.
context: 
... 
10:  $start->set_time_zone($league->timezone);
11:  my $end = $tourn->end;
12:  $end->set_time_zone($league->timezone);
13:  my $reg_start = $tourn->reg_start;
14:  $reg_start->set_time_zone($league->timezone);
15:  my $reg_end = $tourn->reg_end;
16:  $reg_end->set_time_zone($league->timezone);
17: 
18: 
... 
code stack:  /www/tab/public_site/tournament.mhtml:14
/www/tab/public_site/autohandler:89
raw error






























Can't call method "set_time_zone" on an undefined value at /www/tab/public_site/tournament.mhtml line 14.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "set_time_zone" on an undefined value at /www/tab/public_site/tournament.mhtml line 14.^J') called at /www/tab/public_site/tournament.mhtml line 14
HTML::Mason::Commands::__ANON__('tourn_id', 644, 'league', 'Tab::League=HASH(0x7f812ca6a038)') called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f812c9995b8)', 'tourn_id', 644, 'league', 'Tab::League=HASH(0x7f812ca6a038)') called at /usr/share/perl5/HTML/Mason/Request.pm line 1273
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef, 'tourn_id', 644, 'league', 'Tab::League=HASH(0x7f812ca6a038)') called at /usr/share/perl5/HTML/Mason/Request.pm line 937
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x7f812c997100)', 'league', 'Tab::League=HASH(0x7f812ca6a038)') called at /www/tab/public_site/autohandler line 89
HTML::Mason::Commands::__ANON__('tourn_id', 644) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f812c9c7328)', 'tourn_id', 644) called at /usr/share/perl5/HTML/Mason/Request.pm line 1273
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef, 'tourn_id', 644) called at /usr/share/perl5/HTML/Mason/Request.pm line 467
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 467
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 419
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f812c997100)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f812c997100)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 831
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f812c993b28)', 'Apache2::RequestRec=SCALAR(0x7f812b14a6e0)') called at /www/tab/lib/handler.pl line 100
eval {...} at /www/tab/lib/handler.pl line 100
Tab::Mason::handler('Apache2::RequestRec=SCALAR(0x7f812b14a6e0)') called at -e line 0
eval {...} at -e line 0