Error
- mwversion: 1.45.0-wmf.10
- timestamp: 2025-07-21T12:58:00.067Z
- phpversion: 8.1.31
- reqId: f0db6344ae3fa57de81e7fdd
- Find reqId in Logstash
[{reqId}] {exception_url} PHP Warning: Undefined array key "DEFAULT"Impact
Unknown so far.
| Lucas_Werkmeister_WMDE | |
| Jul 21 2025, 1:07 PM |
[{reqId}] {exception_url} PHP Warning: Undefined array key "DEFAULT"Unknown so far.
The following error is presumably for the exact same reason and from the same code:
[{reqId}] {exception_url} PHP Warning: foreach() argument must be of type array|object, null givenFirst seen on Jul 21, 2025 @ 12:17:59.330 UTC. In the SAL, two @Marostegui messages (repooling db1157 and depooling db1166) are suspiciously close to that, and the stack trace says “DB config” – any chance this could be related?
So far it’s mainly happening on wikidatawiki, but also a handful of times on commonswiki and enwiki. (Might not actually be wiki-specific at all – perhaps that’s just where dumpBackup.php runs at the moment.)
We depool and repool databases on a continous basis as we have lots of schema changes / maintenances doing automatic depools/repools, so probably not related?
Well, for now it seems to have gone away again – last seen Jul 21, 2025 @ 13:38:00.096 UTC, which was a few minutes before repooling db1166.
My suspicion at the moment is that dbctl had some kind of rare error condition which caused the DEFAULT key to be missing, but fixed itself on the next run.
I'd be very surprised with this, we repool and depool databases pretty much all the time: https://wikitech.wikimedia.org/wiki/Server_Admin_Log so we should see it more often if that was the case.