Fatal error: Uncaught mysqli_sql_exception: Expression #2 of ORDER BY clause is not in SELECT list, references column '50070naughtygirlguide.tr_event_monthyear.monthid' which is not in SELECT list; this is incompatible with DISTINCT in /home/thenaughtygirlsg/public_html/user/includes/lib_data_access.php:262
Stack trace:
#0 /home/thenaughtygirlsg/public_html/user/includes/lib_data_access.php(262): mysqli_query(Object(mysqli), 'select distinct...')
#1 /home/thenaughtygirlsg/public_html/user/includes/lib_data_access.php(300): Connection->GetRecordSet('select distinct...')
#2 /home/thenaughtygirlsg/public_html/user/news.php(71): GetRecordSet('select distinct...')
#3 {main}
thrown in /home/thenaughtygirlsg/public_html/user/includes/lib_data_access.php on line 262