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...
Page 1 of 1
Error Related To Webuser() Declaration of WebUser::login() should be compatible with CWebUser::lo
#2
Posted 27 November 2012 - 07:45 AM
ramamoorthy071, on 27 November 2012 - 07:43 AM, said:
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...
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.
Therapeutic PHP sessions My LinkedIn Profile
#3
Posted 27 November 2012 - 07:51 AM
Boaz, on 27 November 2012 - 07:45 AM, said:
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.
Please post similar questions to 'general help' forum and not this one, next time.
Share this topic:
Page 1 of 1

Help














