Hi,
I have just updated from Phalcon 3.1 to 3.2 and few of my project started receiveing a fatal error:
Exception: Invalid superglobal
#0 [internal function]: Phalcon\Session\Adapter->set('$PHALCON/CSRF/K...', 'cGJ6d0tqYTVISjh...')
#1 C:\Projects\Crm\app\views\auth\index.phtml(12): Phalcon\Security->getTokenKey()
#2 [internal function]: unknown()
#3 [internal function]: Phalcon\Mvc\View\Engine\Php->render('C:\\Projects\\Crm...', Array, true)
#4 [internal function]: Phalcon\Mvc\View->_engineRender(Array, 'auth/index', true, true, NULL)
#5 [internal function]: Phalcon\Mvc\View->render('auth', 'index')
#6 C:\Projects\Crm\public\index.php(11): Phalcon\Mvc\Application->handle()
#7 {main}
Here is the line that raises an error:
<input type="hidden" name="<?=$this->security->getTokenKey()?>" value="<?=$this->security->getToken()?>">
Any idias how to fix that? As mentioned before, on Phalcon 3.1 everything works fine.