:(

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 'and chateau like '%教皇新堡罗氏庄园%' ORDER BY `id` DESC LIMIT 0,6' at line 1 [ SQL语句 ] : SELECT `img`,`title`,`info`,`id`,`uid` FROM `pin_item` WHERE status = 1 and uid= and chateau like '%教皇新堡罗氏庄园%' ORDER BY `id` DESC LIMIT 0,6

错误位置

FILE: /var/www/html/wine.com.cn/_core/Lib/Driver/Db/DbMysql.class.php  LINE: 320

TRACE

[24-03-30 00:09:03] /var/www/html/wine.com.cn/_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 'and chateau like '%教皇新堡罗氏庄园%' ORDER BY `id` DESC LIMIT 0,6' at line 1
[ SQL语句 ] : SELECT `img`,`title`,`info`,`id`,`uid` FROM `pin_item` WHERE status = 1 and uid= and chateau like '%教皇新堡罗氏庄园%' ORDER BY `id` DESC LIMIT 0,6 , , ERR)
[24-03-30 00:09:03] /var/www/html/wine.com.cn/_core/Lib/Driver/Db/DbMysql.class.php (107) DbMysql->error()
[24-03-30 00:09:03] /var/www/html/wine.com.cn/_core/Lib/Core/Db.class.php (739) DbMysql->query(SELECT `img`,`title`,`info`,`id`,`uid` FROM `pin_item` WHERE status = 1 and uid= and chateau like '%教皇新堡罗氏庄园%' ORDER BY `id` DESC LIMIT 0,6 )
[24-03-30 00:09:03] /var/www/html/wine.com.cn/_core/Lib/Core/Model.class.php (497) Db->select(Array)
[24-03-30 00:09:03] /var/www/html/wine.com.cn/app/Lib/Action/home/chateauAction.class.php (130) Model->select()
[24-03-30 00:09:03] /var/www/html/wine.com.cn/app/Lib/Action/home/chateauAction.class.php (136) chateauAction->botton_item()
[24-03-30 00:09:03] () chateauAction->detail()
[24-03-30 00:09:03] /var/www/html/wine.com.cn/_core/Lib/Core/App.class.php (169) ReflectionMethod->invoke()
[24-03-30 00:09:03] /var/www/html/wine.com.cn/_core/Lib/Core/App.class.php (205) App::exec()
[24-03-30 00:09:03] /var/www/html/wine.com.cn/_core/Lib/Core/Think.class.php (39) App::run()
[24-03-30 00:09:03] /var/www/html/wine.com.cn/_core/Common/runtime.php (243) Think::start()
[24-03-30 00:09:03] /var/www/html/wine.com.cn/_core/setup.php (30) require(/var/www/html/wine.com.cn/_core/Common/runtime.php)
[24-03-30 00:09:03] /var/www/html/wine.com.cn/index.php (23) require(/var/www/html/wine.com.cn/_core/setup.php)