Quantcast
Channel: Yii Framework Forum
Viewing all articles
Browse latest Browse all 18717

addInCondition errors

$
0
0
I receive the following error when I use 'addInCondition' to the CDbCriteria object:

Quote

"CDbCommand failed to execute the SQL statement: SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens"


This only occurs when I already have a condition already specified; it works fine if I do not add any additional conditions. Does anyone else have this issue? Has anyone gotten around it.

Viewing all articles
Browse latest Browse all 18717

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>