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, 13925) 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(0x7fef04a38d68)', 'FORUM', 'HASH(0x7fef04a73c10)', 'cookies', 'HASH(0x7fef04a724a8)', 'ref', 'HASH(0x7fef04a72820)', 'search_url', undef, 'user', 'HASH(0x7fef04a71ea8)', '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(0x7fef027beb78)', 'ad_link', 't', 'highlight', undef, 'is_member', undef, 'FORM', 'HASH(0x7fef04a38d68)', 'FORUM', 'HASH(0x7fef04a73c10)', 'cookies', 'HASH(0x7fef04a724a8)', 'ref', 'HASH(0x7fef04a72820)', 'search_url', undef, 'user', 'HASH(0x7fef04a71ea8)', '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(0x7fef04a38d68)', 'FORUM', 'HASH(0x7fef04a73c10)', 'cookies', 'HASH(0x7fef04a724a8)', 'ref', 'HASH(0x7fef04a72820)', 'search_url', undef, 'user', 'HASH(0x7fef04a71ea8)', 'get_deletes', undef, 'social', 0) called at /pub/www/AudioAsylum/messages/mhtml/m.html line 101
HTML::Mason::Commands::__ANON__('forum', 'films', 'n', 13925) 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(0x7fef027e4b18)', 'forum', 'films', 'n', 13925) 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', 13925) 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(0x7fef027485c0)') 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(0x7fef04a2eba8)') 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(0x7fef04a2eba8)') 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(0x7fef04994718)', 'Apache2::RequestRec=SCALAR(0x7fef04a2f3e0)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7fef04a2f3e0)') called at -e line 0
eval {...} at -e line 0