Open Emi94 opened 3 years ago
I got this error message, not sure if it is the same underlying problem as you have got:
/index.php?title=Spezial:Anmelden&returnto=Hauptseite Error from line 151 of [...]/mediawiki-1.35/extensions/CASAuth/CASAuth.php: Call to undefined method User::setPassword()
see https://www.mediawiki.org/wiki/Release_notes/1.35, look for setPassword
: User::setInternalPassword() and User::setPassword(), deprecated in 1.27, have been removed. Use User::changeAuthenticationData() instead.
For an example of replacement see this commit: https://github.com/wikimedia/mediawiki/commit/6edc28d601de3afab46bfbc01c83b0ad60680adf
If a user logins through CAS for the first time and he doesn't already has a user on mediawiki the web UI throws this:
Fatal exception of type "Error"
And apache2 logs show this
Note: Mediawiki version is 1.35.0, php is 7.4 and
$CASAuth["CreateAccounts"]=true;
is set