Last modified: 2013-05-02 20:21:34 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.
[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}
MaxSem uploaded a fix: Gerrit change #61064
Backported and merged