#0 [8]ErrorException in BaseIndex.php line 143

未定义变量: content

  1. foreach ($content as &$val){
  2. $val['url'] = $this -> getContUrl($val['id'],$column['id'],$column['module']);
  3. }
  4. break;
  5. case 6:
  6. $content = MessageField::where('column_id',$this -> id) -> order('weigh desc') -> order('id asc') -> select();
  7. break;
  8. }
  9. View::assign('content',$content);
  10. }
  11. }
  12. /**
  13. * 获取某个栏目的信息
  14. * @ApiParams (name="id", type="integer", required=true, description="栏目id")
  15. * @ApiParams (name="num", type="integer", required=true, description="获取条数")
  16. */
  17. protected function getContentList($id,$num){

Call Stack

  1. in BaseIndex.php line 143
  2. at Error->appError(8, 'Undefined variable: ...', 'D:\wwwroot\lailidiao...', 143, ['column' => null]) in BaseIndex.php line 143
  3. at BaseIndex->content() in BaseIndex.php line 50
  4. at BaseIndex->initialize() in BaseController.php line 50
  5. at BaseController->__construct(object(App))
  6. at ReflectionClass->newInstanceArgs([object(App)]) in Container.php line 395
  7. at Container->invokeClass('app\index\controller...', []) in Container.php line 254
  8. at Container->make('app\index\controller...', [], true) in Controller.php line 176
  9. at Controller->controller('Image') in Controller.php line 74
  10. at Controller->exec() in Dispatch.php line 89
  11. at Dispatch->run() in Route.php line 760
  12. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  13. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  14. at Pipeline->then(object(Closure)) in Route.php line 761
  15. at Route->dispatch(object(Request), object(Closure)) in Http.php line 210
  16. at Http->dispatchToRoute(object(Request)) in Http.php line 200
  17. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  18. at Pipeline->think\{closure}(object(Request)) in MultiApp.php line 71
  19. at MultiApp->think\app\{closure}(object(Request)) in Pipeline.php line 59
  20. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  21. at Pipeline->then(object(Closure)) in MultiApp.php line 72
  22. at MultiApp->handle(object(Request), object(Closure))
  23. at call_user_func([object(MultiApp), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  24. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  25. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  26. at SessionInit->handle(object(Request), object(Closure))
  27. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  28. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  29. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  30. at TraceDebug->handle(object(Request), object(Closure))
  31. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  32. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 84
  33. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 65
  34. at Pipeline->then(object(Closure)) in Http.php line 201
  35. at Http->runWithRequest(object(Request)) in Http.php line 162
  36. at Http->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Session
webNum 1
Server/Request Data
_FCGI_X_PIPE_ \\.\pipe\IISFCGI-1bae58e9-e297-4108-8529-4d7db815042f
PHP_FCGI_MAX_REQUESTS 1000
PHPRC C:\php_73
ALLUSERSPROFILE C:\ProgramData
APPDATA C:\Windows\system32\config\systemprofile\AppData\Roaming
APP_POOL_CONFIG C:\inetpub\temp\apppools\lailidiaozhuang\lailidiaozhuang.config
APP_POOL_ID lailidiaozhuang
CommonProgramFiles C:\Program Files (x86)\Common Files
CommonProgramFiles(x86) C:\Program Files (x86)\Common Files
CommonProgramW6432 C:\Program Files\Common Files
COMPUTERNAME EBS-3823
ComSpec C:\Windows\system32\cmd.exe
LOCALAPPDATA C:\Windows\system32\config\systemprofile\AppData\Local
NUMBER_OF_PROCESSORS 12
OS Windows_NT
Path C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\php_52;D:\mysql\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps
PATHEXT .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC
PROCESSOR_ARCHITECTURE x86
PROCESSOR_ARCHITEW6432 AMD64
PROCESSOR_IDENTIFIER Intel64 Family 6 Model 79 Stepping 1, GenuineIntel
PROCESSOR_LEVEL 6
PROCESSOR_REVISION 4f01
ProgramData C:\ProgramData
ProgramFiles C:\Program Files (x86)
ProgramFiles(x86) C:\Program Files (x86)
ProgramW6432 C:\Program Files
PSModulePath C:\Program Files\WindowsPowerShell\Modules;C:\Windows\system32\WindowsPowerShell\v1.0\Modules
PUBLIC C:\Users\Public
SystemDrive C:
SystemRoot C:\Windows
TEMP C:\Windows\TEMP
TMP C:\Windows\TEMP
USERDOMAIN WORKGROUP
USERNAME EBS-3823$
USERPROFILE C:\Windows\system32\config\systemprofile
windir C:\Windows
ORIG_PATH_INFO /index.php/index/imgShow/125/209
URL /index.php
SERVER_SOFTWARE Microsoft-IIS/10.0
SERVER_PROTOCOL HTTP/1.1
SERVER_PORT_SECURE 0
SERVER_PORT 80
SERVER_NAME gdlaili.cn
SCRIPT_NAME /index.php
SCRIPT_FILENAME D:\wwwroot\lailidiaozhuang\wwwroot\index.php
REQUEST_URI /index/imgShow/125/209
REQUEST_METHOD GET
REMOTE_USER
REMOTE_PORT 56964
REMOTE_HOST 127.0.0.1
REMOTE_ADDR 127.0.0.1
QUERY_STRING
PATH_TRANSLATED D:\wwwroot\lailidiaozhuang\wwwroot\index.php\index\imgShow\125\209
PATH_INFO /index/imgShow/125/209
LOGON_USER
LOCAL_ADDR 127.0.0.1
INSTANCE_META_PATH /LM/W3SVC/10858
INSTANCE_NAME LAILIDIAOZHUANG
INSTANCE_ID 10858
HTTPS_SERVER_SUBJECT
HTTPS_SERVER_ISSUER
HTTPS_SECRETKEYSIZE
HTTPS_KEYSIZE
HTTPS off
GATEWAY_INTERFACE CGI/1.1
DOCUMENT_ROOT D:\wwwroot\lailidiaozhuang\wwwroot
CONTENT_TYPE
CONTENT_LENGTH 0
CERT_SUBJECT
CERT_SERIALNUMBER
CERT_ISSUER
CERT_FLAGS
CERT_COOKIE
AUTH_USER
AUTH_PASSWORD
AUTH_TYPE
APPL_PHYSICAL_PATH D:\wwwroot\lailidiaozhuang\wwwroot\
APPL_MD_PATH /LM/W3SVC/10858/ROOT
IIS_UrlRewriteModule 7.1.1980.0
UNENCODED_URL /index/imgShow/125/209
IIS_WasUrlRewritten 1
HTTP_X_ORIGINAL_URL /index/imgShow/125/209
HTTP_X_REAL_IP 3.83.87.94
HTTP_X_FORWARDED_FOR 3.83.87.94
HTTP_USER_AGENT claudebot
HTTP_HOST gdlaili.cn
HTTP_ACCEPT */*
HTTP_CONTENT_LENGTH 0
HTTP_CONNECTION close
FCGI_ROLE RESPONDER
PHP_SELF /index.php/index/imgShow/125/209
REQUEST_TIME_FLOAT 1711641992.6024
REQUEST_TIME 1711641992
0.172177s