[8] ErrorException in Index.php line 1528

未定义变量: webtypeName

  1. $webtypeName = '社会组织';
  2. break;
  3. case '6':
  4. $webtypeName = '知识百科';
  5. break;
  6. case '7':
  7. $webtypeName = '人物';
  8. break;
  9. }
  10. $this->assign('webtypeName',$webtypeName);
  11. $ispage = $tagispage['yh_tag_ispage'];
  12. if($ispage){
  13. // 如果标签是数据页
  14. $pagelist = YhPage::field('yh_page_id,yh_page_title,yh_page_outline')->where('yh_page_tagid',$tagid)->where('yh_page_ischeck',1)->order('yh_page_created_at','desc')->limit(10)->select();
  15. $this->assign('pagelist',$pagelist);
  16. }else{
  17. // 如果标签是数据仓库
  18. $datalist = YhData::field('yh_data_id,yh_data_title,yh_data_description')->where('yh_data_tagid',$tagid)->where('ischeck',1)->order('yh_data_created_at','desc')->limit(10)->select();
  19. $this->assign('datalist',$datalist);

Call Stack

  1. in Index.php line 1528
  2. at Error::appError(8, 'Undefined variable: ...', '/www/wwwroot/www.yh5...', 1528, ['request' => object(Request), 'interid' => '2951223', 'info' => ['yh_interlocution_id' => 2951223, 'yh_interlocution_title' => '...', 'yh_interlocution_con' => '...', ...], ...]) in Index.php line 1528
  3. at Index->queDetails(object(Request))
  4. at ReflectionMethod->invokeArgs(object(Index), [object(Request)]) in Container.php line 395
  5. at Container->invokeReflectMethod(object(Index), object(ReflectionMethod), ['interid' => '2951223', 'convert' => false]) in Module.php line 132
  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 137
  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 Dataempty
POST Dataempty
Filesempty
Cookies
gw_2951223_0 1
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_HOST www.yh596.com
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.yh596.com
SERVER_PORT 80
SERVER_ADDR 172.26.193.191
REMOTE_PORT 56178
REMOTE_ADDR 18.206.12.31
SERVER_SOFTWARE nginx/1.19.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/www.yh596.com/public
DOCUMENT_URI /index.php
REQUEST_URI /index/quedt/2951223
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/index/quedt/2951223
SCRIPT_FILENAME /www/wwwroot/www.yh596.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711635525.2257
REQUEST_TIME 1711635525
Environment Variablesempty
ThinkPHP Constantsempty