Page MenuHomePhabricator

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

Description

Error
  • service.version: 1.46.0-wmf.11
  • timestamp: 2026-01-20T12:18:46.714Z
  • labels.phpversion: 8.3.29
  • trace.id: 582853fb-381d-425a-8917-02e30f8b6996
  • Find trace.id in Logstash
labels.normalized_message
[{reqId}] {exception_url}   PHP Deprecated: substr_count(): Passing null to parameter #1 ($haystack) of type string is deprecated
FrameLocationCall
from/srv/mediawiki/php-1.46.0-wmf.11/includes/libs/StringUtils/StringUtils.php(318)
#0[internal function]MediaWiki\Exception\MWExceptionHandler::handleError(int, string, string, int)
#1/srv/mediawiki/php-1.46.0-wmf.11/includes/libs/StringUtils/StringUtils.php(318)substr_count(null, string)
#2/srv/mediawiki/php-1.46.0-wmf.11/includes/Parser/BlockLevelPass.php(194)Wikimedia\StringUtils\StringUtils::explode(string, null)
#3/srv/mediawiki/php-1.46.0-wmf.11/includes/Parser/BlockLevelPass.php(52)MediaWiki\Parser\BlockLevelPass->execute()
#4/srv/mediawiki/php-1.46.0-wmf.11/includes/Parser/Parser.php(1635)MediaWiki\Parser\BlockLevelPass::doBlockLevels(null, bool)
#5/srv/mediawiki/php-1.46.0-wmf.11/includes/Parser/Parser.php(627)MediaWiki\Parser\Parser->internalParseHalfParsed(null, bool, bool)
#6/srv/mediawiki/php-1.46.0-wmf.11/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.11/includes/Language/Message/Message.php(1490)MediaWiki\Language\MessageParser->parse(string, MediaWiki\Title\Title, bool, bool, LanguageEn)
#8/srv/mediawiki/php-1.46.0-wmf.11/includes/Language/Message/Message.php(1071)MediaWiki\Message\Message->parseText(string)
#9/srv/mediawiki/php-1.46.0-wmf.11/includes/Language/Message/Message.php(1111)MediaWiki\Message\Message->format(string)
#10/srv/mediawiki/php-1.46.0-wmf.11/includes/Actions/InfoAction.php(166)MediaWiki\Message\Message->__toString()
#11/srv/mediawiki/php-1.46.0-wmf.11/includes/Actions/FormlessAction.php(37)MediaWiki\Actions\InfoAction->onView()
#12/srv/mediawiki/php-1.46.0-wmf.11/includes/Actions/ActionEntryPoint.php(739)MediaWiki\Actions\FormlessAction->show()
#13/srv/mediawiki/php-1.46.0-wmf.11/includes/Actions/ActionEntryPoint.php(510)MediaWiki\Actions\ActionEntryPoint->performAction(MediaWiki\Page\Article, MediaWiki\Title\Title)
#14/srv/mediawiki/php-1.46.0-wmf.11/includes/Actions/ActionEntryPoint.php(144)MediaWiki\Actions\ActionEntryPoint->performRequest()
#15/srv/mediawiki/php-1.46.0-wmf.11/includes/MediaWikiEntryPoint.php(181)MediaWiki\Actions\ActionEntryPoint->execute()
#16/srv/mediawiki/php-1.46.0-wmf.11/index.php(44)MediaWiki\MediaWikiEntryPoint->run()
#17/srv/mediawiki/w/index.php(3)require(string)
#18{main}
Impact

Low.

Notes

Details

MediaWiki Version
1.46.0-wmf.11
Request URL
https://fi.wikipedia.org/w/index.php?action=info&title=Imatra

Event Timeline

Aklapper changed Request URL from https://fi.wikipedia.org/w/index.php?action=info&title=*&uselang=* to https://fi.wikipedia.org/w/index.php?action=info&title=Imatra.Thu, Jan 22, 3:03 PM