I'm migrating a project to PHP7.2 and Phalcon 3.3, and I'm getting this error message:
Invalid superglobal
The root of the stacktrace is this line:
if ($this->session->has($key)) { // exception thrown here
return $this->session->get($key);
}
My session adapter is Redis, and i'm explicitly calling session->start()
in the services file.
Any ideas?
Phalcon
- Version => 3.3.0
- Build Date => Dec 24 2017 11:27:36
- Powered by Zephir => Version 0.10.5-04eb3288bf
PHP
- PHP 7.2.0-2+ubuntu16.04.1+deb.sury.org+2 (cli)