Page MenuHomePhabricator

PHP Fatal error: Call to a member function getText() on a non-object in PrefixSearch.php on line 177
Closed, ResolvedPublic

Description

PHP Fatal error: Call to a member function getText() on a non-object in /usr/local/apache/common-local/php-1.24wmf19/includes/PrefixSearch.php on line 177


Version: unspecified
Severity: normal

Details

Reference
bz70409

Event Timeline

bzimport raised the priority of this task from to Needs Triage.
bzimport set Reference to bz70409.
Reedy created this task.Sep 4 2014, 6:45 PM
Reedy added a comment.Sep 4 2014, 6:50 PM
$specialTitle = Title::makeTitleSafe( NS_SPECIAL, $searchKey );
$special = SpecialPageFactory::getPage( $specialTitle->getText() );

makeTitleSafe can return null

gerritadmin wrote:

Change 158436 had a related patch set uploaded by Manybubbles:
Be more careful with Special: prefix searching

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

gerritadmin wrote:

Change 158436 merged by jenkins-bot:
Be more careful with Special: prefix searching

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