Last modified: 2014-05-25 08:09:14 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67735, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65735 - Hooks.php getUser() fatal error
Hooks.php getUser() fatal error
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
Echo (Other open bugs)
REL1_23-branch
All All
: Unprioritized critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 65720
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-25 05:11 UTC by Ian Kelling
Modified: 2014-05-25 08:09 UTC (History)
7 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ian Kelling 2014-05-25 05:11:12 UTC
Fresh mediawiki install from REL1_23 29a3bbb, with Echo REL1_23 b98508f. Fails on loading main page. Turned on debugging, got these errors.

Warning: Missing argument 3 for EchoHooks::onPersonalUrls() in /a/opt/mw/extensions/Echo/Hooks.php on line 659

Notice: Undefined variable: sk in /a/opt/mw/extensions/Echo/Hooks.php on line 661

Fatal error: Call to a member function getUser() on a non-object in /a/opt/mw/extensions/Echo/Hooks.php on line 661
Comment 1 Florian 2014-05-25 05:53:18 UTC
In actual git version of Echo there are three arguments:
https://git.wikimedia.org/blob/mediawiki%2Fextensions%2FEcho/7027949ad10ddad4e5bb014d6713f5601dcd9b0f/Hooks.php#L659

And the hook PersonalUrls has 3 arguments in standard (sk is skin):
https://www.mediawiki.org/wiki/Manual:Hooks/PersonalUrls

I think, this can be the same reason like in https://bugzilla.wikimedia.org/show_bug.cgi?id=65720
So let us wait what solution comes there and test this again :)
Comment 2 Ian Kelling 2014-05-25 08:09:14 UTC
I figured it out. My local branch was tracking the wrong remote branch. Thank you, sorry for the bad bug.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links