Last modified: 2013-05-02 20:21:34 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 T49975, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 47975 - PHP fatal error while attempting to import page: Argument 2 passed to Hooks::run() must be an array, object given
PHP fatal error while attempting to import page: Argument 2 passed to Hooks::...
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Export/Import (Other open bugs)
1.22.0
All All
: High major (vote)
: ---
Assigned To: Max Semenik
https://commons.wikimedia.org/wiki/Sp...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-02 07:31 UTC by Rainer Rillke @commons.wikimedia
Modified: 2013-05-02 20:21 UTC (History)
2 users (show)

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


Attachments

Description Rainer Rillke @commons.wikimedia 2013-05-02 07:31:31 UTC
Here is the error messsage that appears after submitting on [[:commons:Special:Import]]

PHP fatal error in /usr/local/apache/common-local/php-1.22wmf3/includes/Hooks.php line 132:
Argument 2 passed to Hooks::run() must be an array, object given, called in /usr/local/apache/common-local/php-1.22wmf3/includes/GlobalFunctions.php on line 3872 and defined 

Parameters (if get would have been used; but the message was posted; editToken changed):
?action=submit&source=interwiki&editToken=XXXXXXXXXXXXXXXXXXXXbad09%2B\&interwiki=en&frompage=MediaWiki%3AGadget-edittop.js&namespace=&log-comment=update+from+en%3Awp+%2F%2F+will+backport+languages&rootpage=

Page MediaWiki:Gadget-edittop.js already exists at Commons but this shouldn't be an issue.

----
Unless otherwise noted all the bugs I report occured directly before I reported them at Wikimedia Commons.
Comment 1 Sam Reed (reedy) 2013-05-02 14:22:48 UTC
[02-May-2013 14:21:27] Catchable fatal error: Argument 2 passed to Hooks::run() must be an array, object given, called in /usr/local/apache/common-local/php-1.22wmf3/includes/GlobalFunctions.php on line 3872 and defined at /usr/local/apache/common-local/php-1.22wmf3/includes/Hooks.php on line 132
Server: mw1031
Method: POST
URL: http://meta.wikimedia.org/w/index.php?title=Special:Import&action=submit
Backtrace:
#0 /usr/local/apache/common-local/php-1.22wmf3/includes/Hooks.php(132): Hooks::run()
#1 /usr/local/apache/common-local/php-1.22wmf3/includes/GlobalFunctions.php(3872): Hooks::run('ImportHandleTop...', Object(WikiImporter))
#2 /usr/local/apache/common-local/php-1.22wmf3/includes/Import.php(466): wfRunHooks('ImportHandleTop...', Object(WikiImporter))
#3 /usr/local/apache/common-local/php-1.22wmf3/includes/specials/SpecialImport.php(177): WikiImporter->doImport()
#4 /usr/local/apache/common-local/php-1.22wmf3/includes/specials/SpecialImport.php(85): SpecialImport->doImport()
#5 /usr/local/apache/common-local/php-1.22wmf3/includes/SpecialPage.php(628): SpecialImport->execute(NULL)
#6 /usr/local/apache/common-local/php-1.22wmf3/includes/SpecialPageFactory.php(485): SpecialPage->run(NULL)
#7 /usr/local/apache/common-local/php-1.22wmf3/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#8 /usr/local/apache/common-local/php-1.22wmf3/includes/Wiki.php(565): MediaWiki->performRequest()
#9 /usr/local/apache/common-local/php-1.22wmf3/includes/Wiki.php(458): MediaWiki->main()
#10 /usr/local/apache/common-local/php-1.22wmf3/index.php(59): MediaWiki->run()
#11 /usr/local/apache/common-local/w/index.php(3): require('/usr/local/apac...')
#12 {main}
Comment 2 Alex Monk 2013-05-02 16:31:07 UTC
MaxSem uploaded a fix: Gerrit change #61064
Comment 3 Sam Reed (reedy) 2013-05-02 20:21:34 UTC
Backported and merged

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


Navigation
Links