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/db/mhtml/comps/message:256
/pub/www/db/mhtml/m.html:86
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, 188676) called at /pub/www/db/mhtml/comps/message line 256
HTML::Mason::Commands::__ANON__('ad_link', 't', 'highlight', 'Chris Adams', 'is_member', undef, 'FORM', 'HASH(0x7f98fc55d768)', 'FORUM', 'HASH(0x7f98fe616dd8)', 'cookies', 'HASH(0x7f99002baaa8)', 'ref', 'HASH(0x7f9900106a28)', 'search_url', '/cgi/search.mpl?user_id=17300&forum=ALL&sortRank=None&sort=date&sortOrder=DESC&author=Condorsat%22%20and%20%22x%22%3D%22y', 'user', 'HASH(0x7f98fc2ff300)', 'social', 1) 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(0x7f98faae0f18)', 'ad_link', 't', 'highlight', 'Chris Adams', 'is_member', undef, 'FORM', 'HASH(0x7f98fc55d768)', 'FORUM', 'HASH(0x7f98fe616dd8)', 'cookies', 'HASH(0x7f99002baaa8)', 'ref', 'HASH(0x7f9900106a28)', 'search_url', '/cgi/search.mpl?user_id=17300&forum=ALL&sortRank=None&sort=date&sortOrder=DESC&author=Condorsat%22%20and%20%22x%22%3D%22y', 'user', 'HASH(0x7f98fc2ff300)', 'social', 1) 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', 'Chris Adams', 'is_member', undef, 'FORM', 'HASH(0x7f98fc55d768)', 'FORUM', 'HASH(0x7f98fe616dd8)', 'cookies', 'HASH(0x7f99002baaa8)', 'ref', 'HASH(0x7f9900106a28)', 'search_url', '/cgi/search.mpl?user_id=17300&forum=ALL&sortRank=None&sort=date&sortOrder=DESC&author=Condorsat%22%20and%20%22x%22%3D%22y', 'user', 'HASH(0x7f98fc2ff300)', 'social', 1) called at /pub/www/db/mhtml/m.html line 86
HTML::Mason::Commands::__ANON__('r', '', 'forum', 'mug', 'search_url', '/cgi/search.mpl?user_id=17300&forum=ALL&sortRank=None&sort=date&sortOrder=DESC&author=Condorsat%22%20and%20%22x%22%3D%22y', 'n', 188676, 'highlight', 'Chris Adams') 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(0x7f98ffb54b60)', 'r', '', 'forum', 'mug', 'search_url', '/cgi/search.mpl?user_id=17300&forum=ALL&sortRank=None&sort=date&sortOrder=DESC&author=Condorsat%22%20and%20%22x%22%3D%22y', 'n', 188676, 'highlight', 'Chris Adams') 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, 'r', '', 'forum', 'mug', 'search_url', '/cgi/search.mpl?user_id=17300&forum=ALL&sortRank=None&sort=date&sortOrder=DESC&author=Condorsat%22%20and%20%22x%22%3D%22y', 'n', 188676, 'highlight', 'Chris Adams') 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(0x7f98fc2ea310)') 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(0x7f98fc2ea310)') 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(0x7f98fc738b70)', 'Apache2::RequestRec=SCALAR(0x7f98fc419010)') called at (eval 26) line 8
HTML::Mason::ApacheHandler::handler('HTML::Mason::ApacheHandler', 'Apache2::RequestRec=SCALAR(0x7f98fc419010)') called at -e line 0
eval {...} at -e line 0