Mason error

error in file: ? /home/multCMS/sites/wb/mason/obj/dhandler
?
line 33:? Can't call method "fetchrow_hashref" on an undefined value
context: ?
...?
29:? use wb::DB;
30:? my ($row, $sth, @errors);
31:? my $sql = "select * from books where sellable_item_id = '$item'";
32:? $sth = wb::DB::selectStmt($sql,\@errors);
33:? $row = $sth->fetchrow_hashref;
34:? $_out->('
35:?
36:?
37:?
...?
component stack: ? /dhandler
code stack: ? /home/multCMS/sites/wb/mason/obj/dhandler:33


raw_error





























raw error:
?






























error while executing /dhandler:
Can't call method "fetchrow_hashref" on an undefined value at /home/multCMS/sites/wb/mason/obj/dhandler line 33.
HTML::Mason::Interp::__ANON__('Can\'t call method "fetchrow_hashref" on an undefined value at /...') called at /home/multCMS/sites/wb/mason/obj/dhandler line 33
HTML::Mason::Commands::__ANON__() called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x408438dc)') called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 653
eval {...} called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 653
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x40846738)', 'HASH(0x408447ac)', 'HTML::Mason::Component::FileBased=HASH(0x408438dc)') called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 159
eval {...} called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/Request.pm line 159
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x40846738)', '/Curbing Corruption (Vietnamese)--4024319.html') called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HASH(0x4083ba28)', 'Apache=SCALAR(0x4083b854)', 'HTML::Mason::Request::ApacheHandler=HASH(0x40846738)', undef) called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 560
eval {...} called at /usr/local/lib/perl5/site_perl/5.6.1/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x4083ba28)', 'Apache=SCALAR(0x4083b854)') called at /home/multCMS/conf/handler.pl line 66
HTML::Mason::handler('Apache=SCALAR(0x4083b854)') called at /dev/null line 0
eval {...} called at /dev/null line 0