Last modified: 2013-04-22 16:14:59 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 T44509, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 42509 - EducationProgram: Fatal "Call to a member function getId() on a non-object" in EPTimelineGroup.php
EducationProgram: Fatal "Call to a member function getId() on a non-object" i...
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
unspecified
All All
: Highest critical (vote)
: ---
Assigned To: Jeroen De Dauw
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-11-28 16:42 UTC by Sage Ross
Modified: 2013-04-22 16:14 UTC (History)
2 users (show)

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


Attachments

Description Sage Ross 2012-11-28 16:42:51 UTC
Loading Special:MyCourses produces a fatal error:

PHP fatal error in /usr/local/apache/common-local/php-1.21wmf4/extensions/EducationProgram/includes/EPTimelineGroup.php line 365:
Call to a member function getId() on a non-object
Comment 1 Jeroen De Dauw 2012-11-28 16:55:35 UTC
On it.
Comment 2 Jeroen De Dauw 2012-11-28 17:40:49 UTC
https://gerrit.wikimedia.org/r/#/c/35649/
Comment 3 Jeroen De Dauw 2012-11-28 20:16:14 UTC
That's a fix to get rid of the error, something is probably going wrong earlier though, as the user should never be null there.
Comment 4 Sage Ross 2012-11-30 15:02:29 UTC
This error is no longer occurring.

I'm not sure whether the change outside the extension that caused this error got rolled back, or whether the fix got deployed without an update on gerrit.
Comment 5 Jeroen De Dauw 2012-12-08 18:29:08 UTC
The fix has not been deployed I guess, since it has not been merged yet
Comment 6 Sage Ross 2012-12-23 12:00:26 UTC
The error is back now.  We're going to start using the extension soon for new classes, so this bug really needs to get squashed.
Comment 7 Jeroen De Dauw 2012-12-24 07:49:04 UTC
My fix has still not been merged: https://gerrit.wikimedia.org/r/#/c/35649/
Comment 8 Jeroen De Dauw 2012-12-31 19:32:45 UTC
Merged it
Comment 9 Sam Reed (reedy) 2013-01-01 03:09:41 UTC
Just saw this in the error logs, so is still occuring on th site
Comment 10 Andre Klapper 2013-01-05 13:03:29 UTC
(In reply to comment #9)
> Just saw this in the error logs, so is still occuring on th site

Server info welcome, in general. test2? Some other server?

Also see the deployment schedule at https://www.mediawiki.org/wiki/MediaWiki_1.21/Roadmap
Comment 11 Andre Klapper 2013-01-05 13:07:07 UTC
I should probably elaborate on my last comment...

https://gerrit.wikimedia.org/r/#/c/35649/ was merged in time for wmf7. 
wmf7 got deployed to test2 on January 2, see the roadmap link above.
If this still happens on test2.wp there's another bug.
For the deployment of wmf7 on other servers see the roadmap link above.
Comment 12 Sage Ross 2013-01-05 13:19:03 UTC
I cannot currently produce the bug on test2, but I also cannot currently produce it on en.wikipedia.org. I'm not sure what circumstances, exactly, make it happen.

It stopped occurring (for me, at least) soon after I reported it, and did not reappear for a while. Then it started happening again, and then stopped happening a week or so ago.

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


Navigation
Links