Last modified: 2013-02-01 15:57:58 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 T45786, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 43786 - Special:StudentActivity gives internal error: "Fatal exception of type MWException"
Special:StudentActivity gives internal error: "Fatal exception of type MWExce...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
master
All All
: Unprioritized major with 1 vote (vote)
: ---
Assigned To: Jeroen De Dauw
:
: 44125 44437 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-01-09 17:10 UTC by Sage Ross
Modified: 2013-02-01 15:57 UTC (History)
8 users (show)

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


Attachments

Description Sage Ross 2013-01-09 17:10:04 UTC
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.
Comment 1 Jeroen De Dauw 2013-01-09 21:22:01 UTC
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
Comment 2 Sage Ross 2013-01-18 21:07:44 UTC
*** Bug 44125 has been marked as a duplicate of this bug. ***
Comment 3 Jeroen De Dauw 2013-01-18 21:38:51 UTC
Mailed robla asking how I can get the needed backtrace
Comment 4 Roan Kattouw 2013-01-18 21:43:26 UTC
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}
Comment 5 Sam Reed (reedy) 2013-01-28 21:57:21 UTC
*** Bug 44437 has been marked as a duplicate of this bug. ***
Comment 6 Sam Reed (reedy) 2013-01-28 21:57:42 UTC
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}
Comment 7 Jeroen De Dauw 2013-01-30 18:04:30 UTC
Double backtrace all the way across the sky! omg

https://gerrit.wikimedia.org/r/#/c/46789/
Comment 8 Alex Monk 2013-02-01 15:57:58 UTC
(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.

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


Navigation
Links