Error
- mwversion: 1.44.0-wmf.13
- reqId: b5bb3bcd-fa04-47ac-b620-d3a81baf1218
- Find reqId in Logstash
[{reqId}] {exception_url} PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated[{reqId}] {exception_url} PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated| Status | Subtype | Assigned | Task | |
|---|---|---|---|---|
| · · · | ||||
| Resolved | None | T379874 ☂ PHP 8.1 issues found during WMF rollout/ramp up | ||
| Resolved | PRODUCTION ERROR | Reedy | T385170 PHP Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated | |
| · · · |
In MathWikibaseInfo:
/** * @return string description */ public function getDescription() { return $this->description; }
This is incorrect, as the description is by default null, and not initialised in the constructor...
Change #1115408 had a related patch set uploaded (by Reedy; author: Reedy):
[mediawiki/extensions/Math@master] SpecialMathWikibase: Null-coalescence getDescription() call
Change #1115408 merged by jenkins-bot:
[mediawiki/extensions/Math@master] SpecialMathWikibase: Null-coalescence getDescription() call
Change #1115512 had a related patch set uploaded (by Reedy; author: Reedy):
[mediawiki/extensions/Math@REL1_43] SpecialMathWikibase: Null-coalescence getDescription() call
Change #1115513 had a related patch set uploaded (by Reedy; author: Reedy):
[mediawiki/extensions/Math@REL1_42] SpecialMathWikibase: Null-coalescence getDescription() call
Change #1115514 had a related patch set uploaded (by Reedy; author: Reedy):
[mediawiki/extensions/Math@REL1_39] SpecialMathWikibase: Null-coalescence getDescription() call
Change #1115514 merged by jenkins-bot:
[mediawiki/extensions/Math@REL1_39] SpecialMathWikibase: Null-coalescence getDescription() call
Change #1115513 merged by jenkins-bot:
[mediawiki/extensions/Math@REL1_42] SpecialMathWikibase: Null-coalescence getDescription() call
Change #1115512 merged by jenkins-bot:
[mediawiki/extensions/Math@REL1_43] SpecialMathWikibase: Null-coalescence getDescription() call
Change #1116784 had a related patch set uploaded (by Reedy; author: Reedy):
[mediawiki/extensions/Math@wmf/1.44.0-wmf.14] SpecialMathWikibase: Null-coalescence getDescription() call
Change #1116784 merged by jenkins-bot:
[mediawiki/extensions/Math@wmf/1.44.0-wmf.14] SpecialMathWikibase: Null-coalescence getDescription() call
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