Copied! Copy Stacktrace Search Stackoverflow Search Google Exception

Database Exceptionyii\db\Exception

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'AgentMatch_Search' in 'where clause'
The SQL being executed was: SELECT `UpdateTime`, `LinkMan`, `Province`, `City`, `XianCity`, `AgentProLevel`, `Price`, `ResultStatus`, `ID`, `IsHot`, `AgentProType1`, `AgentProType` FROM `Agentsent` WHERE ((`Checked`=1) AND (`ResultStatus`='寻找中')) AND (ID <>AgentMatch_Search and AgentProType like '%%') ORDER BY `UpdateTime` DESC LIMIT 5

Error Info: Array
(
    [0] => 42S22
    [1] => 1054
    [2] => Unknown column 'AgentMatch_Search' in 'where clause'
)
$_SESSION = [
    'slPhone' => null,
    'ssName' => '刘先生',
    'sSupplierID' => 0,
];