The first time a user connects, there is no session established, so $_SESSION doesn't exist. Trying to unset one item in the uninitialized array triggers this tedious notice.

Comments

john franklin’s picture

Status: Active » Needs review
StatusFileSize
new979 bytes

Reverse the order: set other elements in the array, then unset. If $_SESSION doesn't exist, we implicitly create it by setting $_SESSION['securesite_guest'].

john franklin’s picture

[removed dup created by clicking "save" twice.]

Nick Robillard’s picture

Tested and working for me.

mgifford’s picture

Issue summary: View changes
StatusFileSize
new965 bytes

That patch failed to apply, so re-rolling it against git.

shivanshuag’s picture

Tested. works for me

NaX’s picture

There is a beta out and it looks like there is different fix to this problem that was committed. Please test the latest dev or beta and let us know if that fixed the problem.