excepInfo: 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 ') ORDER BY `id` DESC LIMIT 6' at line 1
excepFile: /www/wwwroot/www.jkouyu.com/core/think/db/Connection.php
excepLine: 342
excepCode: 42000
excepTime: 2024-09-08 09:47:37
#0 COOLC_PATH/core/think/db/Connection.php(342): PDO->prepare(SELECT * FROM `cases` WHERE  (  is_del = 0 and cat_id != 1 and cat_id =  ) ORDER BY `id` DESC LIMIT 6 )
#1 COOLC_PATH/core/think/db/Query.php(223): think\db\Connection->query(SELECT * FROM `cases` WHERE  (  is_del = 0 and cat_id != 1 and cat_id =  ) ORDER BY `id` DESC LIMIT 6 )
#2 COOLC_PATH/core/think/db/Query.php(2338): think\db\Query->query(SELECT * FROM `cases` WHERE  (  is_del = 0 and cat_id != 1 and cat_id =  ) ORDER BY `id` DESC LIMIT 6 )
#3 COOLC_PATH/core/IQuery.php(70): think\db\Query->select()
#4 COOLC_PATH/core/pcache.php(41): IQuery->{closure}()
#5 COOLC_PATH/core/IQuery.php(71): pcache->getset(sql_cases_is_del = 0 and cat_id != 1 and cat_id = _*_id desc_6___0,30)
#6 COOLC_PATH/app/controllers/cases.php(109): IQuery->find()
#7 COOLC_PATH/core/IInlineAction.php(47): cases->show()
#8 COOLC_PATH/core/IController.php(216): IInlineAction->run()
#9 COOLC_PATH/core/App.php(135): IController->run(show)
#10 COOLC_PATH/core/App.php(41): App->execRequest()
#11 COOLC_PATH/index.php(9): App->run()