Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'domain' => 'myveryownangel.org',
    'slug' => '/category/Yo-Ka%C3%AF',
    'googlebot' => '',
    'category' => 'Yo-Kaï',
];

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