PDOException: SQLSTATE[42000]: Syntax error or access violation: 1064 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 /www/anufoodchina.com/library/Star/Model/Pdo/Mysql/Abstract.php:364
Stack trace:
#0 /www/anufoodchina.com/library/Star/Model/Pdo/Mysql/Abstract.php(364): PDOStatement->execute(Array)
#1 /www/anufoodchina.com/library/Star/Model/Pdo/Mysql/Abstract.php(347): Star_Model_Pdo_Mysql_Abstract->_query('SELECT news_cat...', Array)
#2 /www/anufoodchina.com/library/Star/Model/Pdo/Mysql/Abstract.php(256): Star_Model_Pdo_Mysql_Abstract->_fetch(NULL, '*', 'news_category', NULL)
#3 /www/anufoodchina.com/library/Star/Model/Abstract.php(188): Star_Model_Pdo_Mysql_Abstract->fetchRow(NULL, '*', 'news_category')
#4 /www/anufoodchina.com/application/services/NewsService.php(288): Star_Model_Abstract->getPk(NULL)
#5 /www/anufoodchina.com/application/modules/www/controllers/NewsController.php(64): NewsService->getCategoryById(NULL)
#6 /www/anufoodchina.com/library/Star/Controller/Action.php(143): NewsController->detailAction()
#7 /www/anufoodchina.com/library/Star/Controller/Front.php(332): Star_Controller_Action->dispatch('detailAction')
#8 /www/anufoodchina.com/library/Star/Application/Bootstrap/Abstract.php(153): Star_Controller_Front->dispatch()
#9 /www/anufoodchina.com/library/Star/Application/Bootstrap/Bootstrap.php(63): Star_Application_Bootstrap_Abstract->dispatch()
#10 /www/anufoodchina.com/library/Star/Application.php(52): Star_Application_Bootstrap_Bootstrap->run()
#11 /www/anufoodchina.com/www/index.php(26): Star_Application->run()
#12 {main}