:(

SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ') )' at line 1

错误位置

FILE: /var/www/cnciia/core/Library/Think/Db/Driver.class.php  LINE: 169

TRACE

#0 /var/www/cnciia/core/Library/Think/Db/Driver.class.php(169): PDOStatement->execute()
#1 /var/www/cnciia/core/Library/Think/Db/Driver.class.php(935): Think\Db\Driver->query('SELECT `id` FRO...', false)
#2 /var/www/cnciia/core/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#3 /var/www/cnciia/app/Home/Controller/BaseController.class.php(165): Think\Model->select()
#4 /var/www/cnciia/app/Home/Controller/IndexController.class.php(217): Home\Controller\BaseController->getProductsFromTypeId(NULL, '', 12)
#5 [internal function]: Home\Controller\IndexController->faqi()
#6 /var/www/cnciia/core/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Home\Controller\IndexController))
#7 /var/www/cnciia/core/Library/Think/App.class.php(202): Think\App::exec()
#8 /var/www/cnciia/core/Library/Think/Think.class.php(120): Think\App::run()
#9 /var/www/cnciia/core/ThinkPHP.php(97): Think\Think::start()
#10 /var/www/cnciia/index.php(27): require('/var/www/cnciia...')
#11 {main}