Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'domain' => 'myveryownangel.org',
    'slug' => '/category/Star%20Wars',
    'googlebot' => '',
    'category' => 'Star Wars',
];

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