Notice: Undefined offset: 0 in /var/www/html/objects/course.php on line 62

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY inst_order ASC' at line 12' in /var/www/html/db.php:43 Stack trace: #0 /var/www/html/db.php(43): PDOStatement->execute() #1 /var/www/html/objects/instructor.php(135): db->select('SELECT?? ...') #2 /var/www/html/objects/course.php(87): instructor->get_multiple(Array) #3 /var/www/html/template/view/course.html(2): course->__construct('12319655133') #4 /var/www/html/lib/limonade.php(1467): include('/var/www/html/t...') #5 [internal function]: render('view/course.htm...', 'layout/base.htm...') #6 /var/www/html/lib/limonade.php(1507): call_user_func_array('render', Array) #7 /var/www/html/index.php(210): html('view/course.htm...', 'layout/base.htm...') #8 [internal function]: course('12319655133', 'how-to-analytic...' in /var/www/html/db.php on line 43