mysqli_sql_exception: 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 a.completed = 1 and a.articleStatus != 'deleted'
   ' at line 10 in /wisegeek/framework/classes/DB/Mysql.php:479
Stack trace:
#0 /wisegeek/framework/classes/DB/Mysql.php(479): mysqli_query()
#1 /wisegeek/framework/classes/DB/Mysql.php(151): Conjecture\Framework\DB\Mysql::_query()
#2 /wisegeek/framework/classes/DB/Mysql.php(317): Conjecture\Framework\DB\Mysql::query()
#3 /wisegeek/_core/classes/public/PublicCommonPage.php(630): Conjecture\Framework\DB\Mysql::query_array()
#4 /wisegeek/_core/pages/public/PageIndex.php(192): PublicCommonPage->getArticleCards()
#5 /wisegeek/framework/classes/Control/Control.php(133): PageIndex->preRender()
#6 /wisegeek/framework/classes/Page/ScriptPage.php(90): Conjecture\Framework\Control\Control->render()
#7 /wisegeek/framework/classes/Control/Control.php(183): Conjecture\Framework\Page\ScriptPage->render()
#8 /wisegeek/framework/classes/Page/Page.php(128): Conjecture\Framework\Control\Control->renderControl()
#9 /wisegeek/_core/classes/public/PublicFrontController.php(469): Conjecture\Framework\Page\Page->processRequest()
#10 /wisegeek/_core/classes/public/PublicFrontController.php(16): PublicFrontController->renderPage()
#11 /wisegeek/index.php(25): PublicFrontController::run()
#12 {main}