[8] ErrorException in Index.php line 260

未定义变量: next_id

  1. }else{
  2. $pre_id = '';
  3. }
  4. }
  5. // else{
  6. // $next_id='';
  7. // $pre_id = '';
  8. // }
  9. }
  10. if($next_id!=''){
  11. $next_info = Db::name("news")->field('id')->where("id",$next_id)->find();
  12. }
  13. else{
  14. $next_info = '';
  15. }
  16. if($pre_id != ''){
  17. $pre_info = Db::name("news")->field('id')->where("id",$pre_id)->find();

Call Stack

  1. in Index.php line 260
  2. at Error::appError() in Index.php line 260
  3. at Index->news()
  4. at ReflectionMethod->invokeArgs() in Container.php line 395
  5. at Container->invokeReflectMethod() in Module.php line 131
  6. at Module->think\route\dispatch\{closure}()
  7. at call_user_func_array() in Middleware.php line 185
  8. at Middleware->think\{closure}()
  9. at call_user_func() in Middleware.php line 130
  10. at Middleware->dispatch() 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}()
  14. at call_user_func_array() in Middleware.php line 185
  15. at Middleware->think\{closure}()
  16. at call_user_func() in Middleware.php line 130
  17. at Middleware->dispatch() in App.php line 435
  18. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID jqshhck8hpqgqf4brajtekjslj
Sessionempty
Server/Request Data
USER www
HOME /home/www
SCRIPT_NAME /index.php
REQUEST_URI /news/146.html
QUERY_STRING s=/news/146.html
REQUEST_METHOD GET
SERVER_PROTOCOL HTTP/1.1
GATEWAY_INTERFACE CGI/1.1
REDIRECT_QUERY_STRING s=/news/146.html
REDIRECT_URL /news/146.html
REMOTE_PORT 33210
SCRIPT_FILENAME /www/wwwroot/who.julisling.com/public/index.php
SERVER_ADMIN webmaster@example.com
CONTEXT_DOCUMENT_ROOT /www/wwwroot/who.julisling.com/public
CONTEXT_PREFIX
REQUEST_SCHEME https
DOCUMENT_ROOT /www/wwwroot/who.julisling.com/public
REMOTE_ADDR 107.158.201.58
SERVER_PORT 443
SERVER_ADDR 172.21.0.4
SERVER_NAME www.julisling.com
SERVER_SOFTWARE Apache
SERVER_SIGNATURE
Apache Server at www.julisling.com Port 443
LD_LIBRARY_PATH /www/server/apache/lib
PATH /www/server/panel/pyenv/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin
HTTP_COOKIE PHPSESSID=jqshhck8hpqgqf4brajtekjslj
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST www.julisling.com
HTTP_USER_AGENT Mozilla/5.0 (compatible; SemrushBot/7~bl; +http://www.semrush.com/bot.html)
proxy-nokeepalive 1
SSL_TLS_SNI www.julisling.com
HTTPS on
REDIRECT_STATUS 200
REDIRECT_SSL_TLS_SNI www.julisling.com
REDIRECT_HTTPS on
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1719747539.8064
REQUEST_TIME 1719747539
Environment Variablesempty
ThinkPHP Constantsempty