Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'title' => 'HemoPOC%C2%AE%E5%87%9D%E8%A1%80%E6%A3%80%E6%B5%8B%E7%B3%BB%E7%BB%9F',
    'type' => 'product',
    'number' => '1',
];

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