System error

error:  Can't call method "getId" on unblessed reference at /home/web/htdocs/events/index.html line 145.
context: 
... 
141:  <% $event->getState %>
142:  </td>
143:  <td align="left" style="vertical-align:middle;text-align:center;">
144:  <form method="post" accept-charset="utf-8" action="/users/rsvp.html">
145:  <input type="hidden" name="respondent" value="<% $User->getId %>" />
146:  <input type="hidden" name="eventholder" value="<% $event->getUser_id %>" />
147:  <input type="hidden" name="event_id" value="<% $event->getId %>" />
148:  <button type="submit">
149:  <img src="/css/buttons/check.png" alt="" />RSVP
... 
code stack:  /home/web/htdocs/events/index.html:145
/home/web/htdocs/autohandler:15
raw error






























Can't call method "getId" on unblessed reference at /home/web/htdocs/events/index.html line 145.


Trace begun at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "getId" on unblessed reference at /home/web/htdocs/events/index.html line 145.^J') called at /home/web/htdocs/events/index.html line 145
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x37c89c0)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1278
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 937
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x3b23ce0)') called at /home/web/htdocs/autohandler line 15
HTML::Mason::Commands::__ANON__ at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x3766e50)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1273
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1268
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 467
eval {...} at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 419
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x3b23ce0)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x3b23ce0)') called at /usr/local/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x3143c20)', 'Apache=SCALAR(0x37be330)') called at /usr/local/mason/handler.pl line 71
HTML::Mason::handler('Apache=SCALAR(0x37be330)') called at /dev/null line 0
eval {...} at /dev/null line 0