Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'id' => '15',
];

$_SESSION = [
    '__flash' => [],
    'user_token' => '59ec9b8ba55f665d5fe8af5e1f99c438',
    'lang' => 'ge',
];