:(

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 [ SQL语句 ] : SELECT * FROM `zhl_cms_attribute` WHERE `id` IN ()

错误位置

FILE: /home/wwwroot/default/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 385

TRACE

#0 /home/wwwroot/default/ThinkPHP/Library/Think/Db/Driver.class.php(385): E('1064:You have a...')
#1 /home/wwwroot/default/ThinkPHP/Library/Think/Db/Driver.class.php(196): Think\Db\Driver->error()
#2 /home/wwwroot/default/ThinkPHP/Library/Think/Db/Driver.class.php(1057): Think\Db\Driver->query('SELECT * FROM `...', false, false)
#3 /home/wwwroot/default/ThinkPHP/Library/Think/Model.class.php(628): Think\Db\Driver->select(Array)
#4 /home/wwwroot/default/Application/Cms/Controller/IndexController.class.php(80): Think\Model->select()
#5 [internal function]: Cms\Controller\IndexController->lists('31')
#6 /home/wwwroot/default/ThinkPHP/Library/Think/App.class.php(176): ReflectionMethod->invokeArgs(Object(Cms\Controller\IndexController), Array)
#7 /home/wwwroot/default/ThinkPHP/Library/Think/App.class.php(113): Think\App::invokeAction(Object(Cms\Controller\IndexController), 'lists')
#8 /home/wwwroot/default/ThinkPHP/Library/Think/App.class.php(213): Think\App::exec()
#9 /home/wwwroot/default/ThinkPHP/Library/Think/Think.class.php(135): Think\App::run()
#10 /home/wwwroot/default/ThinkPHP/ThinkPHP.php(100): Think\Think::start()
#11 /home/wwwroot/default/index.php(80): require('/home/wwwroot/d...')
#12 {main}