Page MenuHomePhabricator

"Title::newFromTitle: $text must be a string" from Parser
Closed, DuplicatePublic

Description

Warning: Title::newFromTitle: $text must be a string
from
Parser::parse/Parser::internalParse/Parser::replaceInternalLinks/Parser::replaceInternalLinks2/Title::newFromText

	public function replaceInternalLinks2( &$s ) {
..
			$nt = Title::newFromText( $this->mStripState->unstripNoWiki( $link ) );
..

Looks like StripState::unstripNoWiki can return non-string values.

This is the highest trending warning from the T76305 channel. Has over 23 500 hits in the past 24 hours (~16 hits per minute on average).

Event Timeline

Krinkle created this task.Jun 26 2015, 2:23 AM
Krinkle raised the priority of this task from to Medium.
Krinkle updated the task description. (Show Details)
Krinkle added subscribers: demon, Krinkle, aude and 5 others.