Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'slug' => 'magistratura-inzheneriya-iskusstvennogo-intellekta',
];

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