Page MenuHomePhabricator

Notice: Undefined index: collection_id|writer|is_cached
Closed, ResolvedPublicPRODUCTION ERROR

Description

https://logstash.wikimedia.org/app/kibana#/discover?_g=(refreshInterval:(display:Off,pause:!f,value:0),time:(from:now-30d,mode:quick,to:now))&_a=(columns:!(_source),index:'logstash-*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'message:%22Collection%22+AND+level:%22NOTICE%22')),sort:!('@timestamp',desc))

  • Notice: Undefined index: collection_id
  • Notice: Undefined index: writer
  • Notice: Undefined index: is_cached
Notice: Undefined index: is_cached in /srv/mediawiki/php-1.31.0-wmf.8/extensions/Collection/Collection.body.php on line 1065

Event Timeline

Jdlrobson renamed this task from Notice: Undefined index: collection_id, Notice: Undefined index: writer to Notice: Undefined index: collection_id|writer|is_cached.Dec 4 2017, 7:46 PM
Jdlrobson updated the task description. (Show Details)

Change 395115 had a related patch set uploaded (by Jdlrobson; owner: Jdlrobson):
[mediawiki/extensions/Collection@master] Better undefined index protection

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

Untested, but I imagine this should make the problem go away... ^

Krinkle claimed this task.
Krinkle subscribed.

No longer appears in any recent logs. Seems fixed.

Note, there is another "Undefined index" error trending from Collection, tracked at T189636: Undefined 'subtitle' and 'title' indexes in CollectionPageTemplate.php.

Change 395115 merged by jenkins-bot:
[mediawiki/extensions/Collection@master] Better undefined index protection

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

mmodell changed the subtype of this task from "Task" to "Production Error".Aug 28 2019, 11:09 PM