Error

PHP Fatal Erroryii\base\ErrorException

Call to a member function items() on null

$_GET = [
    'slug' => '2559-11',
];

$_SERVER = [
    'TEMP' => '/home/yru/tmp',
    'TMPDIR' => '/home/yru/tmp',
    'TMP' => '/home/yru/tmp',
    'PATH' => '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin',
    'USER' => 'yru',
    'HOME' => '/home/yru',
    'FCGI_ROLE' => 'RESPONDER',
    'REDIRECT_HTTPS' => 'on',
    'REDIRECT_STATUS' => '200',
    'HTTPS' => 'on',
    'proxy-nokeepalive' => '1',
    'HTTP_HOST' => 'yru.ac.th',
    'HTTP_X_REAL_IP' => '44.192.132.66',
    'HTTP_X_FORWARDED_FOR' => '44.192.132.66, 44.192.132.66',
    'HTTP_CONNECTION' => 'close',
    'HTTP_CDN_LOOP' => 'cloudflare',
    'HTTP_CF_IPCOUNTRY' => 'US',
    'HTTP_ACCEPT_ENCODING' => 'gzip, br',
    'HTTP_CF_RAY' => '86bbdf8a385057fa-IAD',
    'HTTP_X_FORWARDED_PROTO' => 'https',
    'HTTP_CF_VISITOR' => '{"scheme":"https"}',
    'HTTP_ACCEPT' => '*/*',
    'HTTP_USER_AGENT' => 'claudebot',
    'HTTP_REFERER' => 'http://yru.ac.th/th/procurement/skr01/2559-11',
    'HTTP_CF_CONNECTING_IP' => '44.192.132.66',
    'SERVER_SIGNATURE' => '',
    'SERVER_SOFTWARE' => 'Apache/2.4.58 (Ubuntu) mod_fcgid/2.3.9 OpenSSL/3.0.2',
    'SERVER_NAME' => 'yru.ac.th',
    'SERVER_ADDR' => '10.10.2.180',
    'SERVER_PORT' => '443',
    'REMOTE_ADDR' => '10.10.2.180',
    'DOCUMENT_ROOT' => '/home/yru/web/yru.ac.th/public_html',
    'REQUEST_SCHEME' => 'https',
    'CONTEXT_PREFIX' => '',
    'CONTEXT_DOCUMENT_ROOT' => '/home/yru/web/yru.ac.th/public_html',
    'SERVER_ADMIN' => '[email protected]',
    'SCRIPT_FILENAME' => '/home/yru/web/yru.ac.th/public_html/th/index.php',
    'REMOTE_PORT' => '55974',
    'REDIRECT_URL' => '/th/procurement/skr01/2559-11',
    'GATEWAY_INTERFACE' => 'CGI/1.1',
    'SERVER_PROTOCOL' => 'HTTP/1.0',
    'REQUEST_METHOD' => 'GET',
    'QUERY_STRING' => '',
    'REQUEST_URI' => '/th/procurement/skr01/2559-11',
    'SCRIPT_NAME' => '/th/index.php',
    'PHP_SELF' => '/th/index.php',
    'REQUEST_TIME_FLOAT' => 1711673505.1082349,
    'REQUEST_TIME' => 1711673505,
];