Page MenuHomePhabricator

Snapshot host cause a ContentTranslation notice: PHP Notice: Trying to access array offset on value of type null
Closed, DuplicatePublicPRODUCTION ERROR

Description

Error
labels.normalized_message
[{reqId}] {exception_url}   PHP Notice: Trying to access array offset on value of type null
error.stack_trace
from /srv/mediawiki/php-1.41.0-wmf.3/extensions/ContentTranslation/includes/DTO/TranslationUnitDTO.php(153)
#0 /srv/mediawiki/php-1.41.0-wmf.3/extensions/ContentTranslation/includes/DTO/TranslationUnitDTO.php(153): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.41.0-wmf.3/extensions/ContentTranslation/scripts/dump-corpora.php(146): ContentTranslation\DTO\TranslationUnitDTO->toCorporaDumpArray(boolean)
#2 [internal function]: CXCorporaDump::{closure}(ContentTranslation\DTO\TranslationUnitDTO)
#3 /srv/mediawiki/php-1.41.0-wmf.3/extensions/ContentTranslation/scripts/dump-corpora.php(147): array_map(Closure, array)
#4 /srv/mediawiki/php-1.41.0-wmf.3/maintenance/includes/MaintenanceRunner.php(681): CXCorporaDump->execute()
#5 /srv/mediawiki/php-1.41.0-wmf.3/maintenance/run.php(51): MediaWiki\Maintenance\MaintenanceRunner->run()
#6 /srv/mediawiki/multiversion/MWScript.php(140): require_once(string)
#7 {main}
Impact
Notes

2M such notices since April 7th 11:20 UTC

Event Timeline

It is a systemd timer on snapshot1008:

NEXT                         LEFT           LAST                         PASSED        UNIT                                            ACTIVATES
n/a                          n/a            Fri 2023-04-07 09:10:00 UTC  4h 2min ago   xlation-dumps.timer                             xlation-dumps.service