(ModelName) does not have a method named "unsetAttributes".

我使用Gii生成 model 和 CRUD,在windows下正常,但是在FressBSD下时,点击Manage, 例如 Manage User, 会出现error

User does not have a method named "unsetAttributes".

请问这个是个什么情况?

Has somebody solved this problem? I have this error too.

I don’t have this kind of problem in PHP 5.3, but now my server is running on PHP 5.2.

Thanks for your attention.

yii version!!!