Page MenuHomePhabricator

Catchable fatal error: Argument 1 passed to StringPrefixSearch::titles() must be an array, null given, called PrefixSearch.php on line 149
Closed, ResolvedPublic

Description

[2014-06-26 19:00:56] Catchable fatal error: Argument 1 passed to StringPrefixSearch::titles() must be an array, null given, called in /usr/local/apache/common-local/php-1.24wmf10/includes/PrefixSearch.php on line 149 and defined at /usr/local/apache/common-local/php-1.24wmf10/includes/PrefixSearch.php on line 314
Server: mw1122
Method: GET
URL: http://en.wikipedia.org/w/api.php?action=opensearch&format=json&search=Special%3ALog%2Fdelete%2FStefan2&namespace=0&suggest=
Backtrace:
#0 /usr/local/apache/common-local/php-1.24wmf10/includes/PrefixSearch.php(314): StringPrefixSearch::titles()
#1 /usr/local/apache/common-local/php-1.24wmf10/includes/PrefixSearch.php(149): StringPrefixSearch->titles(NULL)
#2 /usr/local/apache/common-local/php-1.24wmf10/includes/PrefixSearch.php(67): PrefixSearch->searchBackend(Array, 'Log/delete/Stef...', 10)
#3 /usr/local/apache/common-local/php-1.24wmf10/includes/PrefixSearch.php(93): PrefixSearch->search('Special:Log/del...', 10, Array)
#4 /usr/local/apache/common-local/php-1.24wmf10/includes/api/ApiOpenSearch.php(63): PrefixSearch->searchWithVariants('Special:Log/del...', 10, Array)
#5 /usr/local/apache/common-local/php-1.24wmf10/extensions/OpenSearchXml/ApiOpenSearchXml.php(76): ApiOpenSearch->execute()
#6 /usr/local/apache/common-local/php-1.24wmf10/includes/api/ApiMain.php(908): ApiOpenSearchXml->execute()
#7 /usr/local/apache/common-local/php-1.24wmf10/includes/api/ApiMain.php(363): ApiMain->executeAction()
#8 /usr/local/apache/common-local/php-1.24wmf10/includes/api/ApiMain.php(334): ApiMain->executeActionWithErrorHandling()
#9 /usr/local/apache/common-local/php-1.24wmf10/api.php(85): ApiMain->execute()
#10 /usr/local/apache/common-local/w/api.php(3): require('/usr/local/apac...')
#11 {main}


Version: unspecified
Severity: major

Details

Reference
bz67160

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 3:27 AM
bzimport set Reference to bz67160.
Reedy created this task.Jun 26 2014, 7:08 PM

Fixed.

Change-Id: Ie12418e5433642b86dcda425b63a05ac3ff2c29d