Search Term "new" Gives Me Error


CDbCommand failed to execute the SQL statement: SQLSTATE[42000]: Syntax error or access violation: 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 'Condition LIKE '%New%'' at line 1. The SQL statement executed was: SELECT COUNT(*) FROM `vcustomer` `t` WHERE Condition LIKE :ycp2

I searched NEW in the filter , and it gave me the error above!!

Why you always open your Yii 1.1 topic in Yii 2.0 forum?

Can you show the code where you’re applying the filter?