Page MenuHomePhabricator

Fatal error: Call to a member function userCan() on a non-object in ApiQueryRevisions.php on line 150
Closed, ResolvedPublic

Description

[30-Jan-2014 19:22:03] Fatal error: Call to a member function userCan() on a non-object at /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiQueryRevisions.php on line 150
Server: mw1017
Method: GET
URL: http://test.wikipedia.org/w/api.php?revids=92376&format=json&prop=revisions&maxlag=5&rvdiffto=92373&action=query
Backtrace:
#0 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiQueryRevisions.php(150): ApiQueryRevisions::execute()
#1 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiQuery.php(279): ApiQueryRevisions->execute()
#2 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiMain.php(861): ApiQuery->execute()
#3 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiMain.php(362): ApiMain->executeAction()
#4 /usr/local/apache/common-local/php-1.23wmf12/includes/api/ApiMain.php(333): ApiMain->executeActionWithErrorHandling()
#5 /usr/local/apache/common-local/php-1.23wmf12/api.php(76): ApiMain->execute()
#6 /usr/local/apache/common-local/w/api.php(3): require('/usr/local/apac...')
#7 {main}


Version: unspecified
Severity: normal

Details

Reference
bz60635

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:57 AM
bzimport added a project: MediaWiki-API.
bzimport set Reference to bz60635.
Reedy created this task.Jan 30 2014, 7:26 PM

Change 110430 had a related patch set uploaded by Legoktm:
Fix typo in ApiQueryRevisions

https://gerrit.wikimedia.org/r/110430

Change 110431 had a related patch set uploaded by Reedy:
Fix userCan related fatal

https://gerrit.wikimedia.org/r/110431

Change 110432 had a related patch set uploaded by Anomie:
API: Fix typo in ApiQueryRevisions

https://gerrit.wikimedia.org/r/110432

Change 110431 abandoned by Reedy:
Fix userCan related fatal

Reason:
Legoktm won https://gerrit.wikimedia.org/r/#/c/110430/

https://gerrit.wikimedia.org/r/110431

Change 110432 abandoned by Reedy:
API: Fix typo in ApiQueryRevisions

Reason:
Legoktm won https://gerrit.wikimedia.org/r/#/c/110430/

https://gerrit.wikimedia.org/r/110432

Change 110435 had a related patch set uploaded by Reedy:
Fix typo in ApiQueryRevisions

https://gerrit.wikimedia.org/r/110435

Change 110435 merged by Reedy:
Fix typo in ApiQueryRevisions

https://gerrit.wikimedia.org/r/110435

Change 110430 merged by jenkins-bot:
Fix typo in ApiQueryRevisions

https://gerrit.wikimedia.org/r/110430

Patch merged in master, backported and deployed.

[11:43:16 AM] <+logmsgbot> !log reedy synchronized php-1.23wmf12/includes/api/ApiQueryRevisions.php 'bug 60635'