Thread:Project:Support desk/Invalid callback in hooks for UserCryptPassword

System upgraded from 1.18.1 to 1.23.5.

Works on identical wiki install from 1.23.5 - no upgrade.

Uses LDAP Auth Extension.

Localsettings.php has line:

$wgLDAPUseLocal = true;

Attempted to create a local user and received this error:

Internal error

[e00936e7] /mediawiki/index.php?title=Special:UserLogin&action=submitlogin&type=signup Exception from line 182 of /srv/www/htdocs/mediawiki/includes/Hooks.php: Invalid callback in hooks for UserCryptPassword

Backtrace:


 * 1) 0 /srv/www/htdocs/mediawiki/includes/GlobalFunctions.php(4013): Hooks::run(string, array, NULL)


 * 1) 1 /srv/www/htdocs/mediawiki/includes/User.php(4533): wfRunHooks(string, array)


 * 1) 2 /srv/www/htdocs/mediawiki/includes/User.php(2259): User::crypt(string)


 * 1) 3 /srv/www/htdocs/mediawiki/includes/User.php(2239): User->setInternalPassword(string)


 * 1) 4 /srv/www/htdocs/mediawiki/includes/specials/SpecialUserlogin.php(553): User->setPassword(string)


 * 1) 5 /srv/www/htdocs/mediawiki/includes/specials/SpecialUserlogin.php(532): LoginForm->initUser(User, boolean)


 * 1) 6 /srv/www/htdocs/mediawiki/includes/specials/SpecialUserlogin.php(282): LoginForm->addNewAccountInternal


 * 1) 7 /srv/www/htdocs/mediawiki/includes/specials/SpecialUserlogin.php(219): LoginForm->addNewAccount


 * 1) 8 /srv/www/htdocs/mediawiki/includes/specialpage/SpecialPage.php(379): LoginForm->execute(NULL)


 * 1) 9 /srv/www/htdocs/mediawiki/includes/specialpage/SpecialPageFactory.php(503): SpecialPage->run(NULL)


 * 1) 10 /srv/www/htdocs/mediawiki/includes/Wiki.php(285): SpecialPageFactory::executePath(Title, RequestContext)


 * 1) 11 /srv/www/htdocs/mediawiki/includes/Wiki.php(588): MediaWiki->performRequest


 * 1) 12 /srv/www/htdocs/mediawiki/includes/Wiki.php(447): MediaWiki->main


 * 1) 13 /srv/www/htdocs/mediawiki/index.php(46): MediaWiki->run


 * 1) 14 {main}