Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'slug' => ' gree-gwh07na-k3nnb3a-seria-bee',
];

$_SESSION = [
    '__flash' => [],
];