Enthusiast does not always load fanlisting Statistics
Enthusiast does not always load the fanlisting statistics.
Original thread here: http://board.thefanlistings.org/index.php?/topic/4463-enthusiast-sometimes-not-loading-stats/
For me, this problem seems to occur with my fanlistings that are set up to have affiliates, but which have no actual affiliates added (i.e. 0 affiliates). That would relate to the issue Masao pointed out with affiliates and mod_owned.php (Masao: "The error occurs when the random number generated is a 0, so when you minus 1 from it, it results in a -1, which is an invalid syntax for the line of SQL used below."), but even making the changes that Masao linked didn't appear to fix the problem. Only turning off affiliates entirely if there are 0 affiliates (or adding at least one affiliate) seemed to fix my issue.
See Lene's fanlisting: https://firaga.org/hakuouki/ for examples of it happening sometimes.