Error
- mwversion: 1.37.0-wmf.11
- reqId: 3d64a84a-2520-43a7-8bb7-a7090b3fecf1
- Find reqId in Logstash
- Find normalized_message in Logstash
[3d64a84a-2520-43a7-8bb7-a7090b3fecf1] /w/index.php?title=Special:Translate&group=Centralnotice-tgroup-WPWP2021&language=mr&filter=!translated&action=translate TypeError: trim() expects parameter 1 to be string, null given
from /srv/mediawiki/php-1.37.0-wmf.11/extensions/Translate/translationaids/MachineTranslationAid.php(18)
#0 /srv/mediawiki/php-1.37.0-wmf.11/extensions/Translate/translationaids/MachineTranslationAid.php(18): trim(NULL)
#1 /srv/mediawiki/php-1.37.0-wmf.11/extensions/Translate/api/ApiTranslationAids.php(68): MachineTranslationAid->populateQueries()
#2 /srv/mediawiki/php-1.37.0-wmf.11/includes/api/ApiMain.php(1721): ApiTranslationAids->execute()
#3 /srv/mediawiki/php-1.37.0-wmf.11/includes/api/ApiMain.php(702): ApiMain->executeAction()
#4 /srv/mediawiki/php-1.37.0-wmf.11/includes/api/ApiMain.php(673): ApiMain->executeActionWithErrorHandling()
#5 /srv/mediawiki/php-1.37.0-wmf.11/api.php(90): ApiMain->execute()
#6 /srv/mediawiki/php-1.37.0-wmf.11/api.php(45): wfApiMain()
#7 /srv/mediawiki/w/api.php(3): require(string)
#8 {main}Impact
Cannot see translation aids for message that don't have definition.
Notes
This should not happen but needs to be handled either way.
Outcome
Exception has been downgraded to a log message. T286699: Some CentralNotice translatable banner messages do not return message definition was filed against the CentralNotice extension to fix the root cause.