Fatal error: Uncaught PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY a.id DESC' at line 1 in /home/vedicvidyashrams/public_html/madurai/Yak/Database/Database.php:42
Stack trace:
#0 /home/vedicvidyashrams/public_html/madurai/Yak/Database/Database.php(42): PDOStatement->execute()
#1 /home/vedicvidyashrams/public_html/madurai/content/theme/web/models/faculty_model.php(44): Yak\Database\Database->select('SELECT * FROM h...')
#2 /home/vedicvidyashrams/public_html/madurai/content/theme/web/controllers/faculty.php(38): Faculty_Model->getFacultylist(NULL)
#3 /home/vedicvidyashrams/public_html/madurai/content/theme/web/controllers/faculty.php(33): Faculty->detailpage(NULL)
#4 /home/vedicvidyashrams/public_html/madurai/Yak/Booting.php(178): Faculty->details()
#5 /home/vedicvidyashrams/public_html/madurai/Yak/Booting.php(50): Yak\Booting->_callControllerMethod()
#6 /home/vedicvidyashrams/public_html/madurai/index.php(106): Yak\Booting->init()
#7 {main}
thrown in /home/vedicvidyashrams/public_html/madurai/Yak/Database/Database.php on line 42