Page MenuHomePhabricator

"Title::newFromTitle: $text must be a string" from SpecialGlobalRenameProgress
Closed, ResolvedPublic


Warning: Title::newFromTitle: $text must be a string:

	function onSubmit( array $data ) {
		$name = User::getCanonicalName( $data['username'], 'usable' );
		            //\-> Title::newFromText

Looks like username can be unset (and yield null), or otherwise contain a non-string value.

Event Timeline

Krinkle created this task.Jun 26 2015, 2:17 AM
Krinkle raised the priority of this task from to Medium.
Krinkle updated the task description. (Show Details)
Krinkle added a subscriber: Krenair.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJun 26 2015, 2:17 AM
Krenair claimed this task.Jun 26 2015, 6:13 PM

Change 221163 had a related patch set uploaded (by Alex Monk):
Avoid trying to get the canonical username of null

Change 221163 merged by jenkins-bot:
Avoid trying to get the canonical username of null

Krenair closed this task as Resolved.Jun 26 2015, 6:30 PM

Should be fixed now.