Page MenuHomePhabricator

Call to a member function getPrefixedText() on a non-object in PrefixSearch.php
Closed, ResolvedPublic

Description

Seen on twn

[15:44:38] [rakkaus] [20-Oct-2014 14:44:30 UTC] PHP Fatal error: Call to a member function getPrefixedText() on a non-object in /www/translatewiki.net/w/includes/PrefixSearch.php on line 162
[15:50:08] [rakkaus] [20-Oct-2014 14:49:45 UTC] PHP Fatal error: Call to a member function getPrefixedText() on a non-object in /www/translatewiki.net/w/includes/PrefixSearch.php on line 162


Version: unspecified
Severity: normal

Details

Reference
bz72260

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz72260.
Reedy created this task.Oct 20 2014, 3:20 PM
Reedy added a comment.Oct 20 2014, 3:44 PM
			$t = Title::newFromText( $search, $ns );
			$string = $t->getPrefixedText();

	 * @return Title|null Title or null on an error.

I guess newFromText() is returning null...

gerritadmin wrote:

Change 167603 had a related patch set uploaded by Manybubbles:
Fix exception while bubbling titles

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

gerritadmin wrote:

Change 167603 merged by jenkins-bot:
Fix exception while bubbling titles

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

Thanks, I'll reopen if seen again.

gerritadmin wrote:

Change 167982 had a related patch set uploaded by MaxSem:
Fix exception while bubbling titles

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

gerritadmin wrote:

Change 167982 merged by MaxSem:
Fix exception while bubbling titles

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