Page MenuHomePhabricator

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

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated
FrameLocationCall
from/srv/mediawiki/php-1.44.0-wmf.20/extensions/CentralNotice/includes/CampaignLog.php(34)
#0[internal function]MWExceptionHandler::handleError(int, string, string, int)
#1/srv/mediawiki/php-1.44.0-wmf.20/extensions/CentralNotice/includes/CampaignLog.php(34)explode(string, null)
#2/srv/mediawiki/php-1.44.0-wmf.20/extensions/CentralNotice/includes/CampaignLog.php(50)CampaignLog::{closure}(null)
#3/srv/mediawiki/php-1.44.0-wmf.20/extensions/CentralNotice/includes/CampaignLog.php(58)CampaignLog->{closure}(string, Closure)
#4/srv/mediawiki/php-1.44.0-wmf.20/extensions/CentralNotice/includes/Campaign.php(1777)CampaignLog->__construct(stdClass)
#5/srv/mediawiki/php-1.44.0-wmf.20/extensions/CentralNotice/includes/api/ApiCentralNoticeLogs.php(29)Campaign::campaignLogs(null, null, null, null, int, int)
#6/srv/mediawiki/php-1.44.0-wmf.20/includes/api/ApiQuery.php(728)ApiCentralNoticeLogs->execute()
#7/srv/mediawiki/php-1.44.0-wmf.20/includes/api/ApiMain.php(2005)MediaWiki\Api\ApiQuery->execute()
#8/srv/mediawiki/php-1.44.0-wmf.20/includes/api/ApiMain.php(947)MediaWiki\Api\ApiMain->executeAction()
#9/srv/mediawiki/php-1.44.0-wmf.20/includes/api/ApiMain.php(918)MediaWiki\Api\ApiMain->executeActionWithErrorHandling()
#10/srv/mediawiki/php-1.44.0-wmf.20/includes/api/ApiEntryPoint.php(152)MediaWiki\Api\ApiMain->execute()
#11/srv/mediawiki/php-1.44.0-wmf.20/includes/MediaWikiEntryPoint.php(202)MediaWiki\Api\ApiEntryPoint->execute()
#12/srv/mediawiki/php-1.44.0-wmf.20/api.php(44)MediaWiki\MediaWikiEntryPoint->run()
#13/srv/mediawiki/w/api.php(3)require(string)
#14{main}
Impact
Notes

Details

Request URL
https://wikimania.wikimedia.org/w/api.php?action=query&format=*&list=*
Related Changes in Gerrit:

Related Objects

View Standalone Graph
This task is connected to more than 200 other tasks. Only direct parents and subtasks are shown here. Use View Standalone Graph to show more of the graph.

Event Timeline

Change #1128450 had a related patch set uploaded (by Jforrester; author: Jforrester):

[mediawiki/extensions/CentralNotice@master] CampaignLog: Don't risk passing null into explode()

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

Reedy changed the task status from Open to In Progress.Mar 18 2025, 9:46 PM

Change #1128450 merged by jenkins-bot:

[mediawiki/extensions/CentralNotice@master] CampaignLog: Don't risk passing null into explode()

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

Aklapper renamed this task from PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated to PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated (via CampaignLog).Mar 26 2025, 9:06 AM
Reedy assigned this task to Jdforrester-WMF.