Nov 15 18:34:47 mw1029: #012Notice: Undefined property: stdClass::$newContent in /srv/mediawiki/php-1.25wmf7/includes/page/WikiPage.php on line 2095
Description
Description
Details
Details
- Reference
- bz73474
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Use isset in WikiPage prepareContentForEdit for newContent | mediawiki/core | master | +1 -1 |
Event Timeline
Comment Actions
This makes no sense. The only place that we set mPreparedEdit (other than to false, which is checked in this case) also sets ->newContent on it...
Comment Actions
That said...
krenair@tin:/srv/mediawiki-staging/php-1.25wmf21$ grep "mPreparedEdit =" extensions/* -R extensions/FlaggedRevs/backend/FlaggableWikiPage.php: $this->mPreparedEdit = $page->mPreparedEdit; krenair@tin:/srv/mediawiki-staging/php-1.25wmf21$
Comment Actions
Notice: Undefined property: stdClass::$newContent in /srv/mediawiki/php-1.27.0-wmf.6/includes/page/WikiPage.php on line 2067
Still happen regularly (13x in the last hour).
Comment Actions
Yep, still happening...
Undefined property: stdClass::$newContent in /srv/mediawiki/php-1.27.0-wmf.7/includes/page/WikiPage.php on line 2067
Comment Actions
Change 301636 had a related patch set uploaded (by Addshore):
Use isset in WikiPage prepareContentForEdit for newContent
Comment Actions
Change 301636 merged by jenkins-bot:
Use isset in WikiPage prepareContentForEdit for newContent