Page MenuHomePhabricator

PHP Deprecated: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Deprecated: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated
FrameLocationCall
from/srv/mediawiki/php-1.44.0-wmf.13/includes/preferences/MultiUsernameFilter.php(79)
#0[internal function]MWExceptionHandler::handleError(int, string, string, int)
#1/srv/mediawiki/php-1.44.0-wmf.13/includes/preferences/MultiUsernameFilter.php(79)preg_split(string, null, int, int)
#2/srv/mediawiki/php-1.44.0-wmf.13/extensions/Echo/includes/Hooks.php(1517)MediaWiki\Preferences\MultiUsernameFilter::splitIds(null)
#3/srv/mediawiki/php-1.44.0-wmf.13/includes/HookContainer/HookContainer.php(155)MediaWiki\Extension\Notifications\Hooks->onSpecialMuteModifyFormFields(MediaWiki\User\User, MediaWiki\User\User, array)
#4/srv/mediawiki/php-1.44.0-wmf.13/includes/HookContainer/HookRunner.php(3758)MediaWiki\HookContainer\HookContainer->run(string, array)
#5/srv/mediawiki/php-1.44.0-wmf.13/includes/specials/SpecialMute.php(227)MediaWiki\HookContainer\HookRunner->onSpecialMuteModifyFormFields(MediaWiki\User\User, MediaWiki\User\User, array)
#6/srv/mediawiki/php-1.44.0-wmf.13/includes/specialpage/FormSpecialPage.php(149)MediaWiki\Specials\SpecialMute->getFormFields()
#7/srv/mediawiki/php-1.44.0-wmf.13/includes/specials/SpecialMute.php(185)MediaWiki\SpecialPage\FormSpecialPage->getForm()
#8/srv/mediawiki/php-1.44.0-wmf.13/includes/specialpage/FormSpecialPage.php(237)MediaWiki\Specials\SpecialMute->getForm()
#9/srv/mediawiki/php-1.44.0-wmf.13/includes/specials/SpecialMute.php(87)MediaWiki\SpecialPage\FormSpecialPage->execute(string)
#10/srv/mediawiki/php-1.44.0-wmf.13/includes/specialpage/SpecialPage.php(729)MediaWiki\Specials\SpecialMute->execute(string)
#11/srv/mediawiki/php-1.44.0-wmf.13/includes/specialpage/SpecialPageFactory.php(1735)MediaWiki\SpecialPage\SpecialPage->run(string)
#12/srv/mediawiki/php-1.44.0-wmf.13/includes/actions/ActionEntryPoint.php(503)MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext)
#13/srv/mediawiki/php-1.44.0-wmf.13/includes/actions/ActionEntryPoint.php(145)MediaWiki\Actions\ActionEntryPoint->performRequest()
#14/srv/mediawiki/php-1.44.0-wmf.13/includes/MediaWikiEntryPoint.php(202)MediaWiki\Actions\ActionEntryPoint->execute()
#15/srv/mediawiki/php-1.44.0-wmf.13/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#16/srv/mediawiki/w/index.php(3)require(string)
#17{main}
Impact
Notes

Related Objects

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald Transcript

Change #1115409 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@master] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Change #1115419 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Echo@master] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Change #1115409 merged by jenkins-bot:

[mediawiki/core@master] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Change #1115426 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_43] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Change #1115427 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_42] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Change #1115428 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@REL1_39] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Change #1115429 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@wmf/1.44.0-wmf.13] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Change #1115430 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/core@wmf/1.44.0-wmf.14] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Change #1115429 merged by jenkins-bot:

[mediawiki/core@wmf/1.44.0-wmf.13] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Change #1115430 merged by jenkins-bot:

[mediawiki/core@wmf/1.44.0-wmf.14] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Mentioned in SAL (#wikimedia-operations) [2025-01-30T15:43:22Z] <reedy@deploy2002> Started scap sync-world: Backport for [[gerrit:1115396|FancyCaptcha: Return early in passCaptcha in numerous cases (T384858)]], [[gerrit:1115395|FancyCaptcha: Return early in passCaptcha in numerous cases (T384858)]], [[gerrit:1115429|MultiUsernameFilter: Don't try to split ids if they're not a string (T385169)]], [[gerrit:1115430|MultiUsernameFilter: Don't try to split ids if they're not a string (T

Mentioned in SAL (#wikimedia-operations) [2025-01-30T15:46:19Z] <reedy@deploy2002> reedy: Backport for [[gerrit:1115396|FancyCaptcha: Return early in passCaptcha in numerous cases (T384858)]], [[gerrit:1115395|FancyCaptcha: Return early in passCaptcha in numerous cases (T384858)]], [[gerrit:1115429|MultiUsernameFilter: Don't try to split ids if they're not a string (T385169)]], [[gerrit:1115430|MultiUsernameFilter: Don't try to split ids if they're not a string (T385169)]], [[gerri

Mentioned in SAL (#wikimedia-operations) [2025-01-30T15:52:53Z] <reedy@deploy2002> Finished scap sync-world: Backport for [[gerrit:1115396|FancyCaptcha: Return early in passCaptcha in numerous cases (T384858)]], [[gerrit:1115395|FancyCaptcha: Return early in passCaptcha in numerous cases (T384858)]], [[gerrit:1115429|MultiUsernameFilter: Don't try to split ids if they're not a string (T385169)]], [[gerrit:1115430|MultiUsernameFilter: Don't try to split ids if they're not a string (

Change #1115428 merged by jenkins-bot:

[mediawiki/core@REL1_39] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Change #1115427 merged by jenkins-bot:

[mediawiki/core@REL1_42] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Change #1115426 merged by jenkins-bot:

[mediawiki/core@REL1_43] MultiUsernameFilter: Don't try to split ids if they're not a string

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

Reedy changed the task status from Open to In Progress.Jan 31 2025, 1:07 PM

Looks like this may not be fixed yet...

Error
normalized_message
[{reqId}] {exception_url}   PHP Deprecated: preg_split(): Passing null to parameter #2 ($subject) of type string is deprecated
FrameLocationCall
from/srv/mediawiki/php-1.44.0-wmf.14/includes/preferences/MultiUsernameFilter.php(79)
#0[internal function]MWExceptionHandler::handleError(int, string, string, int)
#1/srv/mediawiki/php-1.44.0-wmf.14/includes/preferences/MultiUsernameFilter.php(79)preg_split(string, null, int, int)
#2/srv/mediawiki/php-1.44.0-wmf.14/extensions/Echo/includes/Hooks.php(1517)MediaWiki\Preferences\MultiUsernameFilter::splitIds(null)
#3/srv/mediawiki/php-1.44.0-wmf.14/includes/HookContainer/HookContainer.php(155)MediaWiki\Extension\Notifications\Hooks->onSpecialMuteModifyFormFields(MediaWiki\User\User, MediaWiki\User\User, array)
#4/srv/mediawiki/php-1.44.0-wmf.14/includes/HookContainer/HookRunner.php(3758)MediaWiki\HookContainer\HookContainer->run(string, array)
#5/srv/mediawiki/php-1.44.0-wmf.14/includes/specials/SpecialMute.php(227)MediaWiki\HookContainer\HookRunner->onSpecialMuteModifyFormFields(MediaWiki\User\User, MediaWiki\User\User, array)
#6/srv/mediawiki/php-1.44.0-wmf.14/includes/specialpage/FormSpecialPage.php(149)MediaWiki\Specials\SpecialMute->getFormFields()
#7/srv/mediawiki/php-1.44.0-wmf.14/includes/specials/SpecialMute.php(185)MediaWiki\SpecialPage\FormSpecialPage->getForm()
#8/srv/mediawiki/php-1.44.0-wmf.14/includes/specialpage/FormSpecialPage.php(237)MediaWiki\Specials\SpecialMute->getForm()
#9/srv/mediawiki/php-1.44.0-wmf.14/includes/specials/SpecialMute.php(87)MediaWiki\SpecialPage\FormSpecialPage->execute(string)
#10/srv/mediawiki/php-1.44.0-wmf.14/includes/specialpage/SpecialPage.php(729)MediaWiki\Specials\SpecialMute->execute(string)
#11/srv/mediawiki/php-1.44.0-wmf.14/includes/specialpage/SpecialPageFactory.php(1735)MediaWiki\SpecialPage\SpecialPage->run(string)
#12/srv/mediawiki/php-1.44.0-wmf.14/includes/actions/ActionEntryPoint.php(503)MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext)
#13/srv/mediawiki/php-1.44.0-wmf.14/includes/actions/ActionEntryPoint.php(145)MediaWiki\Actions\ActionEntryPoint->performRequest()
#14/srv/mediawiki/php-1.44.0-wmf.14/includes/MediaWikiEntryPoint.php(202)MediaWiki\Actions\ActionEntryPoint->execute()
#15/srv/mediawiki/php-1.44.0-wmf.14/index.php(58)MediaWiki\MediaWikiEntryPoint->run()
#16/srv/mediawiki/w/index.php(3)require(string)
#17{main}
Impact
Notes

Change #1115419 merged by jenkins-bot:

[mediawiki/extensions/Echo@master] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Change #1117166 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Echo@REL1_43] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Change #1117167 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Echo@REL1_42] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Change #1117168 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Echo@REL1_39] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Change #1117169 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Echo@wmf/1.44.0-wmf.14] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Change #1117170 had a related patch set uploaded (by Reedy; author: Reedy):

[mediawiki/extensions/Echo@wmf/1.44.0-wmf.15] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Change #1117167 merged by jenkins-bot:

[mediawiki/extensions/Echo@REL1_42] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Change #1117166 merged by jenkins-bot:

[mediawiki/extensions/Echo@REL1_43] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Change #1117168 merged by jenkins-bot:

[mediawiki/extensions/Echo@REL1_39] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Reedy claimed this task.

Change #1117169 merged by jenkins-bot:

[mediawiki/extensions/Echo@wmf/1.44.0-wmf.14] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Change #1117170 merged by jenkins-bot:

[mediawiki/extensions/Echo@wmf/1.44.0-wmf.15] Hooks: Check for null option in onSpecialMuteModifyFormFields

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

Mentioned in SAL (#wikimedia-operations) [2025-02-04T16:03:06Z] <reedy@deploy2002> Started scap sync-world: Backport for [[gerrit:1117210|Poem: Null coalescence $in (T385588)]], [[gerrit:1117211|Poem: Null coalescence $in (T385588)]], [[gerrit:1117169|Hooks: Check for null option in onSpecialMuteModifyFormFields (T385169)]], [[gerrit:rOPUP11171708a965|Hooks: Check for null option in onSpecialMuteModifyFormFields (T385169)]]

Mentioned in SAL (#wikimedia-operations) [2025-02-04T16:06:21Z] <reedy@deploy2002> reedy: Backport for [[gerrit:1117210|Poem: Null coalescence $in (T385588)]], [[gerrit:1117211|Poem: Null coalescence $in (T385588)]], [[gerrit:1117169|Hooks: Check for null option in onSpecialMuteModifyFormFields (T385169)]], [[gerrit:rOPUP11171708a965|Hooks: Check for null option in onSpecialMuteModifyFormFields (T385169)]] synced to the testservers (https://wikitech.wikimedia.org/wiki/Mwdebug)

Mentioned in SAL (#wikimedia-operations) [2025-02-04T16:12:57Z] <reedy@deploy2002> Finished scap sync-world: Backport for [[gerrit:1117210|Poem: Null coalescence $in (T385588)]], [[gerrit:1117211|Poem: Null coalescence $in (T385588)]], [[gerrit:1117169|Hooks: Check for null option in onSpecialMuteModifyFormFields (T385169)]], [[gerrit:rOPUP11171708a965|Hooks: Check for null option in onSpecialMuteModifyFormFields (T385169)]] (duration: 09m 50s)