Page MenuHomePhabricator

PHP Notice: Got unknown title from the database in MessageCollection::rowToKey
Closed, ResolvedPublic

Description

Noticed the following error on IRC,

Full stacktrace,

[2019-10-20 15:08:58] error.WARNING: [92cf245a3bea4180c66584ed] /w/api.php   ErrorException from line 333 of /srv/mediawiki/tags/2019-10-16_13:12:26/includes/debug/MWDebug.php: PHP Notice: Got unknown title from the database: 1206:Tracker-js-cdbf71-Unknown_error_happened_while_f/cs [Called from MessageCollection::rowToKey in /srv/mediawiki/tags/2019-10-16_13:12:26/extensions/Translate/MessageCollection.php at line 780] {"exception":"[object] (ErrorException(code: 0): PHP Notice: Got unknown title from the database: 1206:Tracker-js-cdbf71-Unknown_error_happened_while_f/cs [Called from MessageCollection::rowToKey in /srv/mediawiki/tags/2019-10-16_13:12:26/extensions/Translate/MessageCollection.php at line 780] at /srv/mediawiki/tags/2019-10-16_13:12:26/includes/debug/MWDebug.php:333)
[stacktrace]
#0 [internal function]: MWExceptionHandler::handleError(1024, 'Got unknown tit...', '/srv/mediawiki/...', 333, Array)
#1 /srv/mediawiki/tags/2019-10-16_13:12:26/includes/debug/MWDebug.php(333): trigger_error('Got unknown tit...', 1024)
#2 /srv/mediawiki/tags/2019-10-16_13:12:26/includes/debug/MWDebug.php(188): MWDebug::sendMessage('Got unknown tit...', Array, 'warning', 1024)
#3 /srv/mediawiki/tags/2019-10-16_13:12:26/includes/GlobalFunctions.php(1066): MWDebug::warning('Got unknown tit...', 2, 1024, 'auto')
#4 /srv/mediawiki/tags/2019-10-16_13:12:26/extensions/Translate/MessageCollection.php(780): wfWarn('Got unknown tit...')
#5 /srv/mediawiki/tags/2019-10-16_13:12:26/extensions/Translate/MessageCollection.php(497): MessageCollection->rowToKey(Object(stdClass))
#6 /srv/mediawiki/tags/2019-10-16_13:12:26/extensions/Translate/MessageCollection.php(391): MessageCollection->filterHastranslation(Array, true)
#7 /srv/mediawiki/tags/2019-10-16_13:12:26/extensions/Translate/MessageCollection.php(359): MessageCollection->applyFilter('hastranslation', true, NULL)
#8 /srv/mediawiki/tags/2019-10-16_13:12:26/extensions/Translate/api/ApiQueryMessageCollection.php(96): MessageCollection->filter('hastranslation', true, NULL)
#9 /srv/mediawiki/tags/2019-10-16_13:12:26/extensions/Translate/api/ApiQueryMessageCollection.php(22): ApiQueryMessageCollection->run()
#10 /srv/mediawiki/tags/2019-10-16_13:12:26/includes/api/ApiQuery.php(255): ApiQueryMessageCollection->execute()
#11 /srv/mediawiki/tags/2019-10-16_13:12:26/includes/api/ApiMain.php(1602): ApiQuery->execute()
#12 /srv/mediawiki/tags/2019-10-16_13:12:26/includes/api/ApiMain.php(538): ApiMain->executeAction()
#13 /srv/mediawiki/tags/2019-10-16_13:12:26/includes/api/ApiMain.php(509): ApiMain->executeActionWithErrorHandling()
#14 /srv/mediawiki/tags/2019-10-16_13:12:26/api.php(83): ApiMain->execute()
#15 {main}
","exception_id":"92cf245a3bea4180c66584ed","exception_url":"/w/api.php","caught_by":"mwe_handler"} []
[20-Oct-2019 15:08:58 UTC] PHP Notice:  Got unknown title from the database: 1206:Tracker-js-cdbf71-Unknown_error_happened_while_f/cs [Called from MessageCollection::rowToKey in /srv/mediawiki/tags/2019-10-16_13:12:26/extensions/Translate/MessageCollection.php at line 780] in /srv/mediawiki/tags/2019-10-16_13:12:26/includes/debug/MWDebug.php on line 333

Event Timeline

Too bad it is api.php, so we don't have request parameters in any logs.
Maybe it's this one (error logs are UTC, server logs UTC+2:

[20/Oct/2019:17:08:58 +0200] "POST /w/api.php HTTP/2.0" 200 1061 "https://translatewiki.net/wiki/Special:ApiSandbox"

That tells it would be in the special sandbox group.

Nikerabbit claimed this task.

Not seen recently.