Last modified: 2014-05-29 20:27:13 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 T67906, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65906 - Catchable fatal error: Argument 1 passed to ApiQueryBase::__construct() must be an instance of ApiQuery, instance of ApiMain given
Catchable fatal error: Argument 1 passed to ApiQueryBase::__construct() must ...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
master
All All
: Unprioritized normal (vote)
: ---
Assigned To: Brad Jorsch
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-29 18:40 UTC by Sam Reed (reedy)
Modified: 2014-05-29 20:27 UTC (History)
7 users (show)

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


Attachments

Description Sam Reed (reedy) 2014-05-29 18:40:02 UTC
[2014-05-29 18:19:46] Catchable fatal error: Argument 1 passed to ApiQueryBase::__construct() must be an instance of ApiQuery, instance of ApiMain given, called in /usr/local/apache/common-local/php-1.24wmf6/includes/api/ApiModuleManager.php on line 107 and defined at /usr/local/apache/common-local/php-1.24wmf6/includes/api/ApiQueryBase.php on line 43
Server: mw1125
Method: GET
URL: http://en.wikipedia.org/w/api.php
Backtrace:
#0 /usr/local/apache/common-local/php-1.24wmf6/includes/api/ApiQueryBase.php(43): ApiQueryBase::__construct()
#1 /usr/local/apache/common-local/php-1.24wmf6/includes/api/ApiModuleManager.php(107): ApiQueryBase->__construct(Object(ApiMain), 'liststudents')
#2 /usr/local/apache/common-local/php-1.24wmf6/includes/api/ApiMain.php(1292): ApiModuleManager->getModule('liststudents')
#3 /usr/local/apache/common-local/php-1.24wmf6/includes/api/ApiMain.php(1271): ApiMain->reallyMakeHelpMsg()
#4 /usr/local/apache/common-local/php-1.24wmf6/includes/api/ApiMain.php(678): ApiMain->makeHelpMsg()
#5 /usr/local/apache/common-local/php-1.24wmf6/includes/api/ApiMain.php(407): ApiMain->substituteResultWithError(Object(UsageException))
#6 /usr/local/apache/common-local/php-1.24wmf6/includes/api/ApiMain.php(365): ApiMain->handleException(Object(UsageException))
#7 /usr/local/apache/common-local/php-1.24wmf6/includes/api/ApiMain.php(334): ApiMain->executeActionWithErrorHandling()
#8 /usr/local/apache/common-local/php-1.24wmf6/api.php(85): ApiMain->execute()
#9 /usr/local/apache/common-local/w/api.php(3): require('/usr/local/apac...')
#10 {main}
Comment 1 Brad Jorsch 2014-05-29 19:19:46 UTC
Bug is in EducationProgram, same issue as was reported for SiteMatrix in bug 65537.

Gerrit change #136159 (already merged) should fix it.
Comment 2 Brad Jorsch 2014-05-29 20:27:13 UTC
Fix backported and confirmed.

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


Navigation
Links