I'm bumping this thread to hopefully get some insight here. I see this all throughout my logs:
INFO @ [path]/core/model/modx/modsessionhandler.class.php : 164) There was an error retrieving or creating session id: 0eshc4b7r3rm94ledpmcn9b3a7
The part of the code in modsessionhandler.class.php generating the message is this:
protected function _getSession($id, $autoCreate= false) {
$this->session= $this->modx->getObject('modSession', array('id' => $id), $this->cacheLifetime);
if ($autoCreate && !is_object($this->session)) {
$this->session= $this->modx->newObject('modSession');
$this->session->set('id', $id);
}
if (!($this->session instanceof modSession) || $id != $this->session->get('id') || !$this->session->validate()) {
$this->modx->log(modX::LOG_LEVEL_INFO, 'There was an error retrieving or creating session id: ' . $id);
}
return $this->session;
}
If I'm reading this right, the error is happening because the session is not valid, or at least not an instance of modSession. And yet, as far as I can tell, the site is working. Why is the session not being recognized as it should, and why is there no apparent consequence?
... or is there a consequence that I'm unaware of?