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 13' 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(140): db->select('SELECT?? ...') #2 /var/www/html/objects/course.php(87): instructor->get_multiple(Array) #3 /var/www/html/index.php(2120): course->__construct('1670529114410') #4 [internal function]: quote('contact-informa...', '1670529114410') #5 /var/www/html/lib/limonade.php(429): call_user_func_array('quote', Array) #6 /var/www/html/index.php(2556): run() #7 {main} thrown in /var/www/html/db.php on line 43