Yii2 select2 database exception number of bound variables does not match number of tokensphpactiverecordyii2jquery-select2 PHP Snippet 1:$query->where($pk); CopyPHP Snippet 2:$query->andWhere($pk); Copy