:(

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 `weixin_text_cate` WHERE sid=

错误位置

FILE: /usr/local/site/lianyun/lianyun/_core/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/_core/Lib/Driver/Db/DbMysql.class.php (320) trace(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 `weixin_text_cate` WHERE sid= , , ERR)
[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/_core/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/_core/Lib/Core/Db.class.php (739) DbMysql->query(SELECT * FROM `weixin_text_cate` WHERE sid= )
[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/_core/Lib/Core/Model.class.php (497) Db->select(Array)
[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/app/Lib/Action/home/PcAction.class.php (253) Model->select()
[17-12-18 02:39:12] () PcAction->text_list()
[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/_core/Lib/Core/App.class.php (181) ReflectionMethod->invoke()
[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/_core/Lib/Core/App.class.php (217) App::exec()
[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/_core/Lib/Core/Think.class.php (39) App::run()
[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/_core/Common/runtime.php (245) Think::start()
[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/_core/setup.php (30) require(/usr/local/site/lianyun/lianyun/_core/Common/runtime.php)
[17-12-18 02:39:12] /usr/local/site/lianyun/lianyun/index.php (55) require(/usr/local/site/lianyun/lianyun/_core/setup.php)