Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

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

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