Yea there is 1 typo in query, since its very old & made for TT.
Find
Code:
$topgensdata = $core_db->Execute("Select top ".$corecr['TopGensTop']." Name, ".$corecr['GensContributionColumn'].",".$corecr['GensFamilly'].",AccountID from ".$corecr['GensTable']." where CtlCode ".$corecr['ShowGM']." order by ".$corecr['TopGensOrderBy']." desc");
and replace with
Code:
$topgensdata = $core_db->Execute("Select top ".$corecr['TopGensTop']." memb_char, ".$corecr['GensContributionColumn'].",".$corecr['GensFamilly']." from ".$corecr['GensTable']." order by ".$corecr['TopGensOrderBy']." desc");