System error
error: |
Can't call method "fmtd_avg_rating" on an undefined value at /pub/www/AudioAsylumTrader/ca/feedback.html line 34.
|
context: |
... |
|
30: |
|
31: |
<%init>
|
32: |
my $dbh = $m->comp('comps/get_dbh');
|
33: |
my $reviewed_o = Trade::CA::User->retrieve($reviewed);
|
34: |
my $rating = $reviewed_o->fmtd_avg_rating;
|
35: |
$rating =~ s!/! out of ! if ($rating);
|
36: |
my @reviewed_feedback = Trade::CA::Feedback->search(
|
37: |
'user_to_id' => $reviewed_o->id, {order_by => 'date DESC, feedback_id DESC'}
|
38: |
);
|
... |
|
|
code stack: |
/pub/www/AudioAsylumTrader/ca/feedback.html:34
|
raw error
Can't call method "fmtd_avg_rating" on an undefined value at /pub/www/AudioAsylumTrader/ca/feedback.html line 34.
Trace begun at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "fmtd_avg_rating" on an undefined value at /pub/www/AudioAsylumTrader/ca/feedback.html line 34.^J') called at /pub/www/AudioAsylumTrader/ca/feedback.html line 34
HTML::Mason::Commands::__ANON__('reviewed', 79475) called at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7f98ffc7b158)', 'reviewed', 79475) called at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Request.pm line 1300
eval {...} at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef, 'reviewed', 79475) called at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Request.pm line 481
eval {...} at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Request.pm line 481
eval {...} at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f98ffcd81b8)') called at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x7f98ffcd81b8)') called at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x7f98fab728e8)', 'Apache2::RequestRec=SCALAR(0x7f98fc063410)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f98fc063410)') called at -e line 0
eval {...} at -e line 0