array_flip() error in CModel.php

hello,

I’ll get this error when I’m trying to set the model’s attribute to the $_POST[‘model’]. …

has anyone seen this before?


Internal Server Error

array_flip() [<a href='function.array-flip'>function.array-flip</a>]: Can only flip STRING and INTEGER values!

and here is the application LOG:


array_flip() [<a href='function.array-flip'>function.array-flip</a>]: Can

only flip STRING and INTEGER values!

(C:\......framework\base\CModel.php:494)

REQUEST_URI=/index.php?r=user/edit&id=32

thanks,

–iM

How is your safeAttributes() defined?