:(

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 sort asc,id desc' at line 1

错误位置

FILE: /www/wwwroot/hcloudweb.com/ThinkPHP/Library/Think/Db/Driver.class.php  LINE: 323

TRACE

#0 /www/wwwroot/hcloudweb.com/ThinkPHP/Library/Think/Db/Driver.class.php(323): PDOStatement->execute()
#1 /www/wwwroot/hcloudweb.com/ThinkPHP/Library/Think/Db/Driver.class.php(1819): Think\Db\Driver->query()
#2 /www/wwwroot/hcloudweb.com/ThinkPHP/Library/Think/Model.class.php(1159): Think\Db\Driver->select()
#3 /www/wwwroot/hcloudweb.com/Core/Home/Controller/ProductController.class.php(30): Think\Model->select()
#4 [internal function]: Home\Controller\ProductController->index()
#5 /www/wwwroot/hcloudweb.com/ThinkPHP/Library/Think/App.class.php(311): ReflectionMethod->invoke()
#6 /www/wwwroot/hcloudweb.com/ThinkPHP/Library/Think/App.class.php(387): Think\App::exec()
#7 /www/wwwroot/hcloudweb.com/ThinkPHP/Library/Think/Think.class.php(239): Think\App::run()
#8 /www/wwwroot/hcloudweb.com/ThinkPHP/ThinkPHP.php(193): Think\Think::start()
#9 /www/wwwroot/hcloudweb.com/index.php(66): require('/www/wwwroot/hc...')
#10 {main}