[1] Exception in News.php line 25

Error Processing Request

  1. if( !$news_id || !is_numeric($news_id)){
  2. throw new \Exception("Error Processing Request", 1);
  3. }
  4. // 详情 内容
  5. $that = NewsModel::get($news_id);
  6. if( $that['is_pass'] == 0 || $that['is_del'] == 1 ) {
  7. throw new \Exception("Error Processing Request", 1);
  8. }
  9. // 详情模板 b_tpl
  10. $b_tpl = Config::get('cms.b_tpl');
  11. $cate_b_tpl = $this->cate_model->cate_b_tpl($that['belong_cate_id']);
  12. $that_tpl = $b_tpl[$cate_b_tpl]['tpl_path'];
  13. // 主栏目名称 及 当前位置
  14. $cate_path_arr = $this->cate_model->cate_path_arr($that['belong_cate_id']);

Call Stack

  1. in News.php line 25
  2. at News->detail(8577)
  3. at ReflectionMethod->invokeArgs(object(News), ['8577']) in Container.php line 395
  4. at Container->invokeReflectMethod(object(News), object(ReflectionMethod), ['news_id' => '8577', 'convert' => false]) in Module.php line 132
  5. at Module->think\route\dispatch\{closure}(object(Request), object(Closure), null)
  6. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  7. at Middleware->think\{closure}(object(Request))
  8. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  9. at Middleware->dispatch(object(Request), 'controller') in Module.php line 137
  10. at Module->exec() in Dispatch.php line 168
  11. at Dispatch->run() in App.php line 432
  12. at App->think\{closure}(object(Request), object(Closure), null)
  13. at call_user_func_array(object(Closure), [object(Request), object(Closure), null]) in Middleware.php line 185
  14. at Middleware->think\{closure}(object(Request))
  15. at call_user_func(object(Closure), object(Request)) in Middleware.php line 130
  16. at Middleware->dispatch(object(Request)) in App.php line 435
  17. at App->run() in index.php line 21

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_REFERER http://daheyuqing.com/news/8577.html
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST daheyuqing.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.daheyuqing.com
SERVER_PORT 443
SERVER_ADDR 122.114.247.4
REMOTE_PORT 57124
REMOTE_ADDR 3.88.60.5
SERVER_SOFTWARE nginx/1.22.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.daheyuqing.com/public
DOCUMENT_URI /index.php
REQUEST_URI /news/8577.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/news/8577.html
SCRIPT_FILENAME /www/wwwroot/www.daheyuqing.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711661236.5903
REQUEST_TIME 1711661236
Environment Variablesempty
ThinkPHP Constantsempty