Fatal error: Uncaught exception 'db_exception' with message 'Database: 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 'AND core.id != 'NULL' ORDER BY id DESC LIMIT 0, 16' at line 1' in /home/web/thatvideosite/library/db.php:47
Stack trace:
#0 /home/web/thatvideosite/index.php(44): db->query_array('SELECT core.* F...')
#1 {main}
thrown in /home/web/thatvideosite/library/db.php on line 47