Warning: Undefined variable $cid in /home/afriextr/public_html/courses/index.php on line 58
Warning: Undefined variable $cid in /home/afriextr/public_html/courses/index.php on line 63
Warning: Undefined variable $cid in /home/afriextr/public_html/courses/index.php on line 68
Fatal error: Uncaught mysqli_sql_exception: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'afriextr_agasHAHHA.course_event.id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by in /home/afriextr/public_html/include/db.php:45
Stack trace:
#0 /home/afriextr/public_html/include/db.php(45): mysqli->prepare('SELECT * FROM c...')
#1 /home/afriextr/public_html/courses/courses.php(46): CoursesDB->get_courses()
#2 /home/afriextr/public_html/courses/index.php(70): include('/home/afriextr/...')
#3 {main}
thrown in /home/afriextr/public_html/include/db.php on line 45