Page MenuHomePhabricator

Call to a member function getText() on a non-object in includes/Article.php on line 4572
Closed, ResolvedPublic

Description

if ( $parserOutput === false ) {

			// Cache miss; parse and output it.
			$rev = Revision::newFromTitle( $this->getTitle(), $oldid );

			return $this->getOutputFromWikitext( $rev->getText(), $useParserCache );
		} else {
			return $parserOutput;
		}

$rev isn't checked to be defined. Seemingly LQT related..

-rakkaus/#mediawiki-i18n- [27-Feb-2011 15:25:03] PHP Fatal error: Call to a member function getText() on a non-object in /www/w/includes/Article.php on line 4572


Version: unspecified
Severity: normal

Details

Reference
bz27763

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:27 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz27763.
bzimport added a subscriber: Unknown Object (MLST).