Page MenuHomePhabricator

PHP Notice: Undefined index: timestamp
Closed, ResolvedPublicPRODUCTION ERROR

Description

Error
normalized_message
[{reqId}] {exception_url}   PHP Notice: Undefined index: timestamp
exception.trace
from /srv/mediawiki/php-1.38.0-wmf.4/extensions/Collection/includes/CollectionHooks.php(461)
#0 /srv/mediawiki/php-1.38.0-wmf.4/extensions/Collection/includes/CollectionHooks.php(461): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 /srv/mediawiki/php-1.38.0-wmf.4/includes/HookContainer/HookContainer.php(338): CollectionHooks::checkLastModified(array, OutputPage)
#2 /srv/mediawiki/php-1.38.0-wmf.4/includes/HookContainer/HookContainer.php(137): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#3 /srv/mediawiki/php-1.38.0-wmf.4/includes/HookContainer/HookRunner.php(2664): MediaWiki\HookContainer\HookContainer->run(string, array)
#4 /srv/mediawiki/php-1.38.0-wmf.4/includes/OutputPage.php(781): MediaWiki\HookContainer\HookRunner->onOutputPageCheckLastModified(array, OutputPage)
#5 /srv/mediawiki/php-1.38.0-wmf.4/includes/actions/ViewAction.php(68): OutputPage->checkLastModified(string)
#6 /srv/mediawiki/php-1.38.0-wmf.4/includes/MediaWiki.php(538): ViewAction->show()
#7 /srv/mediawiki/php-1.38.0-wmf.4/includes/MediaWiki.php(320): MediaWiki->performAction(Article, Title)
#8 /srv/mediawiki/php-1.38.0-wmf.4/includes/MediaWiki.php(925): MediaWiki->performRequest()
#9 /srv/mediawiki/php-1.38.0-wmf.4/includes/MediaWiki.php(559): MediaWiki->main()
#10 /srv/mediawiki/php-1.38.0-wmf.4/index.php(53): MediaWiki->run()
#11 /srv/mediawiki/php-1.38.0-wmf.4/index.php(46): wfIndexMain()
#12 /srv/mediawiki/w/index.php(3): require(string)
#13 {main}
Notes

Seen after rolling group1 to wmf.4

Related Objects

StatusSubtypeAssignedTask
ResolvedReleasedancy
ResolvedPRODUCTION ERRORdancy

Event Timeline

Change 730645 had a related patch set uploaded (by D3r1ck01; author: Derick Alangi):

[mediawiki/extensions/Collection@master] Check that the timestamp key/value is set to avoid undefined offset

https://gerrit.wikimedia.org/r/730645

Change 730580 had a related patch set uploaded (by Daniel Kinzler; author: Derick Alangi):

[mediawiki/extensions/Collection@wmf/1.38.0-wmf.4] Check that the timestamp key/value is set to avoid undefined offset

https://gerrit.wikimedia.org/r/730580

Change 730645 merged by jenkins-bot:

[mediawiki/extensions/Collection@master] Check that the timestamp key/value is set to avoid undefined offset

https://gerrit.wikimedia.org/r/730645

Mentioned in SAL (#wikimedia-operations) [2021-10-14T15:02:44Z] <dancy@deploy1002> Synchronized php-1.38.0-wmf.4/extensions/Collection/includes/CollectionHooks.php: Backport: [[gerrit:730580|Check that the timestamp key/value is set to avoid undefined offset (T293300)]] (duration: 01m 03s)

Mentioned in SAL (#wikimedia-operations) [2021-10-14T15:02:44Z] <dancy@deploy1002> Synchronized php-1.38.0-wmf.4/extensions/Collection/includes/CollectionHooks.php: Backport: [[gerrit:730580|Check that the timestamp key/value is set to avoid undefined offset (T293300)]] (duration: 01m 03s)

This was a mistake. [[gerrit:730580]] has not been deployed yet.

Change 730580 merged by jenkins-bot:

[mediawiki/extensions/Collection@wmf/1.38.0-wmf.4] Check that the timestamp key/value is set to avoid undefined offset

https://gerrit.wikimedia.org/r/730580

Mentioned in SAL (#wikimedia-operations) [2021-10-14T16:24:58Z] <dancy@deploy1002> Synchronized php-1.38.0-wmf.4/extensions/Collection/includes/CollectionHooks.php: Backport: [[gerrit:730580|Check that the timestamp key/value is set to avoid undefined offset (T293300)]] (duration: 01m 04s)

dancy claimed this task.