Login errors and deprecated functions
-
This plugin needs an update. Specifically the
wpcas.php
file. Line 91 should be changed topublic static function authenticate() {
instead offunction authenticate() {
, and line 99 should be changed toif ( $user = get_user_by( 'login', phpCAS::getUser() )){ // user
sinceget_userdatabylogin()
is deprecated.There are also a couple of warnings / notices when logging out, but those two should definitely be fixed because the error messages actually prevent login.
- The topic ‘Login errors and deprecated functions’ is closed to new replies.