Page MenuHomePhabricator

PHP Deprecated: explode(): Passing null to parameter #2 ($string) of type string is deprecated
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
  • service.version: 1.46.0-wmf.2
  • timestamp: 2025-11-20T15:29:53.824Z
  • labels.phpversion: 8.3.26
  • trace.id: bdb536a8-878d-4949-833b-3466fdf2749d
  • Find trace.id in Logstash
labels.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.46.0-wmf.2/includes/libs/StringUtils/StringUtils.php(321)
#0[internal function]MediaWiki\Exception\MWExceptionHandler::handleError(int, string, string, int)
#1/srv/mediawiki/php-1.46.0-wmf.2/includes/libs/StringUtils/StringUtils.php(321)explode(string, null)
#2/srv/mediawiki/php-1.46.0-wmf.2/includes/Parser/BlockLevelPass.php(194)Wikimedia\StringUtils\StringUtils::explode(string, null)
#3/srv/mediawiki/php-1.46.0-wmf.2/includes/Parser/BlockLevelPass.php(52)MediaWiki\Parser\BlockLevelPass->execute()
#4/srv/mediawiki/php-1.46.0-wmf.2/includes/Parser/Parser.php(1615)MediaWiki\Parser\BlockLevelPass::doBlockLevels(null, bool)
#5/srv/mediawiki/php-1.46.0-wmf.2/includes/Parser/Parser.php(607)MediaWiki\Parser\Parser->internalParseHalfParsed(null, bool, bool)
#6/srv/mediawiki/php-1.46.0-wmf.2/includes/Language/MessageParser.php(129)MediaWiki\Parser\Parser->parse(null, MediaWiki\Title\Title, MediaWiki\Parser\ParserOptions, bool)
#7/srv/mediawiki/php-1.46.0-wmf.2/includes/Language/Message/Message.php(1490)MediaWiki\Language\MessageParser->parse(string, MediaWiki\Title\Title, bool, bool, MediaWiki\Language\Language)
#8/srv/mediawiki/php-1.46.0-wmf.2/includes/Language/Message/Message.php(1074)MediaWiki\Message\Message->parseText(string)
#9/srv/mediawiki/php-1.46.0-wmf.2/includes/Language/Message/Message.php(1160)MediaWiki\Message\Message->format(string)
#10/srv/mediawiki/php-1.46.0-wmf.2/extensions/FlaggedRevs/includes/frontend/FlaggablePageView.php(506)MediaWiki\Message\Message->parseAsBlock()
#11/srv/mediawiki/php-1.46.0-wmf.2/extensions/FlaggedRevs/includes/frontend/FlaggablePageView.php(344)FlaggablePageView->showDraftVersion(FlaggedRevision, string)
#12/srv/mediawiki/php-1.46.0-wmf.2/extensions/FlaggedRevs/includes/frontend/FlaggedRevsUIHooks.php(307)FlaggablePageView->setPageContent(null, bool)
#13/srv/mediawiki/php-1.46.0-wmf.2/includes/HookContainer/HookContainer.php(141)FlaggedRevsUIHooks->onArticleViewHeader(MediaWiki\Page\Article, null, bool)
#14/srv/mediawiki/php-1.46.0-wmf.2/includes/HookContainer/HookRunner.php(922)MediaWiki\HookContainer\HookContainer->run(string, array)
#15/srv/mediawiki/php-1.46.0-wmf.2/includes/Page/Article.php(695)MediaWiki\HookContainer\HookRunner->onArticleViewHeader(MediaWiki\Page\Article, null, bool)
#16/srv/mediawiki/php-1.46.0-wmf.2/includes/Page/Article.php(538)MediaWiki\Page\Article->generateContentOutput(MediaWiki\User\User, MediaWiki\Parser\ParserOptions, int, MediaWiki\Output\OutputPage, array)
#17/srv/mediawiki/php-1.46.0-wmf.2/includes/Actions/ViewAction.php(71)MediaWiki\Page\Article->view()
#18/srv/mediawiki/php-1.46.0-wmf.2/includes/Actions/ActionEntryPoint.php(734)MediaWiki\Actions\ViewAction->show()
#19/srv/mediawiki/php-1.46.0-wmf.2/includes/Actions/ActionEntryPoint.php(505)MediaWiki\Actions\ActionEntryPoint->performAction(MediaWiki\Page\Article, MediaWiki\Title\Title)
#20/srv/mediawiki/php-1.46.0-wmf.2/includes/Actions/ActionEntryPoint.php(143)MediaWiki\Actions\ActionEntryPoint->performRequest()
#21/srv/mediawiki/php-1.46.0-wmf.2/includes/MediaWikiEntryPoint.php(184)MediaWiki\Actions\ActionEntryPoint->execute()
#22/srv/mediawiki/php-1.46.0-wmf.2/index.php(44)MediaWiki\MediaWikiEntryPoint->run()
#23/srv/mediawiki/w/index.php(3)require(string)
#24{main}
Notes

Noted this and a handful of other likely-related PHP deprecation warnings in 1.46.0-wmf.2 & .3. See logstash.

Details

Request URL
https://pl.wikipedia.org/w/index.php?fromsection=*&shownotice=*&stable=*&title=*