Last modified: 2014-09-04 20:54:17 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 T72394, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 70394 - Fatal error: MWOAuthSetup::defineSourcePaths() must be of the type array
Fatal error: MWOAuthSetup::defineSourcePaths() must be of the type array
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
OAuth (Other open bugs)
REL1_22-branch
All All
: Normal normal (vote)
: ---
Assigned To: Chris Steipp
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-09-04 10:46 UTC by Inixi Noisse
Modified: 2014-09-04 20:54 UTC (History)
3 users (show)

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


Attachments

Description Inixi Noisse 2014-09-04 10:46:50 UTC
When performing update on Mediawiki with maintenance/update.php this error occurs:

PHP Catchable fatal error:  Argument 3 passed to MWOAuthSetup::defineSourcePaths() must be of the type array, null given, called in /var/www/testwiki/extensions/OAuth/OAuth.php on line 41 and defined in /var/www/testwiki/extensions/OAuth/OAuth.setup.php on line 17

Error occured when performing installation steps from this instruction:
http://www.mediawiki.org/wiki/Extension:OAuth
When I am at point "Run the update script which will automatically create the necessary database tables that this extension needs." this error occurs.
Comment 1 Inixi Noisse 2014-09-04 10:49:03 UTC
(In reply to Inixi Noisse from comment #0)
> When performing update on Mediawiki with maintenance/update.php this error
> occurs:
> 
> PHP Catchable fatal error:  Argument 3 passed to
> MWOAuthSetup::defineSourcePaths() must be of the type array, null given,
> called in /var/www/testwiki/extensions/OAuth/OAuth.php on line 41 and
> defined in /var/www/testwiki/extensions/OAuth/OAuth.setup.php on line 17
> 
> Error occured when performing installation steps from this instruction:
> http://www.mediawiki.org/wiki/Extension:OAuth
> When I am at point "Run the update script which will automatically create
> the necessary database tables that this extension needs." this error occurs.

One more thing - I am using Mediawiki version 1.22.7 and I also downloaded Oauth extension version OAuth-REL1_22-e656044
Comment 2 Chris Steipp 2014-09-04 15:41:50 UTC
I'm able to reproduce it. The problem is wgRedactedFunctionArguments, which was removed at some point.

I'll put a patch in for REL1_22 to fix that.
Comment 3 Gerrit Notification Bot 2014-09-04 15:45:11 UTC
Change 158398 had a related patch set uploaded by CSteipp:
Remove wgRedactedFunctionArguments handling

https://gerrit.wikimedia.org/r/158398
Comment 4 Gerrit Notification Bot 2014-09-04 15:46:32 UTC
Change 158398 abandoned by CSteipp:
Remove wgRedactedFunctionArguments handling

Reason:
not master

https://gerrit.wikimedia.org/r/158398
Comment 5 Gerrit Notification Bot 2014-09-04 15:51:41 UTC
Change 158402 had a related patch set uploaded by CSteipp:
Remove wgRedactedFunctionArguments handling

https://gerrit.wikimedia.org/r/158402
Comment 6 Gerrit Notification Bot 2014-09-04 17:13:14 UTC
Change 158402 merged by jenkins-bot:
Remove wgRedactedFunctionArguments handling

https://gerrit.wikimedia.org/r/158402
Comment 7 Chris Steipp 2014-09-04 20:54:17 UTC
Inixi, if you pull the most recent version of the 1_22 branch of the OAuth extension, things should work now. Feel free to reopen this if you're still seeing the issue.

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


Navigation
Links