Page MenuHomePhabricator

Bug in PasswordReset extension
Closed, ResolvedPublic

Description

Impossible to edit mediawiki page : I read the following message

Detected bug in an extension! Hook PasswordReset::GetBlockedStatus failed to return a value; should return true to continue hook processing or false to abort.

Backtrace:

#0 /var/www/wiki/includes/User.php(1093): wfRunHooks('GetBlockedStatu...', Array)
#1 /var/www/wiki/includes/User.php(1262): User->getBlockedStatus(false)
#2 /var/www/wiki/includes/User.php(1279): User->isBlocked(false)
#3 /var/www/wiki/includes/Title.php(1025): User->isBlockedFrom(Object(Title))
#4 /var/www/wiki/includes/EditPage.php(476): Title->getUserPermissionsErrors('edit', Object(User))
#5 /var/www/wiki/includes/EditPage.php(385): EditPage->getEditPermissionErrors()
#6 /var/www/wiki/includes/EditPage.php(342): EditPage->edit()
#7 /var/www/wiki/includes/Wiki.php(494): EditPage->submit()
#8 /var/www/wiki/includes/Wiki.php(59): MediaWiki->performAction(Object(OutputPage), Object(Article), Object(Title), Object(User), Object(WebRequest))
#9 /var/www/wiki/index.php(93): MediaWiki->initialize(Object(Title), Object(Article), Object(OutputPage), Object(User), Object(WebRequest))
#10 {main}


Version: unspecified
Severity: blocker

Details

Reference
bz16472

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:29 PM
bzimport set Reference to bz16472.
bzimport added a subscriber: Unknown Object (MLST).

I forgot the following message :

Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'PasswordReset::GetBlockedStatus' was given in /var/www/wiki/includes/Hooks.php on line 117

This seems to be related with r43971 since this revision introduced a new class named PasswordReset that conflicts with the one of this extension.