Page MenuHomePhabricator

InvalidArgumentException: $text must be a string
Open, Needs TriagePublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   InvalidArgumentException: $text must be a string
error.stack_trace
from /srv/mediawiki/php-1.43.0-wmf.2/includes/language/RawMessage.php(56)
#0 /srv/mediawiki/php-1.43.0-wmf.2/includes/specials/SpecialVersion.php(430): MediaWiki\Language\RawMessage->__construct(NULL)
#1 /srv/mediawiki/php-1.43.0-wmf.2/includes/specials/SpecialVersion.php(236): MediaWiki\Specials\SpecialVersion->softwareInformation()
#2 /srv/mediawiki/php-1.43.0-wmf.2/includes/specialpage/SpecialPage.php(718): MediaWiki\Specials\SpecialVersion->execute(NULL)
#3 /srv/mediawiki/php-1.43.0-wmf.2/includes/specialpage/SpecialPageFactory.php(1672): MediaWiki\SpecialPage\SpecialPage->run(NULL)
#4 /srv/mediawiki/php-1.43.0-wmf.2/includes/actions/ActionEntryPoint.php(504): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, MediaWiki\Context\RequestContext)
#5 /srv/mediawiki/php-1.43.0-wmf.2/includes/actions/ActionEntryPoint.php(145): MediaWiki\Actions\ActionEntryPoint->performRequest()
#6 /srv/mediawiki/php-1.43.0-wmf.2/includes/MediaWikiEntryPoint.php(199): MediaWiki\Actions\ActionEntryPoint->execute()
#7 /srv/mediawiki/php-1.43.0-wmf.2/index.php(58): MediaWiki\MediaWikiEntryPoint->run()
#8 /srv/mediawiki/w/index.php(3): require(string)
#9 {main}
Notes
  • Happening since 1.42.0-wmf.26
  • GET requests to Special:Version on different languages
  • Happening at a low rate
  • Couldn't figure out the magic to reproduce this error, logged in, logged out, different languages

Details

Request URL
https://test.wikipedia.org/wiki/Special:Version

Event Timeline

This is related with the first section.
Maybe some delays, timeouts in getting version from some external software (CirrusSearch?).

There was 1 occurrence of this in the last month