Fatal error: Uncaught exception 'Exception' with message 'Error executing query: SELECT count(*) FROM article WHERE journal_id = 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 '' at line 1' in /home/admin/public_html/code/db.php:65 Stack trace: #0 /home/admin/public_html/code/db.php(111): DB::Execute('SELECT count(*)...') #1 /home/admin/public_html/journal.php(19): DB::GetScalar('SELECT count(*)...') #2 {main} thrown in /home/admin/public_html/code/db.php on line 65