Page MenuHomePhabricator

CologneBlue Invalid argument supplied for foreach()
Closed, ResolvedPublic

Description

[08-Oct-2012 12:38:26] PHP Warning: Invalid argument supplied for foreach() in /www/translatewiki.net/w/skins/CologneBlue.php on line 631


Version: unspecified
Severity: minor

Details

Reference
bz40857

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 1:06 AM
bzimport set Reference to bz40857.

These seem to be related:
[08-Oct-2012 12:38:26] PHP Notice: Undefined index: logout in /www/translatewiki.net/w/skins/CologneBlue.php on line 510
[08-Oct-2012 12:38:26] PHP Notice: Undefined index: anonlogin in /www/translatewiki.net/w/skins/CologneBlue.php on line 510
[08-Oct-2012 12:38:26] PHP Notice: Undefined index: info in /www/translatewiki.net/w/skins/CologneBlue.php on line 470
[08-Oct-2012 12:38:26] PHP Notice: Undefined index: watch in /www/translatewiki.net/w/skins/CologneBlue.php on line 574
[08-Oct-2012 12:38:26] PHP Notice: Undefined index: unwatch in /www/translatewiki.net/w/skins/CologneBlue.php on line 575
[08-Oct-2012 12:38:26] PHP Notice: Undefined index: edit in /www/translatewiki.net/w/skins/CologneBlue.php on line 582
[08-Oct-2012 12:38:26] PHP Notice: Undefined index: addsection in /www/translatewiki.net/w/skins/CologneBlue.php on line 583

Not really related, unless you understand "related" as "coming from the same file".

Both of these idiotic issues fixed using some comparably idiotic code in Ib51c640b.

I've filed bug 40861, as this is the underlying issue.

Well it is related in a way that it is from the same request.

There are now two separate patchsets:

  • Ie5754f85 to fix notices mentioned by Niklas
  • Ib51c640b to fix the warning mentioned by Reedy