Error Related To Webuser()

dear members anyone anyone help me to come out of this error.

Declaration of WebUser::login() should be compatible with CWebUser::login($identity, $duration = 0)

thanks in advance…

This is a general PHP issue. Probably, you extended CWebUser but your login() method doesn’t have the same parameters list. This list should be identical, including default values, types (in this case there are none such) etc.

Please post similar questions to ‘general help’ forum and not this one, next time.

thanks