Page MenuHomePhabricator

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

Description

Warning: Title::newFromTitle: $text must be a string
from
SpecialPageFactory::executePath/SpecialPage::run/UserrightsPage::execute/User::getCanonicalName/Title::newFromText

Looks like it may be passing null.

Event Timeline

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

Yep, occurs when you visit Special:UserRights without specifying a user

Change 221160 had a related patch set uploaded (by Alex Monk):
UserrightsPage: Avoid passing null target

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

Krenair claimed this task.Jun 26 2015, 6:05 PM
Umherirrender closed this task as Resolved.Jun 27 2015, 6:29 PM
Umherirrender added a subscriber: Umherirrender.

Change 221160 merged by jenkins-bot:
UserrightsPage: Avoid passing null target

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