octobercms/october · error · SystemException
There is no an authenticated user to load or save preference
Error message
There is no an authenticated user to load or save preferences for.
What it means
Error "There is no an authenticated user to load or save preferences for." thrown in octobercms/october.
Source
Thrown at modules/backend/models/UserPreference.php:41
public $timestamps = false;
/**
* @var array cache
*/
protected static $cache = [];
/**
* resolveUser checks for a supplied user or uses the default logged in. You should
* override this method
*
* @param mixed $user An optional back-end user object.
* @return User object
*/
public function resolveUser($user)
{
$user = BackendAuth::getUser();
if (!$user) {
throw new SystemException(trans('backend::lang.user.preferences.not_authenticated'));
}
return $user;
}
}
View on GitHub (pinned to b608633a7e)
When it happens
Trigger: Thrown at modules/backend/models/UserPreference.php:41 when the library encounters an invalid state.
Common situations: See trigger scenarios.
Understand the failure class
- Authentication and authorization failures — expired tokens, bad credentials, and missing scopes.
AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21).
Data as JSON: /api/errors/112372118382cd54.
Report an issue: GitHub.