XenForo
Administrative
- Thread starter
- Admin
- #1
From my controller, I'm trying to save a session key but that's throwing an error:
My code:
PHP:
If I comment out the
ادامه مطلب...
Instances of XF\Db\AbstractAdapter cannot be serialized or unserialized in src\XF\Db\AbstractAdapter.php on line 680
Click to expand...
My code:
PHP:
Code:
$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?ادامه مطلب...