Page MenuHomePhabricator

Got "TypeError" when searching with prefix: in the Spanish Wikipedia
Closed, DuplicatePublicPRODUCTION ERROR

Description

Steps to Reproduce:

Search with prefix in the search field. Eg.

Código prefix:Categoría:

Expected Results:

The search results

Actual Results:

[XLToBQpAIC4AAJLpIcEAAACX] 2019-04-15 20:22:29: Excepción grave de tipo "TypeError"

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptApr 15 2019, 8:34 PM
matmarex added a subscriber: matmarex.

Error backtrace:

Argument 1 passed to Elastica\Exception\ResponseException::__construct() must be an instance of Elastica\Request, null given, called in /srv/mediawiki/php-1.33.0-wmf.25/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php on line 204

#0 /srv/mediawiki/php-1.33.0-wmf.25/extensions/CirrusSearch/includes/ElasticsearchIntermediary.php(204): Elastica\Exception\ResponseException->__construct(NULL, Elastica\Response)
#1 /srv/mediawiki/php-1.33.0-wmf.25/extensions/CirrusSearch/includes/Searcher.php(564): CirrusSearch\ElasticsearchIntermediary->multiFailure(Elastica\Multi\ResultSet)
#2 /srv/mediawiki/php-1.33.0-wmf.25/extensions/CirrusSearch/includes/Util.php(120): CirrusSearch\Searcher->CirrusSearch\{closure}()
#3 /srv/mediawiki/php-1.33.0-wmf.25/includes/poolcounter/PoolCounterWorkViaCallback.php(69): CirrusSearch\Util::CirrusSearch\{closure}()
#4 /srv/mediawiki/php-1.33.0-wmf.25/includes/poolcounter/PoolCounterWork.php(123): PoolCounterWorkViaCallback->doWork()
#5 /srv/mediawiki/php-1.33.0-wmf.25/extensions/CirrusSearch/includes/Util.php(178): PoolCounterWork->execute()
#6 /srv/mediawiki/php-1.33.0-wmf.25/extensions/CirrusSearch/includes/Searcher.php(573): CirrusSearch\Util::doPoolCounterWork(string, User, Closure, NULL)
#7 /srv/mediawiki/php-1.33.0-wmf.25/extensions/CirrusSearch/includes/Searcher.php(631): CirrusSearch\Searcher->CirrusSearch\{closure}()
#8 /srv/mediawiki/php-1.33.0-wmf.25/extensions/CirrusSearch/includes/InterwikiSearcher.php(93): CirrusSearch\Searcher->searchMulti(array)
#9 /srv/mediawiki/php-1.33.0-wmf.25/extensions/CirrusSearch/includes/CirrusSearch.php(233): CirrusSearch\InterwikiSearcher->getInterwikiResults(CirrusSearch\Search\SearchQuery)
#10 /srv/mediawiki/php-1.33.0-wmf.25/extensions/CirrusSearch/includes/CirrusSearch.php(188): CirrusSearch->searchTextReal(CirrusSearch\Search\SearchQuery)
#11 /srv/mediawiki/php-1.33.0-wmf.25/includes/search/SearchEngine.php(83): CirrusSearch->doSearchText(string)
#12 /srv/mediawiki/php-1.33.0-wmf.25/includes/search/SearchEngine.php(169): SearchEngine->{closure}()
#13 /srv/mediawiki/php-1.33.0-wmf.25/includes/search/SearchEngine.php(84): SearchEngine->maybePaginate(Closure)
#14 /srv/mediawiki/php-1.33.0-wmf.25/includes/specials/SpecialSearch.php(348): SearchEngine->searchText(string)
#15 /srv/mediawiki/php-1.33.0-wmf.25/includes/specials/SpecialSearch.php(173): SpecialSearch->showResults(string)
#16 /srv/mediawiki/php-1.33.0-wmf.25/includes/specialpage/SpecialPage.php(569): SpecialSearch->execute(NULL)
#17 /srv/mediawiki/php-1.33.0-wmf.25/includes/specialpage/SpecialPageFactory.php(558): SpecialPage->run(NULL)
#18 /srv/mediawiki/php-1.33.0-wmf.25/includes/MediaWiki.php(288): MediaWiki\Special\SpecialPageFactory->executePath(Title, RequestContext)
#19 /srv/mediawiki/php-1.33.0-wmf.25/includes/MediaWiki.php(865): MediaWiki->performRequest()
#20 /srv/mediawiki/php-1.33.0-wmf.25/includes/MediaWiki.php(515): MediaWiki->main()
#21 /srv/mediawiki/php-1.33.0-wmf.25/index.php(42): MediaWiki->run()
#22 /srv/mediawiki/w/index.php(3): require(string)
#23 {main}
Restricted Application added a project: Discovery-Search. · View Herald TranscriptApr 15 2019, 10:53 PM
mmodell changed the subtype of this task from "Bug Report" to "Production Error".Aug 28 2019, 11:07 PM