Fatal error: Uncaught exception 'PDOException' with message '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 ': ) LIMIT 1' at line 1' in D:\www\gg7188\Core\Library\Think\Db\Driver.class.php:169
Stack trace:
#0 D:\www\gg7188\Core\Library\Think\Db\Driver.class.php(169): PDOStatement->execute()
#1 D:\www\gg7188\Core\Library\Think\Db\Driver.class.php(935): Think\Db\Driver->query('SELECT `name` F...', false)
#2 D:\www\gg7188\Core\Library\Think\Model.class.php(761): Think\Db\Driver->select(Array)
#3 D:\www\gg7188\App\Home\Controller\NewsController.class.php(169): Think\Model->find()
#4 D:\www\gg7188\App\Home\Controller\NewsController.class.php(70): Home\Controller\NewsController->getCate('tencent:')
#5 [internal function]: Home\Controller\NewsController->index2()
#6 D:\www\gg7188\Core\Library\Think\App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\NewsController))
#7 D:\ in D:\www\gg7188\Core\Library\Think\Db\Driver.class.php on line 169