Fatal error: Uncaught exception 'Exception' with message '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 'WHERE pages.section_id= AND slug='index.php'ORDER BY pages.date_created DESC, pa' at line 1' in /home/mingus/webapps/mingusdesign/lib/class.mysql.php:47
Stack trace:
#0 /home/mingus/webapps/mingusdesign/lib/class.mysql.php(72): Mysql->query('SELECT pages.*,...')
#1 /home/mingus/webapps/mingusdesign/lib/class.pages.php(385): Mysql->queryRow('SELECT pages.*,...')
#2 /home/mingus/webapps/mingusdesign/index.php(37): Pages->get_page_by_slug('index.php', NULL)
#3 {main}
thrown in /home/mingus/webapps/mingusdesign/lib/class.mysql.php on line 47