Last modified: 2014-07-14 23:29:42 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 T63870, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61870 - Invalid callback in hooks for UserLoadOptions
Invalid callback in hooks for UserLoadOptions
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Echo (Other open bugs)
REL1_22-branch
PC Linux
: Unprioritized critical (vote)
: ---
Assigned To: Nobody - You can work on this!
aklapper-moreinfo
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-24 20:18 UTC by karim.tsouli
Modified: 2014-07-14 23:29 UTC (History)
5 users (show)

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


Attachments

Description karim.tsouli 2014-02-24 20:18:41 UTC
So, i just added Echo to my media wiki and i'm getting this error. I have searched and found no answer to resolve this issue.


[34f946fd] /index.php Exception from line 181 of /home/karimht26/domains/cybermaid.net/public_html/includes/Hooks.php: Invalid callback in hooks for UserLoadOptions
Backtrace:

#0 /home/karimht26/domains/cybermaid.net/public_html/includes/GlobalFunctions.php(3877): Hooks::run(string, array)
#1 /home/karimht26/domains/cybermaid.net/public_html/includes/User.php(4646): wfRunHooks(string, array)
#2 /home/karimht26/domains/cybermaid.net/public_html/includes/User.php(356): User->loadOptions()
#3 /home/karimht26/domains/cybermaid.net/public_html/includes/User.php(336): User->saveToCache()
#4 /home/karimht26/domains/cybermaid.net/public_html/includes/User.php(294): User->loadFromId()
#5 /home/karimht26/domains/cybermaid.net/public_html/includes/User.php(2151): User->load()
#6 /home/karimht26/domains/cybermaid.net/public_html/includes/User.php(981): User->getToken(boolean)
#7 /home/karimht26/domains/cybermaid.net/public_html/includes/User.php(297): User->loadFromSession()
#8 /home/karimht26/domains/cybermaid.net/public_html/includes/User.php(1743): User->load()
#9 /home/karimht26/domains/cybermaid.net/public_html/includes/User.php(2847): User->getId()
#10 /home/karimht26/domains/cybermaid.net/public_html/includes/Wiki.php(546): User->isLoggedIn()
#11 /home/karimht26/domains/cybermaid.net/public_html/includes/Wiki.php(467): MediaWiki->main()
#12 /home/karimht26/domains/cybermaid.net/public_html/index.php(49): MediaWiki->run()
#13 {main}
Comment 1 Andre Klapper 2014-02-24 21:51:52 UTC
Thanks for taking the time to report this!

Please provide exact version information for both MediaWiki and the Echo extensions, plus steps to reproduce. For general info, see https://www.mediawiki.org/wiki/How_to_report_a_bug
Comment 2 karim.tsouli 2014-02-24 22:10:11 UTC
Mediawiki version: 1.22.2 
Echo version: beta (2013-08-28) downloaded from: http://www.mediawiki.org/wiki/Extension:Echo

Steps to reproduce:
1. Unzip files to extensions/Echo
2. Add "require_once ( "$IP/extensions/Echo/Echo.php" );" to LocalSettings.php
3. Update mediawiki (Via "../wm-config/index.php")
4. Visit any page on the mediawiki
Comment 3 Andre Klapper 2014-02-24 22:24:49 UTC
(In reply to karim.tsouli from comment #2)
> Echo version: beta (2013-08-28) downloaded from:
> http://www.mediawiki.org/wiki/Extension:Echo

When I click the "Download" link I end up on https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Echo , and choosing "1.22" creates a compressed archive with all files having a time stamp of Dec 07, 2013.
It's unclear to me why your Echo version is from August instead.
Could you please elaborate?
Comment 4 karim.tsouli 2014-02-24 22:39:38 UTC
My apologies. I thought the "latest" version stated on extension page would have been the one i downloaded. I just checked, and I too have the version of 07-12-2013
Comment 5 Kunal Mehta (Legoktm) 2014-05-10 09:19:21 UTC
Is this still an issue? REL1_22 works fine for me.
Comment 6 Andre Klapper 2014-06-10 11:33:13 UTC
Karim: Can you answer comment 5, please?

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


Navigation
Links