asprin
Active member
From my controller, I'm trying to save a session key but that's throwing an error:
My code:
If I comment out the
Instances of XF\Db\AbstractAdapter cannot be serialized or unserialized in src\XF\Db\AbstractAdapter.php on line 680
My code:
PHP:
$session = $this->session();
$session->set('foo', 'bar');
If I comment out the
$session->set()
statement, then the error is gone. What am I missing here?