:(

Unknown column 'sort' in 'order clause' [ SQL语句 ] : SELECT * FROM `tp_renew` WHERE ( `agentid` = 0 ) AND ( `status` = 1 ) ORDER BY sort DESC,id DESC LIMIT 5

错误位置

FILE: D:\phpStudy133\www\awzz\Lib\Driver\Db\DbMysql.class.php  LINE: 320

TRACE

[20-02-25 23:24:02] D:\phpStudy133\www\awzz\Lib\Driver\Db\DbMysql.class.php (320) trace(Unknown column 'sort' in 'order clause'
[ SQL语句 ] : SELECT * FROM `tp_renew` WHERE ( `agentid` = 0 ) AND ( `status` = 1 ) ORDER BY sort DESC,id DESC LIMIT 5 , , ERR)
[20-02-25 23:24:02] D:\phpStudy133\www\awzz\Lib\Driver\Db\DbMysql.class.php (107) DbMysql->error()
[20-02-25 23:24:02] D:\phpStudy133\www\awzz\Lib\Core\Db.class.php (741) DbMysql->query(SELECT * FROM `tp_renew` WHERE ( `agentid` = 0 ) AND ( `status` = 1 ) ORDER BY sort DESC,id DESC LIMIT 5 )
[20-02-25 23:24:02] D:\phpStudy133\www\awzz\Lib\Core\Model.class.php (497) Db->select(Array)
[20-02-25 23:24:02] D:\phpStudy133\www\awzz\PigCms\Lib\Action\Home\IndexAction.class.php (137) Model->select()
[20-02-25 23:24:02] () IndexAction->index()
[20-02-25 23:24:02] D:\phpStudy133\www\awzz\Lib\Core\App.class.php (172) ReflectionMethod->invoke()
[20-02-25 23:24:02] D:\phpStudy133\www\awzz\Lib\Core\App.class.php (208) App::exec()
[20-02-25 23:24:02] D:\phpStudy133\www\awzz\Lib\Core\Think.class.php (39) App::run()
[20-02-25 23:24:02] D:\phpStudy133\www\awzz\Common\runtime.php (243) Think::start()
[20-02-25 23:24:02] D:\phpStudy133\www\awzz\index.php (38) require(D:\phpStudy133\www\awzz\Common\runtime.php)