[8] ErrorException in Index.php line 99

未定义数组索引: szh3

  1. $arr[$k]['jg'] = $v['sy_answer' . $i];
  2. $sy_r = '杀4N' . $expect % 4;
  3. $arr[$k]['jg_answer'][0] = 0;
  4. if ($v['sy' . $i] != $sy_r) {
  5. $arr[$k]['jg_answer'][0] = 1;
  6. }
  7. }
  8. //双组
  9. if ($type == 6) {
  10. $arr[$k]['yc'] = explode(',', $v['szh' . $i]);
  11. $arr[$k]['jg'] = $v['szh_answer' . $i];
  12. if (strstr($arr[$k]['yc'][0], $da . $dan)) {
  13. $arr[$k]['jg_answer'][0] = 1;
  14. } else {
  15. $arr[$k]['jg_answer'][0] = 0;
  16. }
  17. if (strstr($arr[$k]['yc'][1], $da . $dan)) {
  18. $arr[$k]['jg_answer'][1] = 1;
  19. } else {

Call Stack

  1. in Index.php line 99
  2. at Error::appError(8, 'Undefined index: szh...', '/www/wwwroot/28ycw.c...', 99, ['type' => '6', 'i' => '3', 'data' => [['id' => 21, 'expect' => '2932012', 'opencode' => '', ...], ['id' => 20, 'expect' => '2932011', 'opencode' => '1,2,5', ...]], ...]) in Index.php line 99
  3. at Index->index()
  4. at ReflectionMethod->invokeArgs(object(Index), []) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), ['type' => '6', 'i' => '3']) in Module.php line 131
  6. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  7. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  8. at Middleware->think\{closure}(object(Request))
  9. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  10. at Middleware->dispatch(object(Request), 'controller') in Module.php line 136
  11. at Module->exec() in Dispatch.php line 168
  12. at Dispatch->run() in App.php line 432
  13. at App->think\{closure}(object(Request), object(Closure), null)
  14. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  15. at Middleware->think\{closure}(object(Request))
  16. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  17. at Middleware->dispatch(object(Request)) in App.php line 435
  18. at App->run() in index.php line 21

Environment Variables

GET Data
type 6
i 3
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /?type=6&i=3
QUERY_STRING type=6&i=3
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 58972
SCRIPT_FILENAME /www/wwwroot/28ycw.com/public/index.php
SERVER_ADMIN [email protected]
CONTEXT_DOCUMENT_ROOT /www/wwwroot/28ycw.com/public
CONTEXT_PREFIX
REQUEST_SCHEME http
DOCUMENT_ROOT /www/wwwroot/28ycw.com/public
REMOTE_ADDR 172.70.39.211
SERVER_PORT 80
SERVER_ADDR 96.45.187.204
SERVER_NAME www.feng28.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE <address>Apache Server at www.feng28.com Port 80</address>
LD_LIBRARY_PATH /www/server/apache/lib
PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
HTTP_CF_IPCOUNTRY US
HTTP_CDN_LOOP cloudflare
HTTP_CF_CONNECTING_IP 54.243.2.41
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_CF_VISITOR {"scheme":"https"}
HTTP_X_FORWARDED_PROTO https
HTTP_CF_RAY 86b939aeed900831-IAD
HTTP_X_FORWARDED_FOR 54.243.2.41
HTTP_ACCEPT_ENCODING gzip, br
HTTP_CONNECTION Keep-Alive
HTTP_HOST www.feng28.com
proxy-nokeepalive 1
SCRIPT_URI http://www.feng28.com/
SCRIPT_URL /
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711645739.4621
REQUEST_TIME 1711645739
Environment Variablesempty
ThinkPHP Constantsempty