:(

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 [ SQL语句 ] : SELECT COUNT(*) AS tp_count FROM `qf_` WHERE ( `pid` in () ) LIMIT 1

错误位置

FILE: /home/refuta/domains/refuta.com/public_html/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 339

TRACE

#0 /home/refuta/domains/refuta.com/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(339): E('1064:You have a...')
#1 /home/refuta/domains/refuta.com/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(173): Think\Db\Driver->error()
#2 /home/refuta/domains/refuta.com/public_html/ThinkPHP/Library/Think/Db/Driver.class.php(928): Think\Db\Driver->query('SELECT COUNT(*)...', false)
#3 /home/refuta/domains/refuta.com/public_html/ThinkPHP/Library/Think/Model.class.php(998): Think\Db\Driver->select(Array)
#4 /home/refuta/domains/refuta.com/public_html/ThinkPHP/Library/Think/Model.class.php(227): Think\Model->getField('COUNT(*) AS tp_...')
#5 /home/refuta/domains/refuta.com/public_html/App/Home/Controller/CustomController.class.php(59): Think\Model->__call('count', Array)
#6 /home/refuta/domains/refuta.com/public_html/App/Home/Controller/CustomController.class.php(59): Think\Model->count()
#7 [internal function]: Home\Controller\CustomController->index()
#8 /home/refuta/domains/refuta.com/public_html/ThinkPHP/Library/Think/App.class.php(174): ReflectionMethod->invoke(Object(Home\Controller\CustomController))
#9 /home/refuta/domains/refuta.com/public_html/ThinkPHP/Library/Think/App.class.php(212): Think\App::exec()
#10 /home/refuta/domains/refuta.com/public_html/ThinkPHP/Library/Think/Think.class.php(120): Think\App::run()
#11 /home/refuta/domains/refuta.com/public_html/ThinkPHP/ThinkPHP.php(97): Think\Think::start()
#12 /home/refuta/domains/refuta.com/public_html/index.php(21): require('/home/refuta/do...')
#13 {main}