Page MenuHomePhabricator

PHP Error: Argument 6 passed to EducationProgram\Events\Event::__construct() must be an instance of array, bool given
Closed, ResolvedPublic

Description

2015-08-31 22:05:27 mw1067 fawiki fatal ERROR: [22ee2047] /w/index.php?title=%D9%88%DB%8C%DA%98%D9%87:%D8%AF%D9%88%D8%B1%D9%87%E2%80%8C%D9%87%D8%A7%DB%8C_%D9%85%D9%86&enrolled=5   ErrorException from line 60 of /srv/mediawiki/php-1.26wmf20/extensions/EducationProgram/includes/Events/Event.php: PHP Error: Argument 6 passed to EducationProgram\Events\Event::__construct() must be an instance of array, bool given 

[stacktrace]
#0 /srv/mediawiki/php-1.26wmf20/extensions/EducationProgram/includes/Events/Event.php(60): MWExceptionHandler::handleError(integer, string, string, integer)
#1 /srv/mediawiki/php-1.26wmf20/extensions/EducationProgram/includes/Events/EventStore.php(147): EducationProgram\\Events\\Event->__construct(integer, integer, integer, string, string, boolean)
#2 /srv/mediawiki/php-1.26wmf20/extensions/EducationProgram/includes/Events/EventStore.php(124): EducationProgram\\Events\\EventStore->eventFromDbResult(stdClass)
#3 /srv/mediawiki/php-1.26wmf20/extensions/EducationProgram/includes/specials/SpecialMyCourses.php(200): EducationProgram\\Events\\EventStore->query(EducationProgram\\Events\\EventQuery)
#4 /srv/mediawiki/php-1.26wmf20/includes/cache/CacheHelper.php(295): Closure$EducationProgram\\SpecialMyCourses::displayTimeline(EducationProgram\\Course, RequestContext)
#5 /srv/mediawiki/php-1.26wmf20/includes/specials/SpecialCachedPage.php(148): CacheHelper->getCachedValue(Closure$EducationProgram\\SpecialMyCourses::displayTimeline;1111888110, array, NULL)
#6 /srv/mediawiki/php-1.26wmf20/extensions/EducationProgram/includes/specials/SpecialMyCourses.php(227): SpecialCachedPage->addCachedHTML(Closure$EducationProgram\\SpecialMyCourses::displayTimeline;1111888110, array)
#7 /srv/mediawiki/php-1.26wmf20/extensions/EducationProgram/includes/specials/SpecialMyCourses.php(147): EducationProgram\\SpecialMyCourses->displayTimeline(EducationProgram\\Course)
#8 /srv/mediawiki/php-1.26wmf20/extensions/EducationProgram/includes/specials/SpecialMyCourses.php(63): EducationProgram\\SpecialMyCourses->displayTimelines()
#9 /srv/mediawiki/php-1.26wmf20/includes/specialpage/SpecialPage.php(384): EducationProgram\\SpecialMyCourses->execute(NULL)
#10 /srv/mediawiki/php-1.26wmf20/includes/specialpage/SpecialPageFactory.php(553): SpecialPage->run(NULL)
#11 /srv/mediawiki/php-1.26wmf20/includes/MediaWiki.php(249): SpecialPageFactory::executePath(Title, RequestContext)
#12 /srv/mediawiki/php-1.26wmf20/includes/MediaWiki.php(683): MediaWiki->performRequest()
#13 /srv/mediawiki/php-1.26wmf20/includes/MediaWiki.php(474): MediaWiki->main()
#14 /srv/mediawiki/php-1.26wmf20/index.php(41): MediaWiki->run()
#15 /srv/mediawiki/w/index.php(3): include(string)
#16 {main}

Event Timeline

ori created this task.Aug 31 2015, 11:19 PM
ori raised the priority of this task from to Needs Triage.
ori updated the task description. (Show Details)
ori added a subscriber: ori.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptAug 31 2015, 11:19 PM

Change 235153 had a related patch set uploaded (by Ori.livneh):
Handle non-array serialized event info gracefully

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

Change 235154 had a related patch set uploaded (by Ori.livneh):
Handle non-array serialized event info gracefully

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

Change 235153 merged by jenkins-bot:
Handle non-array serialized event info gracefully

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

Change 235154 merged by jenkins-bot:
Handle non-array serialized event info gracefully

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

ori closed this task as Resolved.Aug 31 2015, 11:41 PM
ori claimed this task.