Last modified: 2013-04-22 16:15:29 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 41496 - EducationProgram: Fatal "Argument passed to ContentHandler::getContentText must implement Content"
EducationProgram: Fatal "Argument passed to ContentHandler::getContentText mu...
Product: MediaWiki extensions
Classification: Unclassified
EducationProgram (Other open bugs)
All All
: Highest critical (vote)
: ---
Assigned To: Jeroen De Dauw
: code-update-regression
Depends on:
  Show dependency treegraph
Reported: 2012-10-29 18:25 UTC by Sage Ross
Modified: 2013-04-22 16:15 UTC (History)
5 users (show)

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


Description Sage Ross 2012-10-29 18:25:58 UTC
When I try to create a new course on (tested at [1] and other pages), I get this error:

PHP fatal error in /usr/local/apache/common-local/php-1.21wmf3/includes/content/ContentHandler.php line 88: 
Argument 1 passed to ContentHandler::getContentText() must implement interface Content, boolean given, called in /usr/local/apache/common-local/php-1.21wmf3/includes/Article.php on line 390 and defined

[1] =
Comment 1 Krinkle 2012-10-29 18:44:44 UTC
(clarifying summary)
Comment 2 Jeroen De Dauw 2012-10-29 19:37:27 UTC
Looks like stuff that broke because of the content handler changes. Will look at this soonish, because it will affect enwiki as well.
Comment 3 Rob Lanphier 2012-10-30 01:24:31 UTC
Weird, how was this not a problem with 1.21wmf2?
Comment 4 Sage Ross 2012-10-30 01:32:53 UTC
Rob, I hadn't done any testing that involved the offending function since 1.21.wmf1 (possibly earlier).
Comment 5 Jeroen De Dauw 2012-10-30 14:24:04 UTC
Comment 6 Jeroen De Dauw 2012-10-30 21:59:07 UTC
New commit:
Comment 7 Sage Ross 2012-11-12 18:27:07 UTC
Jeroen, I see that the commit for this is marked abandoned and that there's a different fix in the works. Can we get some sort of interim fix immediately to make the extension usable? At this point, the live extension on is still broken and we can't trial the extension with the class that volunteered for it this term.
Comment 8 Sage Ross 2012-11-16 17:40:42 UTC
That commit has been restored and deployed, and course page creation works now.

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