System error

error:  Can't call method "getS_name" on an undefined value at /web/inter2/htdocs/ca/dhandler line 53.
context: 
... 
49:  elsif ( $getmoreinfo ) {
50:  $m->comp('more_info.imhtml', country=>$country, state=>$stateobj, city=>$cityobj, regions=>$regions, hood=>$hood, prop=>$prop);
51:  }
52:  else {
53:  $m->comp('prop.imhtml', country=>$country, state=>$stateobj, city=>$cityobj, regions=>$regions, hood=>$hood, prop=>$prop, property=>$prop->getS_name());
54:  }
55:  }
56:  elsif( $hoodorprop ) {
57:  my $hood = $api->getHoodByS_name($hoodorprop);
... 
code stack:  /web/inter2/htdocs/ca/dhandler:53
raw error






























Can't call method "getS_name" on an undefined value at /web/inter2/htdocs/ca/dhandler line 53.


Trace begun at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "getS_name" on an undefined value at /web/inter2/htdocs/ca/dhandler line 53.^J') called at /web/inter2/htdocs/ca/dhandler line 53
HTML::Mason::Commands::__ANON__ at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x1d956310)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1279
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1274
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 473
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 473
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 425
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x1de23020)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x1de23020)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x1d9f9ec0)', 'Apache=SCALAR(0x1da14280)') called at /usr/local/mason/handler.pl line 108
HTML::Mason::handler('Apache=SCALAR(0x1da14280)') called at /dev/null line 0
eval {...} at /dev/null line 0