Last modified: 2013-04-22 16:17:24 UTC
Error: Fatal error: Call to a member function addWikiMsg() on a non-object in C:\Work\Projects\pro\wiki-simpat\Sites\wiki.simpat.test\extensions\OpenID\SpecialOpenIDLogin.body.php on line 534 Fix: function updateUser( $user, $sreg, $ax, $force = false ) { global $wgAllowRealName, $wgEmailAuthentication, $wgOpenIDTrustEmailAddress; +global $wgOut;
This should probably use $this->getOutput() instead of $wgOut.
@Dima ... how to reproduce your case ? Please can you specify the - condition(s) when you see this error- - your mediawiki version and - the OpenID version ? See Special:Version
@Dima see https://www.mediawiki.org/wiki/Extension_talk:OpenID#First_aid_checklist
(In reply to comment #2) > @Dima > > ... how to reproduce your case ? Isn't it obvious from the source that this global is indeed not imported?
@Max I admit, it is. I only wonder why I never saw this error in my log files, and wanted to be able to strictly reproduce it. And then to fix it.
fixed in https://gerrit.wikimedia.org/r/gitweb?p=mediawiki/extensions/OpenID.git;a=commit;h=2d61bac9c8cd2c929d6f046415efb9ed25cb14e8