:(

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 'cate)) ) ORDER BY id desc LIMIT 1' at line 1

错误位置

FILE: /data/2018/9/joincare/public_html/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /data/2018/9/joincare/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /data/2018/9/joincare/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(935): Think\Db\Driver->query('SELECT * FROM `...', false)
#2 /data/2018/9/joincare/public_html/ThinkPHP/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#3 /data/2018/9/joincare/public_html/App/Common/Service/CommonService.class.php(125): Think\Model->select()
#4 /data/2018/9/joincare/public_html/App/Home/Controller/NewsController.class.php(200): Common\Service\CommonService->GetTableDataListByMap('web_article', Array, 'id desc', '', 1, true, true)
#5 [internal function]: Home\Controller\NewsController->cdetail()
#6 /data/2018/9/joincare/public_html/ThinkPHP/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\NewsController))
#7 /data/2018/9/joincare/public_html/ThinkPHP/Library/Think/App.class.php(202): Think\App::exec()
#8 /data/2018/9/joincare/public_html/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#9 /data/2018/9/joincare/public_html/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#10 /data/2018/9/joincare/public_html/index.php(42): require('/data/2018/9/jo...')
#11 {main}