:(

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 `bae_category` WHERE ( parent_id= )

错误位置

FILE: /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Core/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Core/Library/Think/Db/Driver.class.php(350): E('1064:You have a...')
#1 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Core/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Core/Library/Think/Db/Driver.class.php(946): Think\Db\Driver->query('SELECT * FROM `...', false)
#3 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Core/Library/Think/Model.class.php(579): Think\Db\Driver->select(Array)
#4 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Apps/Yljj/Controller/ProductController.class.php(60): Think\Model->select()
#5 [internal function]: Yljj\Controller\ProductController->index()
#6 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Core/Library/Think/App.class.php(173): ReflectionMethod->invoke(Object(Yljj\Controller\ProductController))
#7 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Core/Library/Think/App.class.php(110): Think\App::invokeAction(Object(Yljj\Controller\ProductController), 'index')
#8 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Core/Library/Think/App.class.php(204): Think\App::exec()
#9 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Core/Library/Think/Think.class.php(120): Think\App::run()
#10 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/Core/Core.php(97): Think\Think::start()
#11 /home/77c8cf84-5c91-41a2-afa5-eff8e5a36d30/wwwroot/index.php(21): require('/home/77c8cf84-...')
#12 {main}