Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    'id' => '35',
];

$_SERVER = [
    'USER' => 'www',
    'HOME' => '/home/www',
    'FCGI_ROLE' => 'RESPONDER',
    'SCRIPT_FILENAME' => '/home/wwwroot/default/st/frontend/web/index.htmp',
    'QUERY_STRING' => '',
    'REQUEST_METHOD' => 'GET',
    'CONTENT_TYPE' => '',
    'CONTENT_LENGTH' => '',
    'SCRIPT_NAME' => '/index.htmp',
    'REQUEST_URI' => '/main/article/35.html',
    'DOCUMENT_URI' => '/index.htmp',
    'DOCUMENT_ROOT' => '/home/wwwroot/default/st/frontend/web',
    'SERVER_PROTOCOL' => 'HTTP/1.1',
    'GATEWAY_INTERFACE' => 'CGI/1.1',
    'SERVER_SOFTWARE' => 'nginx/1.8.0',
    'REMOTE_ADDR' => '180.96.16.238',
    'REMOTE_PORT' => '25453',
    'SERVER_ADDR' => '115.28.128.230',
    'SERVER_PORT' => '80',
    'SERVER_NAME' => 'mall.bocachoice.com',
    'REDIRECT_STATUS' => '200',
    'PATH_INFO' => '',
    'HTTP_HOST' => 'mall.bocachoice.com',
    'HTTP_ACCEPT' => '*/*',
    'HTTP_X_FORWARDED_FOR' => '209.73.153.10',
    'PHP_SELF' => '',
    'REQUEST_TIME_FLOAT' => 1612241555.781296,
    'REQUEST_TIME' => 1612241555,
];