Page MenuHomePhabricator

Fatal error: Call to undefined method User::encodeOptions() (occurring in combination with ConfirmAccount)
Closed, ResolvedPublic

Description

a) The extension http://www.mediawiki.org/wiki/Extension:ConfirmAccount (currently identifying itself as Confirm user accounts (Version 1.47) seems to be broken in combination with newest MW 1.16. The error appears only when actually confirming an account request, selecting accept radio button and clicking confirm button.

Error message:

Fatal error: Call to undefined method User::encodeOptions() in /usr/share/mediawiki/phase3/includes/User.php on line 2482

b) although hosted on SVN, the extension is not in the Component list in Bugzilla, please correct as well.


Version: 1.16.x
Severity: critical

Details

Reference
bz18988

Event Timeline

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

The issue isn't confirmaccount; looks like the preferences changes broke createNew()

According to Aaron, trying to re-assign to mediawiki main instead of extensions.

Bug title renamed according to information from Aaron. Error still present in r51251.

Update: Retesting at rev. 51387, the error message when trying to confirm accounts changed to:

Fatal error: Class 'FileStore' not found in /usr/share/mediawikistaging/extensions/ConfirmAccount/ConfirmAccount_body.php on line 482

Rev 51464: Same error message as above. The users are created, but the comments are not transferred to the user page, and the user is not removed from the review queue in ConfirmAccount.

FileStore class removed recently

(In reply to comment #7)

FileStore class removed recently

Disabling $wgAllowAccountRequestFiles should work for the moment then.

CC'd tim, who removed the old class.

This is a separate bug. Please file a new report for the new bug.