Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'title' => 'HemoPOC%3Csup%3E%C2%AE%3C%2Fsup%3E%E5%87%9D%E8%A1%80%E6%A3%80%E6%B5%8B',
    'type' => 'academic',
];

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