Last modified: 2014-05-29 20:27:13 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}
Bug is in EducationProgram, same issue as was reported for SiteMatrix in bug 65537. Gerrit change #136159 (already merged) should fix it.
Fix backported and confirmed.