Last modified: 2009-03-09 13:24:25 UTC
I get the following warning/notice: Notice: Trying to get property of non-object in F:\xampp\htdocs\wiki2\extensions\AbuseFilter\AbuseFilterVariableHolder.php on line 47 Warning: array_merge() [function.array-merge]: Argument #2 is not an array in F:\xampp\htdocs\wiki2\extensions\AbuseFilter\AbuseFilterVariableHolder.php on line 47 Filter rule: "Foo" in summary
It's a matter of the edit, not the filter, which is causing this error. I've added some debugging code in r48100 which will help diagnose this issue. Thanks for the report.
Short summary after some tests: I seems that page moves with [redirect suppressed] results to this error. -------------------------------------------------------------------- The contributions of my testwiki: http://rafb.net/p/Z1flVy17.html --------------------------------------------------------------------- I modified the debug code a bit: function addHolder( $addHolder ) { if ( !is_object($addHolder) ) { var_dump($addHolder, $this->mVars); throw new MWException( "Invalid argument to AbuseFilterVariableHolder::addHolder: ". $addHolder . '/' . $this->mVars ); --------------------------------------------------------------------- Output of var_dump: http://rafb.net/p/TVG5gT22.html --------------------------------------------------------------------- Output of the debug code: Invalid argument to AbuseFilterVariableHolder::addHolder: Array/Array Backtrace: #0 F:\xampp\htdocs\wiki2\extensions\AbuseFilter\AbuseFilterVariableHolder.php(40): AbuseFilterVariableHolder->addHolder(Array) #1 F:\xampp\htdocs\wiki2\extensions\AbuseFilter\AbuseFilter.class.php(1164): AbuseFilterVariableHolder::merge(Object(AbuseFilterVariableHolder), Object(AbuseFilterVariableHolder), Object(AbuseFilterVariableHolder), Array) #2 F:\xampp\htdocs\wiki2\extensions\AbuseFilter\AbuseFilter.class.php(1098): AbuseFilter::getMoveVarsFromRCRow(Object(stdClass)) #3 F:\xampp\htdocs\wiki2\extensions\AbuseFilter\Views\AbuseFilterViewTestBatch.php(100): AbuseFilter::getVarsFromRCRow(Object(stdClass)) #4 F:\xampp\htdocs\wiki2\extensions\AbuseFilter\Views\AbuseFilterViewTestBatch.php(66): AbuseFilterViewTestBatch->doTest() #5 F:\xampp\htdocs\wiki2\extensions\AbuseFilter\SpecialAbuseFilter.php(83): AbuseFilterViewTestBatch->show() #6 F:\xampp\htdocs\wiki2\includes\SpecialPage.php(559): SpecialAbuseFilter->execute('test') #7 F:\xampp\htdocs\wiki2\includes\Wiki.php(229): SpecialPage::executePath(Object(Title)) #8 F:\xampp\htdocs\wiki2\includes\Wiki.php(59): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest)) #9 F:\xampp\htdocs\wiki2\index.php(114): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest)) #10 {main}
Should be sorted out by r48224.