Closed belka-ew closed 8 years ago
I think the bigger question is, why would a super global be null?
I've just checked and $_SESSION is NULL
And if I call session_start() just before require_once(DIR . '/../vendor/autoload.php');
the error disappears. Shouldn't session_start() be called somewhere in bootstrap?
Starting the session is up to the application, not the packages.
Fyi as I saw this in my feed: #82 is this same issue.
Nice find. I'll think of a way to handle this.
After requiring autoload.php I get the following error:
nCatchable fatal error: Argument 1 passed to Titon\Utility\State\Request::initialize() must be an instance of array, null given in titon/framework/src/Titon/Utility/State/Request.hh on line 84