these calls cause the problem:
//Start User Most Commented
//display_thumbnails('mostcomusr', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End User Most Commented
//Start User Most Voted
//display_thumbnails('mostvotusr', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End User Most Voted
//Start User Most Viewed
//display_thumbnails('mostvieusr', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End User Most Viewed
//Start User Most Commenting
//display_thumbnails('topcom', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End User Most Commenting
//Start Album Most Commented
//display_thumbnails('mostcomalb', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End Album Most Commented
//Start Album Most Voted
//display_thumbnails('mostvotalb', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End Album Most Voted
//Start Album Most Viewed
//display_thumbnails('mostviealb', $cat, 1, $CONFIG['thumbcols'], 1, false);
//End Album Most Viewed
Under the Statistics there are the following notices:
Notices
/include/functions.inc.php
Notice line 1372: Undefined variable: mostCommented
Notice line 1372: Undefined index: 2
Notice line 1372: Undefined index: 5
Notice line 1372: Undefined index: 11
(...thousands of lines...)
Notice line 1372: Undefined index: 5643
... and there's line 1372 in /include/functions.inc.php
1369: foreach($rowset as $row)
1370: {
1371: $index = $row[0];
1372: $mostCommented[$index] = @$mostCommented[$index] + 1;
1373: }
What's wrong?