Page MenuHomePhabricator

Special:StudentActivity gives internal error: "Fatal exception of type MWException"
Closed, ResolvedPublic

Description

On en.wikipedia, going to Special:StudentActivity gives an internal error:

[2aab66b9] 2013-01-09 17:08:15: Fatal exception of type MWException

http://en.wikipedia.org/wiki/Special:StudentActivity

It works fine on test2.


Version: master
Severity: major

Details

Reference
bz43786

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:31 AM
bzimport set Reference to bz43786.

Works fine locally for me as well. Not sure what could be causing this. Would be very helpful if someone could get me the error with backtrace from the log

  • Bug 44125 has been marked as a duplicate of this bug. ***

Mailed robla asking how I can get the needed backtrace

I just triggered the error and captured the following backtrace:

2013-01-18 21:40:47 srv271 enwiki: [1f0bb48b] /wiki/Special:StudentActivity Exception from line 1857 of /usr/local/apache/common-local/php-1.21wmf7/includes/db/Database.php: DatabaseBase::makeList: empty input for field org_id
#0 /usr/local/apache/common-local/php-1.21wmf7/includes/db/Database.php(1459): DatabaseBase->makeList(Array, 1)
#1 /usr/local/apache/common-local/php-1.21wmf7/includes/db/Database.php(1405): DatabaseBase->selectSQLText('ep_orgs', Array, Array, 'ORMTable::rawSe...', Array, Array)
#2 /usr/local/apache/common-local/php-1.21wmf7/includes/db/ORMTable.php(155): DatabaseBase->select('ep_orgs', Array, Array, 'ORMTable::rawSe...', Array)
#3 /usr/local/apache/common-local/php-1.21wmf7/includes/db/ORMTable.php(187): ORMTable->rawSelect(Array, Array, Array, NULL)
#4 /usr/local/apache/common-local/php-1.21wmf7/extensions/EducationProgram/includes/pagers/EPStudentActivityPager.php(234): ORMTable->selectFields(Array, Array)
#5 /usr/local/apache/common-local/php-1.21wmf7/includes/Pager.php(403): EPStudentActivityPager->doBatchLookups()
#6 /usr/local/apache/common-local/php-1.21wmf7/extensions/EducationProgram/includes/specials/SpecialStudentActivity.php(80): IndexPager->getBody()
#7 /usr/local/apache/common-local/php-1.21wmf7/extensions/EducationProgram/includes/specials/SpecialStudentActivity.php(59): SpecialStudentActivity->displayPager(Array, 86400)
#8 [internal function]: SpecialStudentActivity->displayCachedContent()
#9 /usr/local/apache/common-local/php-1.21wmf7/includes/CacheHelper.php(303): call_user_func_array(Array, Array)
#10 /usr/local/apache/common-local/php-1.21wmf7/includes/specials/SpecialCachedPage.php(145): CacheHelper->getCachedValue(Array, Array, NULL)
#11 /usr/local/apache/common-local/php-1.21wmf7/extensions/EducationProgram/includes/specials/SpecialStudentActivity.php(40): SpecialCachedPage->addCachedHTML(Array)
#12 /usr/local/apache/common-local/php-1.21wmf7/includes/SpecialPage.php(613): SpecialStudentActivity->execute(NULL)
#13 /usr/local/apache/common-local/php-1.21wmf7/includes/SpecialPageFactory.php(501): SpecialPage->run(NULL)
#14 /usr/local/apache/common-local/php-1.21wmf7/includes/Wiki.php(291): SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#15 /usr/local/apache/common-local/php-1.21wmf7/includes/Wiki.php(555): MediaWiki->performRequest()
#16 /usr/local/apache/common-local/php-1.21wmf7/includes/Wiki.php(448): MediaWiki->main()
#17 /usr/local/apache/common-local/php-1.21wmf7/index.php(59): MediaWiki->run()
#18 /usr/local/apache/common-local/live-1.5/index.php(3): require('/usr/local/apac...')
#19 {main}

  • Bug 44437 has been marked as a duplicate of this bug. ***

2013-01-28 20:26:06 mw1111 enwiki: [4b4ae253] /wiki/Special:StudentActivity
Exception from line 1857 of
/usr/local/apache/common-local/php-1.21wmf8/includes/db/Database.php:
DatabaseBase::makeList: empty input for field org_id

#0 /usr/local/apache/common-local/php-1.21wmf8/includes/db/Database.php(1459):
DatabaseBase->makeList(Array, 1)
#1 /usr/local/apache/common-local/php-1.21wmf8/includes/db/Database.php(1405):
DatabaseBase->selectSQLText('ep_orgs', Array, Array, 'ORMTable::rawSe...',
Array, Array)
#2 /usr/local/apache/common-local/php-1.21wmf8/includes/db/ORMTable.php(158):
DatabaseBase->select('ep_orgs', Array, Array, 'ORMTable::rawSe...', Array)
#3 /usr/local/apache/common-local/php-1.21wmf8/includes/db/ORMTable.php(212):
ORMTable->rawSelect(Array, Array, Array, NULL)
#4
/usr/local/apache/common-local/php-1.21wmf8/extensions/EducationProgram/includes/pagers/EPStudentActivityPager.php(234):
ORMTable->selectFields(Array, Array)
#5 /usr/local/apache/common-local/php-1.21wmf8/includes/Pager.php(403):
EPStudentActivityPager->doBatchLookups()
#6
/usr/local/apache/common-local/php-1.21wmf8/extensions/EducationProgram/includes/specials/SpecialStudentActivity.php(80):
IndexPager->getBody()
#7
/usr/local/apache/common-local/php-1.21wmf8/extensions/EducationProgram/includes/specials/SpecialStudentActivity.php(59):
SpecialStudentActivity->displayPager(Array$
#8 [internal function]: SpecialStudentActivity->displayCachedContent()
#9 /usr/local/apache/common-local/php-1.21wmf8/includes/CacheHelper.php(303):
call_user_func_array(Array, Array)
#10
/usr/local/apache/common-local/php-1.21wmf8/includes/specials/SpecialCachedPage.php(145):
CacheHelper->getCachedValue(Array, Array, NULL)
#11
/usr/local/apache/common-local/php-1.21wmf8/extensions/EducationProgram/includes/specials/SpecialStudentActivity.php(40):
SpecialCachedPage->addCachedHTML(Array)
#12 /usr/local/apache/common-local/php-1.21wmf8/includes/SpecialPage.php(613):
SpecialStudentActivity->execute(NULL)
#13
/usr/local/apache/common-local/php-1.21wmf8/includes/SpecialPageFactory.php(499):
SpecialPage->run(NULL)
#14 /usr/local/apache/common-local/php-1.21wmf8/includes/Wiki.php(291):
SpecialPageFactory::executePath(Object(Title), Object(RequestContext))
#15 /usr/local/apache/common-local/php-1.21wmf8/includes/Wiki.php(565):
MediaWiki->performRequest()
#16 /usr/local/apache/common-local/php-1.21wmf8/includes/Wiki.php(458):
MediaWiki->main()
#17 /usr/local/apache/common-local/php-1.21wmf8/index.php(59): MediaWiki->run()
#18 /usr/local/apache/common-local/live-1.5/index.php(3):
require('/usr/local/apac...')
#19 {main}

(In reply to comment #7)

Double backtrace all the way across the sky! omg

https://gerrit.wikimedia.org/r/#/c/46789/

Merged by Chris Steipp on the 30th.