ERROR

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 `_order` desc,`_id` desc LIMIT 0,10' at line 1 [ SQL语句 ] : SELECT * FROM `model_` WHERE ( ) ORDER BY `_order` desc,`_id` desc LIMIT 0,10

错误位置

FILE: /data/user/htdocs/Lib/Library/Think/Db/Driver.class.php  LINE: 394

TRACE

#0 /data/user/htdocs/Lib/Library/Think/Db/Driver.class.php(394): E('1064:You have a...')
#1 /data/user/htdocs/Lib/Library/Think/Db/Driver.class.php(198): Think\Db\Driver->error()
#2 /data/user/htdocs/Lib/Library/Think/Db/Driver.class.php(1066): Think\Db\Driver->query('SELECT * FROM `...', false, false)
#3 /data/user/htdocs/Lib/Library/Think/Model.class.php(628): Think\Db\Driver->select(Array)
#4 /data/user/htdocs/App/Home/Controller/HomebaseController.class.php(196): Think\Model->select()
#5 /data/user/htdocs/App/Home/Controller/HomebaseController.class.php(222): Home\Controller\HomebaseController->cms_list(NULL, '0,10', Array)
#6 /data/user/htdocs/App/Home/Controller/InformationController.class.php(180): Home\Controller\HomebaseController->cms_page(NULL, Array, 0, 10)
#7 [internal function]: Home\Controller\InformationController->cmslist()
#8 /data/user/htdocs/Lib/Library/Think/App.class.php(178): ReflectionMethod->invoke(Object(Home\Controller\InformationController))
#9 /data/user/htdocs/Lib/Library/Think/App.class.php(113): Think\App::invokeAction(Object(Home\Controller\InformationController), 'cmslist')
#10 /data/user/htdocs/Lib/Library/Think/App.class.php(213): Think\App::exec()
#11 /data/user/htdocs/Lib/Library/Think/Think.class.php(136): Think\App::run()
#12 /data/user/htdocs/Lib/lib.php(100): Think\Think::start()
#13 /data/user/htdocs/index.php(71): require('/data/user/htdo...')
#14 {main}