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/elem_subtraction.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/elem_subtraction.html:104
/var/lib/mason/obj/library/drmath/sets/elem_subtraction.html:16

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

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(0x9062d48)', 'hr_opts', 'HASH(0x905f85c)') 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(0x9032638)', 'hr_ids', 'HASH(0x9062d48)', 'hr_opts', 'HASH(0x905f85c)') 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('glimpse', 'HTML::Mason::Request::ApacheHandler=HASH(0x905e61c)', '/library/.mc/ids.by.cats', 'hr_ids', 'HASH(0x9062d48)', 'hr_opts', 'HASH(0x905f85c)') 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(0x9062d48)', 'hr_opts', 'HASH(0x905f85c)') called at /var/lib/mason/obj/catalog/office/.mc/search.results line 252
HTML::Mason::Commands::__ANON__('contexts', 'ARRAY(0x9031640)', 'topics', 'ARRAY(0x8f49d18)', 'languages', 'ARRAY(0x9036a94)', 'levels', 'ARRAY(0x8fc5c04)', ...) 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(0x902f720)', 'contexts', 'ARRAY(0x9031640)', 'topics', 'ARRAY(0x8f49d18)', 'languages', 'ARRAY(0x9036a94)', '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(0x905e61c)', '/catalog/office/.mc/search.results', 'contexts', 'ARRAY(0x9031640)', 'topics', 'ARRAY(0x8f49d18)', 'languages', 'ARRAY(0x9036a94)', ...) 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(0x9031640)', 'topics', 'ARRAY(0x8f49d18)', 'languages', 'ARRAY(0x9036a94)', 'levels', ...) called at /var/lib/mason/obj/library/.mc/pages_item_list line 76
HTML::Mason::Commands::__ANON__('start_at', 'ARRAY(0x90567f0)', 'num_to_see', 'ARRAY(0x90567fc)', '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(0x903baa0)', 'start_at', 'ARRAY(0x90567f0)', 'num_to_see', 'ARRAY(0x90567fc)', '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(0x905e61c)', '/library/.mc/pages_item_list', 'start_at', 'ARRAY(0x90567f0)', 'num_to_see', 'ARRAY(0x90567fc)', 'template', '/library/drmath/.mc/single_item', ...) called at /var/lib/mason/obj/library/drmath/sets/elem_subtraction.html line 104
HTML::Mason::Commands::__ANON__('start_at', 'ARRAY(0x90567f0)', 'num_to_see', 'ARRAY(0x90567fc)', 's_keyid', 38678982, 'amp', 'ARRAY(0x9037ecc)', ...) 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(0x903baa0)', 'HTML::Mason::Component::FileBased=HASH(0x903baa0)', 'HTML::Mason::Component::FileBased=HASH(0x903baa0)', 'HTML::Mason::Component::FileBased=HASH(0x903baa0)', 'HTML::Mason::Component::FileBased=HASH(0x903baa0)', 'HTML::Mason::Component::FileBased=HASH(0x903baa0)', 'HTML::Mason::Component::FileBased=HASH(0x903baa0)', 'HTML::Mason::Component::FileBased=HASH(0x903baa0)', ...) 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(0x905e61c)', 'key', 'ARRAY(0x90567f0)') called at /var/lib/mason/obj/library/drmath/sets/elem_subtraction.html line 16
HTML::Mason::Commands::__ANON__('start_at', 'ARRAY(0x90567f0)', 'num_to_see', 'ARRAY(0x90567fc)', 's_keyid', 38678982, 'amp', 'ARRAY(0x9037ecc)', ...) 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(0x9086698)', 'start_at', 'ARRAY(0x90567f0)', 'num_to_see', 'ARRAY(0x90567fc)', 's_keyid', 38678982, 'amp', ...) 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(0x905e61c)', 'HASH(0x90837a0)', 'HTML::Mason::Component::FileBased=HASH(0x9086698)', 'start_at', 'ARRAY(0x90567f0)', 'num_to_see', 'ARRAY(0x90567fc)', '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(0x905e61c)', '/library/drmath/sets/elem_subtraction.html', 'start_at', 'ARRAY(0x90567f0)', 'num_to_see', 'ARRAY(0x90567fc)', 's_keyid', 38678982, ...) 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(0x8de4914)', 'Apache=SCALAR(0x905f934)', 'HTML::Mason::Request::ApacheHandler=HASH(0x905e61c)', 'HASH(0x9089f90)') 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(0x8de4914)', 'Apache=SCALAR(0x905f934)') called at /etc/httpd/conf/handler.pl line 97
HTML::Mason::handler('Apache=SCALAR(0x905f934)') called at /dev/null line 0
require 0 called at /dev/null line 0