Page MenuHomePhabricator

LiquidThreads: Fix "PHP Notice: Undefined variable: _SESSION in View.php on line 415"
Closed, ResolvedPublic


[05-May-2011 03:05:20] PHP Notice: Undefined variable: _SESSION in /www/w/extensions/LiquidThreads/classes/View.php on line 361
[05-May-2011 03:05:20] PHP Warning: Invalid argument supplied for foreach() in /www/w/extensions/LiquidThreads/classes/View.php on line 361

This has started happening relatively recently.

Version: unspecified
Severity: minor



Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 11:34 PM
bzimport set Reference to bz28826.
bzimport added a subscriber: Unknown Object (MLST).

Seems to be related to r84007 which attempted to fix bug 27887.

  • Bug 37333 has been marked as a duplicate of this bug. ***

Line number has changed (or another issue?) though: PHP Notice: Undefined variable: _SESSION in /www/ on line 415

This was attempted to be fixed in 2011:

But that only made it worse by now iterating over array(null) instead of not iterating and emitting a notice for loop over non-iterable.

Change 136012 had a related patch set uploaded by Krinkle:
View.php: Fix notice for undefined _SESSION

Change 136012 merged by jenkins-bot:
View.php: Fix notice for undefined _SESSION

Patch mentioned in this report was merged - assuming this bug is FIXED.
If that is not the case: Please reopen and elaborate what is left to do here to get this report fixed.