Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 3065 Expression #1 of ORDER BY clause is not in SELECT list, references column 'anglerslog.p.created_at' which is not in SELECT list; this is incompatible with DISTINCT in /var/www/html/includes/community.php:140
Stack trace:
#0 /var/www/html/includes/community.php(140): PDO->query('SELECT DISTINCT...')
#1 /var/www/html/community.php(11): get_active_members(6)
#2 {main}
thrown in /var/www/html/includes/community.php on line 140