Error
- mwversion: 1.44.0-wmf.14
- reqId: 51ec0901-80a3-447f-bb3d-42dfd54dc2c5
- Find reqId in Logstash
[{reqId}] {exception_url} PHP Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated[{reqId}] {exception_url} PHP Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated| Status | Subtype | Assigned | Task | |
|---|---|---|---|---|
| · · · | ||||
| Resolved | None | T379874 ☂ PHP 8.1 issues found during WMF rollout/ramp up | ||
| Resolved | PRODUCTION ERROR | Reedy | T385267 PHP Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated | |
| · · · |
$sourceLanguage = $params['from']; $targetLanguage = $params['to'];
Both params are not required, and use a default of null...
'from' => [ ParamValidator::PARAM_TYPE => 'string', ParamValidator::PARAM_REQUIRED => false, ], 'to' => [ ParamValidator::PARAM_TYPE => 'string', ParamValidator::PARAM_REQUIRED => false, ],
Change #1115843 had a related patch set uploaded (by Reedy; author: Reedy):
[mediawiki/extensions/ContentTranslation@master] ApiQueryContentTranslationSuggestions: Set default value for to and from parameters
Change #1115843 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@master] ApiQueryContentTranslationSuggestions: Set default value for to and from parameters
Change #1115864 had a related patch set uploaded (by Reedy; author: Reedy):
[mediawiki/extensions/ContentTranslation@REL1_43] ApiQueryContentTranslationSuggestions: Set default value for to and from parameters
Change #1115864 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@REL1_43] ApiQueryContentTranslationSuggestions: Set default value for to and from parameters
Change #1116788 had a related patch set uploaded (by Reedy; author: Reedy):
[mediawiki/extensions/ContentTranslation@wmf/1.44.0-wmf.14] ApiQueryContentTranslationSuggestions: Set default value for to and from parameters
Change #1116788 merged by jenkins-bot:
[mediawiki/extensions/ContentTranslation@wmf/1.44.0-wmf.14] ApiQueryContentTranslationSuggestions: Set default value for to and from parameters
Mentioned in SAL (#wikimedia-operations) [2025-02-03T13:27:08Z] <reedy@deploy2002> Started scap sync-world: Backport for [[gerrit:1116783|Add missing array_values for PHP 7 compatibility (T385255)]], [[gerrit:1116784|SpecialMathWikibase: Null-coalescence getDescription() call (T385170)]], [[gerrit:1116785|SpecialMathWikibase: Null-coalescence $par (T385269)]], [[gerrit:1116788|ApiQueryContentTranslationSuggestions: Set default value for to and from parameters (T385267)]]
Mentioned in SAL (#wikimedia-operations) [2025-02-03T13:34:08Z] <reedy@deploy2002> reedy: Backport for [[gerrit:1116783|Add missing array_values for PHP 7 compatibility (T385255)]], [[gerrit:1116784|SpecialMathWikibase: Null-coalescence getDescription() call (T385170)]], [[gerrit:1116785|SpecialMathWikibase: Null-coalescence $par (T385269)]], [[gerrit:1116788|ApiQueryContentTranslationSuggestions: Set default value for to and from parameters (T385267)]] synced to the testservers (h
Mentioned in SAL (#wikimedia-operations) [2025-02-03T13:43:52Z] <reedy@deploy2002> Finished scap sync-world: Backport for [[gerrit:1116783|Add missing array_values for PHP 7 compatibility (T385255)]], [[gerrit:1116784|SpecialMathWikibase: Null-coalescence getDescription() call (T385170)]], [[gerrit:1116785|SpecialMathWikibase: Null-coalescence $par (T385269)]], [[gerrit:1116788|ApiQueryContentTranslationSuggestions: Set default value for to and from parameters (T385267)]] (duration