System error

error:  Can't use string ("0") as a HASH ref while "strict refs" in use at /pub/usr/lib/perl5/My/mysql.pm line 1155.
context: 
... 
1151: 
1152:  # safeguard against too deep nesting from bugs/bad data
1153:  return if ($d++ > 100);
1154: 
1155:  $root ||= (keys %{ $thread_index->{0} })[0];
1156: 
1157:  if (my $children = $thread_index->{$root}) {
1158:  foreach my $k (keys %$children) {
1159:  if ($k == $target_num) {
... 
code stack:  /pub/usr/lib/perl5/My/mysql.pm:1155
/pub/www/AudioAsylum/messages/mhtml/comps/message:372
/pub/www/AudioAsylum/messages/mhtml/m.html:101
/pub/www/AudioAsylum/messages/dhandler:6
raw error






























Can't use string ("0") as a HASH ref while "strict refs" in use at /pub/usr/lib/perl5/My/mysql.pm line 1155.


Trace begun at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Exceptions.pm line 125
HTML::Mason::Exceptions::rethrow_exception('Can\'t use string ("0") as a HASH ref while "strict refs" in use at /pub/usr/lib/perl5/My/mysql.pm line 1155.^J') called at /pub/usr/lib/perl5/My/mysql.pm line 1155
My::mysql::get_follow_up_trail(0, 8872) called at /pub/www/AudioAsylum/messages/mhtml/comps/message line 372
HTML::Mason::Commands::__ANON__('ad_link', 't', 'highlight', undef, 'is_member', undef, 'FORM', 'HASH(0x7fccc8e63678)', 'FORUM', 'HASH(0x7fccca458b50)', 'cookies', 'HASH(0x7fccca496e10)', 'ref', 'HASH(0x7fccc931b488)', 'search_url', undef, 'user', 'HASH(0x7fccca497068)', 'get_deletes', undef, 'social', 0) 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(0x7fcccb0a2380)', 'ad_link', 't', 'highlight', undef, 'is_member', undef, 'FORM', 'HASH(0x7fccc8e63678)', 'FORUM', 'HASH(0x7fccca458b50)', 'cookies', 'HASH(0x7fccca496e10)', 'ref', 'HASH(0x7fccc931b488)', 'search_url', undef, 'user', 'HASH(0x7fccca497068)', 'get_deletes', undef, 'social', 0) called at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Request.pm line 1302
eval {...} at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'ad_link', 't', 'highlight', undef, 'is_member', undef, 'FORM', 'HASH(0x7fccc8e63678)', 'FORUM', 'HASH(0x7fccca458b50)', 'cookies', 'HASH(0x7fccca496e10)', 'ref', 'HASH(0x7fccc931b488)', 'search_url', undef, 'user', 'HASH(0x7fccca497068)', 'get_deletes', undef, 'social', 0) called at /pub/www/AudioAsylum/messages/mhtml/m.html line 101
HTML::Mason::Commands::__ANON__('forum', 'films', 'n', 8872) 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(0x7fccccd2ec70)', 'forum', 'films', 'n', 8872) called at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Request.pm line 1302
eval {...} at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'forum', 'films', 'n', 8872) called at /pub/www/AudioAsylum/messages/dhandler line 6
HTML::Mason::Commands::__ANON__ at /opt/local/lib/perl5/vendor_perl/5.28/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fccccd280d8)') 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) 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(0x7fccc930bb58)') 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(0x7fccc930bb58)') 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(0x7fccca456b08)', 'Apache2::RequestRec=SCALAR(0x7fccc931b440)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7fccc931b440)') called at -e line 0
eval {...} at -e line 0