Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
$_SESSION not available in shutdown:system event #9243
The session is closed before this event is called, this can cause problems for events which rely on $_SESSION vars.
I thinks it's cause by https://github.com/symfony/symfony/blob/master/src/Symfony/Component/HttpFoundation/Session/Storage/NativeSessionStorage.php#L103, which registers a shutdown function to close the session. Since it's probably one of the first shutdown functions being registered it's called first.
This problem was introduced in Elgg 1.10 with the switch to Symfony Session managment