Page MenuHomePhabricator

Bad value for parameter $s: must be a string
Closed, ResolvedPublic

Description

Error

Request ID: INSERT_ID

message
Bad value for parameter $s: must be a string
trace
#0 /srv/mediawiki/php-1.33.0-wmf.22/languages/Language.php(2845): Wikimedia\Assert\Assert::parameterType(string, boolean, string)
#1 /srv/mediawiki/php-1.33.0-wmf.22/includes/WebRequest.php(394): Language->checkTitleEncoding(boolean)
#2 /srv/mediawiki/php-1.33.0-wmf.22/includes/WebRequest.php(441): WebRequest->getGPCVal(array, string, NULL)
#3 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiMain.php(1774): WebRequest->getVal(string)
#4 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiMain.php(1793): ApiMain->getVal(string, NULL)
#5 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiBase.php(1167): ApiMain->getCheck(string)
#6 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiBase.php(771): ApiBase->getParameterFromSettings(string, array, boolean)
#7 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiQuery.php(246): ApiBase->extractRequestParams()
#8 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiMain.php(1595): ApiQuery->execute()
#9 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiMain.php(500): ApiMain->executeAction()
#10 /srv/mediawiki/php-1.33.0-wmf.22/extensions/TextExtracts/includes/Hooks.php(34): ApiMain->execute()
#11 /srv/mediawiki/php-1.33.0-wmf.22/includes/Hooks.php(174): TextExtracts\Hooks::onApiOpenSearchSuggest(array)
#12 /srv/mediawiki/php-1.33.0-wmf.22/includes/Hooks.php(202): Hooks::callHook(string, array, array, NULL)
#13 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiOpenSearch.php(94): Hooks::run(string, array)
#14 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiMain.php(1595): ApiOpenSearch->execute()
#15 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiMain.php(531): ApiMain->executeAction()
#16 /srv/mediawiki/php-1.33.0-wmf.22/includes/api/ApiMain.php(502): ApiMain->executeActionWithErrorHandling()
#17 /srv/mediawiki/php-1.33.0-wmf.22/api.php(87): ApiMain->execute()
#18 /srv/mediawiki/w/api.php(3): include(string)
#19 {main}

Impact

Notes

Event Timeline

zeljkofilipin triaged this task as Unbreak Now! priority.
Restricted Application added subscribers: Liuxinyu970226, TerraCodes, Aklapper. · View Herald TranscriptMar 21 2019, 1:58 PM

According to Developers/Maintainers, languages/ is owned by Language-Team.

Taking a look at this now!

Change 498098 had a related patch set uploaded (by D3r1ck01; owner: Derick Alangi):
[mediawiki/core@master] languages: Partial revert of I8287118cf8ec01326ead9

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

TheDJ updated the task description. (Show Details)Mar 21 2019, 3:08 PM

Change 498098 merged by jenkins-bot:
[mediawiki/core@master] languages: Partial revert of I8287118cf8ec01326ead9

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

Change 498116 had a related patch set uploaded (by D3r1ck01; owner: Derick Alangi):
[mediawiki/core@wmf/1.33.0-wmf.22] languages: Partial revert of I8287118cf8ec01326ead9

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

Nikerabbit added a subscriber: Nikerabbit.

Thanks for the ping. Looks like this has been taken care of, so I am removing Language-Team.

D3r1ck01 claimed this task.Mar 21 2019, 3:36 PM
D3r1ck01 added a project: User-D3r1ck01.
D3r1ck01 moved this task from Backlog to Reviewed/Resolved on the User-D3r1ck01 board.

Change 498116 merged by jenkins-bot:
[mediawiki/core@wmf/1.33.0-wmf.22] languages: Partial revert of I8287118cf8ec01326ead9

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

Jdforrester-WMF closed this task as Resolved.Mar 21 2019, 6:47 PM