Page MenuHomePhabricator

"Title::newFromTitle: $text must be a string" from Linker::formatComment
Closed, ResolvedPublicPRODUCTION ERROR

Description

Looking in logstash for channel:T76305 to find these hits.

Warning: Title::newFromTitle: $text must be a string
from
Linker::commentBlock/Linker::formatComment/Linker::formatLinksInComment/Closure$Linker::formatLinksInComment/Title::newFromText

Note that Title::newFromText already throws for objects and tolerates null. So this must be a primitive non-null, non-string value being passed somehow.

Related Objects

StatusSubtypeAssignedTask
ResolvedPRODUCTION ERRORNikerabbit
ResolvedPRODUCTION ERRORNone

Event Timeline

Krinkle raised the priority of this task from to Medium.
Krinkle updated the task description. (Show Details)
Krinkle added subscribers: Aklapper, Reedy.

This occurs if a link like [[:]] or [[::|foo]] appears in a summary. The value false is being passed to Title::newFromText.

Change 267024 had a related patch set uploaded (by TTO):
Linker: Avoid passing false to Title::newFromText

https://gerrit.wikimedia.org/r/267024

Change 267024 merged by jenkins-bot:
Linker: Avoid passing false to Title::newFromText

https://gerrit.wikimedia.org/r/267024

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:11 PM