CWEbUser.role is not defined

We have been using this application almost around 1 year now, all of a sudden today, when we try to login its giving strange error

Error 500

Property "CWebUser.role" is not defined.

Is it anything related to hosting or its Yii bug? Why suddenly this problem? Anyone can help???

That’s definitely related to your custom code since there’s no role property in CWebUser by default.