Last modified: 2014-01-28 18:09:56 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 T62530, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 60530 - Catchable fatal error: Argument 1 passed to Flow\SpamFilter\AbuseFilter::__construct() must be an instance of User, null given, called in extensions/Flow/container.php on line 432 and defined at extensions/Flow/includes/SpamFilter/AbuseFilter.php on line
Catchable fatal error: Argument 1 passed to Flow\SpamFilter\AbuseFilter::__co...
Status: RESOLVED DUPLICATE of bug 60418
Product: MediaWiki extensions
Classification: Unclassified
Flow (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-28 15:26 UTC by Antoine "hashar" Musso (WMF)
Modified: 2014-01-28 18:09 UTC (History)
4 users (show)

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


Attachments

Description Antoine "hashar" Musso (WMF) 2014-01-28 15:26:56 UTC
I have spotted a catchable fatal error for Flow and some part of the code relying on AbuseFilter.  It is triggered by some unknown async job:


[28-Jan-2014 07:03:06] Catchable fatal error: Argument 1 passed to Flow\SpamFilter\AbuseFilter::__construct() must be an instance of User, null given, called in /php-master/extensions/Flow/container.php on line 432 and defined at /php-master/extensions/Flow/includes/SpamFilter/AbuseFilter.php on line 25 Server: deployment-jobrunner08 
URL: http://[unknown-host]
Backtrace:
#0 /php-master/extensions/Flow/includes/SpamFilter/AbuseFilter.php(25): Flow\SpamFilter\AbuseFilter::__construct()
#1 /php-master/extensions/Flow/container.php(432): Flow\SpamFilter\AbuseFilter->__construct(NULL, 'flow')
#2 /php-master/extensions/Flow/vendor/Pimple.php(122): {closure}(Object(Flow\Container))
#3 /php-master/extensions/Flow/vendor/Pimple.php(83): {closure}(Object(Flow\Container))
#4 /php-master/extensions/Flow/includes/Container.php(31): Pimple->offsetGet('controller.abus...')
#5 /php-master/extensions/Flow/Hooks.php(23): Flow\Container::get('controller.abus...')
#6 [internal function]: FlowHooks::initFlowExtension()
#7 /php-master/includes/Setup.php(599): call_user_func('FlowHooks::init...')
#8 /php-master/maintenance/doMaintenance.php(106): require_once('/data/project/a...')
#9 /php-master/maintenance/getConfiguration.php(196): require_once('/data/project/a...')
#10 /multiversion/MWScript.php(97): require_once('/data/project/a...')
#11 {main}


Another entry a second after is:

[28-Jan-2014 07:03:07] Fatal error: /usr/local/apache/common-local/wikiversions.cdb has no version entry for `[93c62b6b] [no req]   Exception from line 544 of /php-master/includes/SiteConfiguration.php: Failed to run getConfiguration.php.
Backtrace:
#0 /php-master/includes/job/JobQueueGroup.php(410): SiteConfiguration->getConfig(string, string)#1 /php-master/includes/job/JobQueueGroup.php(243): JobQueueGroup->getCachedConfigVar(stri at /multiversion/MWMultiVersion.php on line 383
Server: deployment-jobrunner08
URL: http://[unknown-host]
Backtrace:
#0 /multiversion/MWMultiVersion.php(383): trigger_error('/usr/local/apac...', 256)
#1 /multiversion/MWMultiVersion.php(316): MWMultiVersion::error('/usr/local/apac...')
#2 /multiversion/MWMultiVersion.php(338): MWMultiVersion->assertNotMissing()
#3 /multiversion/MWVersion.php(77): MWMultiVersion->getVersion()
#4 /multiversion/MWScript.php(87): getMediaWikiCli('maintenance/run...')
#5 /multiversion/MWScript.php(97): getMWScriptWithArgs()
#6 {main}


That might be the root cause.
Comment 1 Gerrit Notification Bot 2014-01-28 18:07:31 UTC
Change 109927 had a related patch set uploaded by EBernhardson:
Use anonymous user in maintenance scripts

https://gerrit.wikimedia.org/r/109927
Comment 2 Erik Bernhardson 2014-01-28 18:09:56 UTC

*** This bug has been marked as a duplicate of bug 60418 ***

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


Navigation
Links