Today, while I was trying to enable profiling, I set
$wgProfileToDatabase = true;
and then ran
php maintenance/update.php
as suggested at [[mw:Manual:How_to_debug]]. I have error_reporting set to show E_STRICT and I noticed a few of the following:
Notice: Undefined variable: row in maintenance/updateCollation.php on line 192
The reference to $row is outside of the foreach loop where $row is set, so I would expect it to often (if not always) be unset.
I'm not sure if moving the reference to the inside of the foreach loop is the right fix, but it seems to work for me.
Version: unspecified
Severity: normal