Error

PHP Noticeyii\base\ErrorException

Trying to get property of non-object

$_GET = [
    's' => '/',
    'HotetCity' => '174',
    'type' => 'city',
];

$_SERVER = [
    'ALLUSERSPROFILE' => 'C:\\ProgramData',
    'APPDATA' => 'C:\\Users\\Administrator\\AppData\\Roaming',
    'CLIENTNAME' => 'DESKTOP-I5LV8F0',
    'CommonProgramFiles' => 'C:\\Program Files (x86)\\Common Files',
    'CommonProgramFiles(x86)' => 'C:\\Program Files (x86)\\Common Files',
    'CommonProgramW6432' => 'C:\\Program Files\\Common Files',
    'COMPUTERNAME' => 'AY1306291804070',
    'ComSpec' => 'C:\\Windows\\system32\\cmd.exe',
    'FP_NO_HOST_CHECK' => 'NO',
    'HOMEDRIVE' => 'C:',
    'HOMEPATH' => '\\Users\\Administrator',
    'JAVA_HOME' => 'C:\\Program Files\\Java\\jdk1.8.0_181',
    'lib' => 'C:\\Program Files\\SQLXML 4.0\\bin\\',
    'LOCALAPPDATA' => 'C:\\Users\\Administrator\\AppData\\Local',
    'LOGONSERVER' => '\\\\AY1306291804070',
    'NUMBER_OF_PROCESSORS' => '4',
    'OS' => 'Windows_NT',
    'Path' => '.;C:\\Program Files\\Java\\jdk1.8.0_181\\bin;C:\\Program Files\\Java\\jdk1.8.0_181\\jre\\bin;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\websoft\\mysql\\bin;C:\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\100\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\100\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\80\\Tools\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\90\\Tools\\binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\90\\DTS\\Binn\\;C:\\Program Files (x86)\\Microsoft SQL Server\\90\\Tools\\Binn\\VSShell\\Common7\\IDE\\;C:\\Program Files (x86)\\Microsoft Visual Studio 8\\Common7\\IDE\\PrivateAssemblies\\;c:\\Program Files (x86)\\Microsoft ASP.NET\\ASP.NET Web Pages\\v1.0\\;C:\\Program Files (x86)\\MySQL\\MySQL Fabric 1.5.4 & MySQL Utilities 1.5.4 1.5\\;C:\\Program Files (x86)\\MySQL\\MySQL Fabric 1.5.4 & MySQL Utilities 1.5.4 1.5\\Doctrine extensions for PHP\\;C:\\php;C:\\Program Files (x86)\\Microsoft SQL Server\\100\\Tools\\Binn\\VSShell\\Common7\\IDE\\;C:\\Program Files (x86)\\Microsoft Visual Studio 9.0\\Common7\\IDE\\PrivateAssemblies\\;C:\\Program Files (x86)\\Microsoft SQL Server\\100\\DTS\\Binn\\',
    'PATHEXT' => '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY',
    'PROCESSOR_ARCHITECTURE' => 'x86',
    'PROCESSOR_ARCHITEW6432' => 'AMD64',
    'PROCESSOR_IDENTIFIER' => 'Intel64 Family 6 Model 79 Stepping 1, GenuineIntel',
    'PROCESSOR_LEVEL' => '6',
    'PROCESSOR_REVISION' => '4f01',
    'ProgramData' => 'C:\\ProgramData',
    'ProgramFiles' => 'C:\\Program Files (x86)',
    'ProgramFiles(x86)' => 'C:\\Program Files (x86)',
    'ProgramW6432' => 'C:\\Program Files',
    'PROMPT' => '$P$G',
    'PSModulePath' => 'C:\\Windows\\system32\\WindowsPowerShell\\v1.0\\Modules\\',
    'PUBLIC' => 'C:\\Users\\Public',
    'SESSIONNAME' => 'RDP-Tcp#0',
    'SystemDrive' => 'C:',
    'SystemRoot' => 'C:\\Windows',
    'TEMP' => 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp',
    'TMP' => 'C:\\Users\\ADMINI~1\\AppData\\Local\\Temp',
    'USERDOMAIN' => 'AY1306291804070',
    'USERNAME' => 'Administrator',
    'USERPROFILE' => 'C:\\Users\\Administrator',
    'windir' => 'C:\\Windows',
    'windows_tracing_flags' => '3',
    'windows_tracing_logfile' => 'C:\\BVTBin\\Tests\\installpackage\\csilogfile.log',
    'HTTP_HOST' => 'dearisland.com',
    'HTTP_ACCEPT_ENCODING' => 'gzip, br, zstd, deflate',
    'HTTP_USER_AGENT' => 'Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)',
    'HTTP_ACCEPT' => '*/*',
    'REDIRECT_STATUS' => '200',
    'SERVER_NAME' => 'www.dearisland.com',
    'SERVER_PORT' => '443',
    'SERVER_ADDR' => '172.16.3.97',
    'REMOTE_PORT' => '1984',
    'REMOTE_ADDR' => '18.227.48.131',
    'SERVER_SOFTWARE' => 'nginx/1.12.1',
    'GATEWAY_INTERFACE' => 'CGI/1.1',
    'HTTPS' => 'on',
    'REQUEST_SCHEME' => 'https',
    'SERVER_PROTOCOL' => 'HTTP/1.1',
    'DOCUMENT_ROOT' => 'D:/wwwroot/htdd',
    'DOCUMENT_URI' => '/index.php',
    'REQUEST_URI' => '/hotel/List/?HotetCity=174&type=city',
    'SCRIPT_NAME' => '/index.php',
    'CONTENT_LENGTH' => '',
    'CONTENT_TYPE' => '',
    'REQUEST_METHOD' => 'GET',
    'QUERY_STRING' => 'HotetCity=174&type=city',
    'SCRIPT_FILENAME' => 'D:/wwwroot/htdd/index.php',
    'FCGI_ROLE' => 'RESPONDER',
    'PHP_SELF' => '/index.php',
    'REQUEST_TIME_FLOAT' => 1732181238.0873799,
    'REQUEST_TIME' => 1732181238,
];