https://bugzilla.wikimedia.org/show_bug.cgi?id=60530

       Web browser: ---
            Bug ID: 60530
           Summary: 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
           Product: MediaWiki extensions
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Flow
          Assignee: wikibugs-l@lists.wikimedia.org
          Reporter: has...@free.fr
                CC: ebernhard...@wikimedia.org, oke...@wikimedia.org,
                    pandiculat...@gmail.com, sp...@wikimedia.org
    Classification: Unclassified
   Mobile Platform: ---

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to