System error

error:  Can't call method "displayname" on an undefined value at /web/sites/sothebysrealty.ca/htdocs/components/searchresults_all.mc line 13.
context: 
... 
9:  % if( not $ARGS{"search.x"} and not $byrealtor and not $dosearch ) {
10:  ALL/TOUS
11:  % } elsif( $byrealtor ) {
12:  % my $realtor = RO::Realtor->retrieve($byrealtor);
13:  <% $realtor->displayname %>
14: 
15: 
16: 
17:  </td>
... 
code stack:  /web/sites/sothebysrealty.ca/htdocs/components/searchresults_all.mc:13
/web/sites/sothebysrealty.ca/htdocs/viewlistings.html:1
/web/sites/sothebysrealty.ca/htdocs/master.html:316
/web/sites/sothebysrealty.ca/htdocs/autohandler:1
raw error






























Can't call method "displayname" on an undefined value at /web/sites/sothebysrealty.ca/htdocs/components/searchresults_all.mc line 13.


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 "displayname" on an undefined value at /web/sites/sothebysrealty.ca/htdocs/components/searchresults_all.mc line 13.^J') called at /web/sites/sothebysrealty.ca/htdocs/components/searchresults_all.mc line 13
HTML::Mason::Commands::__ANON__('first', 1, 'last', 6, 'page', 1, 'limit', 6, 'page', 1, 'id', '84find_toronto.html', 'byrealtor', '84find_toronto.html', 'dosearch', 1) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8c16f78)', 'first', 1, 'last', 6, 'page', 1, 'limit', 6, 'page', 1, 'id', '84find_toronto.html', 'byrealtor', '84find_toronto.html', 'dosearch', 1) called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, 'first', 1, 'last', 6, 'page', 1, 'limit', 6, 'page', 1, 'id', '84find_toronto.html', 'byrealtor', '84find_toronto.html', 'dosearch', 1) called at /web/sites/sothebysrealty.ca/htdocs/viewlistings.html line 1
HTML::Mason::Commands::__ANON__('id', '84find_toronto.html') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8dae924)', 'id', '84find_toronto.html') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef, 'id', '84find_toronto.html') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 915
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x96a50b4)') called at /web/sites/sothebysrealty.ca/htdocs/master.html line 316
HTML::Mason::Commands::__ANON__('id', '84find_toronto.html') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8bc454c)', 'id', '84find_toronto.html') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1256
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, 'id', '84find_toronto.html') called at /web/sites/sothebysrealty.ca/htdocs/autohandler line 1
HTML::Mason::Commands::__ANON__('id', '84find_toronto.html') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8b76a5c)', 'id', '84find_toronto.html') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1251
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef, 'id', '84find_toronto.html') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 460
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 460
eval {...} at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/Request.pm line 412
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x96a50b4)') 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(0x96a50b4)') called at /usr/lib/perl5/site_perl/5.8.8/HTML/Mason/ApacheHandler.pm line 826
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8b38758)', 'Apache=SCALAR(0x96cb720)') called at (eval 184) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache=SCALAR(0x96cb720)') called at /dev/null line 0
eval {...} at /dev/null line 0