Mason error

error in file:   /var/lib/mason/obj/library/.mc/ids.by.cats
 
line 103:  Can't call method "fetch" without a package or object reference
context:  
... 
99:  my %union = ();
100:  my %isect = ();
101:  my $ncats = 0;
102:  do {
103:  while ($sth->fetch) {
104:  #
105:  # the union is ids in any tree, the intersection is ids in all trees
106:  #
107:  if ($union{$vals->{$options{'column'}}}++) { $isect{$vals->{$options{'column'}}}++ };
... 
component stack:   /library/.mc/ids.by.cats
/catalog/office/.mc/search.results
/library/.mc/pages_item_list
/library/drmath/sets/high_3d.html
code stack:   /var/lib/mason/obj/library/.mc/ids.by.cats:103
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Commands.pm:70
/var/lib/mason/obj/catalog/office/.mc/search.results:252
/usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Commands.pm:70
/var/lib/mason/obj/library/.mc/pages_item_list:76
/var/lib/mason/obj/library/drmath/sets/high_3d.html:106
/var/lib/mason/obj/library/drmath/sets/high_3d.html:16

debug info:   Debug file is '/var/lib/mason/debug/anon/10'.

raw_error





























raw error:
 






























error while executing /library/.mc/ids.by.cats:
Can't call method "fetch" without a package or object reference at /var/lib/mason/obj/library/.mc/ids.by.cats line 103.
HTML::Mason::Interp::__ANON__('Can\'t call method "fetch" without a package or object reference...') called at /var/lib/mason/obj/library/.mc/ids.by.cats line 103
HTML::Mason::Commands::__ANON__('hr_ids', 'HASH(0x9048120)', 'hr_opts', 'HASH(0x8f7dff4)') called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9049304)', 'hr_ids', 'HASH(0x9048120)', 'hr_opts', 'HASH(0x8f7dff4)') called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653
HTML::Mason::Request::comp(1, 'HTML::Mason::Request::ApacheHandler=HASH(0x8f04aa4)', '/library/.mc/ids.by.cats', 'hr_ids', 'HASH(0x9048120)', 'hr_opts', 'HASH(0x8f7dff4)') called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Commands.pm line 70
HTML::Mason::Commands::mc_comp('/library/.mc/ids.by.cats', 'hr_ids', 'HASH(0x9048120)', 'hr_opts', 'HASH(0x8f7dff4)') called at /var/lib/mason/obj/catalog/office/.mc/search.results line 252
HTML::Mason::Commands::__ANON__('contexts', 'ARRAY(0x9029d3c)', 'topics', 'ARRAY(0x8839b10)', 'languages', 'ARRAY(0x8fad188)', 'levels', 'ARRAY(0x9031a94)', ...) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x9047384)', 'contexts', 'ARRAY(0x9029d3c)', 'topics', 'ARRAY(0x8839b10)', 'languages', 'ARRAY(0x8fad188)', 'levels', ...) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 651
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 651
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x8f04aa4)', '/catalog/office/.mc/search.results', 'contexts', 'ARRAY(0x9029d3c)', 'topics', 'ARRAY(0x8839b10)', 'languages', 'ARRAY(0x8fad188)', ...) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Commands.pm line 70
HTML::Mason::Commands::mc_comp('/catalog/office/.mc/search.results', 'contexts', 'ARRAY(0x9029d3c)', 'topics', 'ARRAY(0x8839b10)', 'languages', 'ARRAY(0x8fad188)', 'levels', ...) called at /var/lib/mason/obj/library/.mc/pages_item_list line 76
HTML::Mason::Commands::__ANON__('start_at', 361, 'num_to_see', 40, 'template', '/library/drmath/.mc/single_item', 'sort_by', 'forum_rating desc, sort_title asc', ...) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8f3caf8)', 'start_at', 361, 'num_to_see', 40, 'template', '/library/drmath/.mc/single_item', 'sort_by', ...) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 651
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 651
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x8f04aa4)', '/library/.mc/pages_item_list', 'start_at', 361, 'num_to_see', 40, 'template', '/library/drmath/.mc/single_item', ...) called at /var/lib/mason/obj/library/drmath/sets/high_3d.html line 106
HTML::Mason::Commands::__ANON__('start_at', 361, 'num_to_see', 40, 's_keyid', 38893114, 'f_keyid', 38893118) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8f7ba24)', 'start_at', 361, 'num_to_see', 40, 's_keyid', 38893114, 'f_keyid', ...) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 277
HTML::Mason::Request::cache_self('HTML::Mason::Request::ApacheHandler=HASH(0x8f04aa4)', 'key', 361) called at /var/lib/mason/obj/library/drmath/sets/high_3d.html line 16
HTML::Mason::Commands::__ANON__('start_at', 361, 'num_to_see', 40, 's_keyid', 38893114, 'f_keyid', 38893118) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Component.pm line 131
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x8f7ba24)', 'start_at', 361, 'num_to_see', 40, 's_keyid', 38893114, 'f_keyid', ...) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 653
HTML::Mason::Request::comp('HTML::Mason::Request::ApacheHandler=HASH(0x8f04aa4)', 'HASH(0x8faa784)', 'HTML::Mason::Component::FileBased=HASH(0x8f7ba24)', 'start_at', 361, 'num_to_see', 40, 's_keyid', ...) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 159
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/Request.pm line 159
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x8f04aa4)', '/library/drmath/sets/high_3d.html', 'start_at', 361, 'num_to_see', 40, 's_keyid', 38893114, ...) called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 914
HTML::Mason::ApacheHandler::handle_request_1('HTML::Mason::ApacheHandler=HASH(0x8de4724)', 'Apache=SCALAR(0x8faa94c)', 'HTML::Mason::Request::ApacheHandler=HASH(0x8f04aa4)', 'HASH(0x8f0e410)') called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560
require 0 called at /usr/lib/perl5/site_perl/5.6.0/HTML/Mason/ApacheHandler.pm line 560
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8de4724)', 'Apache=SCALAR(0x8faa94c)') called at /etc/httpd/conf/handler.pl line 97
HTML::Mason::handler('Apache=SCALAR(0x8faa94c)') called at /dev/null line 0
require 0 called at /dev/null line 0