6163银河net163am·最老登录入口

#0 [0]TypeError in TreeService.php line 130

array_reverse(): Argument #1 ($array) must be of type array, null given

  1. * @param int
  2. *
  3. * @return array
  4. */
  5. public function get_pos($myid, $pid = 0)
  6. {
  7. $this->arrt = null;
  8. $this->recur_n($this->arr, $myid, $pid);
  9. return array_reverse($this->arrt);
  10. }
  11. private function recur_n($arr, $tid, $pid)
  12. {
  13. foreach ($arr as $v) {
  14. if ($v['id'] == $tid) {
  15. $this->arrt[] = $v;
  16. if ($v['pid'] != $pid) {
  17. $this->recur_n($arr, $v['pid'], $pid);

Call Stack

  1. in TreeService.php line 130
  2. at array_reverse() in TreeService.php line 130
  3. at TreeService->get_pos() in Article.php line 46
  4. at Article->index()
  5. at ReflectionMethod->invokeArgs() in Container.php line 344
  6. at Container->invokeReflectMethod() in Controller.php line 110
  7. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  8. at Pipeline->think\{closure}() in Browers.php line 57
  9. at Browers->handle()
  10. at call_user_func() in Middleware.php line 142
  11. at Middleware->think\{closure}() in Pipeline.php line 85
  12. at Pipeline->think\{closure}() in Pipeline.php line 66
  13. at Pipeline->then() in Controller.php line 113
  14. at Controller->exec() in Dispatch.php line 90
  15. at Dispatch->run() in Route.php line 785
  16. at Route->think\{closure}() in Pipeline.php line 59
  17. at Pipeline->think\{closure}() in Pipeline.php line 66
  18. at Pipeline->then() in Route.php line 786
  19. at Route->dispatch() in Http.php line 216
  20. at Http->dispatchToRoute() in Http.php line 206
  21. at Http->think\{closure}() in Pipeline.php line 59
  22. at Pipeline->think\{closure}() in MultiApp.php line 71
  23. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  24. at Pipeline->think\{closure}() in Pipeline.php line 66
  25. at Pipeline->then() in MultiApp.php line 72
  26. at MultiApp->handle()
  27. at call_user_func() in Middleware.php line 142
  28. at Middleware->think\{closure}() in Pipeline.php line 85
  29. at Pipeline->think\{closure}() in SessionInit.php line 67
  30. at SessionInit->handle()
  31. at call_user_func() in Middleware.php line 142
  32. at Middleware->think\{closure}() in Pipeline.php line 85
  33. at Pipeline->think\{closure}() in TraceDebug.php line 71
  34. at TraceDebug->handle()
  35. at call_user_func() in Middleware.php line 142
  36. at Middleware->think\{closure}() in Pipeline.php line 85
  37. at Pipeline->think\{closure}() in Pipeline.php line 66
  38. at Pipeline->then() in Http.php line 207
  39. at Http->runWithRequest() in Http.php line 170
  40. at Http->run() in index.php line 22

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID 0b766f3cec7804fabcf2e1ab504f3fda
SITE_TOTAL_ID c6fac8a050ea9c9b565af8e8509a62e2
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=0b766f3cec7804fabcf2e1ab504f3fda; SITE_TOTAL_ID=c6fac8a050ea9c9b565af8e8509a62e2
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_HOST drsthj.com
HTTP_USER_AGENT Mozilla/5.0 (Linux; Android 6.0.1; Nexus 5X Build/MMB29P) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/151.0.7922.137 Mobile Safari/537.36 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME drsthj.com
SERVER_PORT 80
SERVER_ADDR 172.17.235.78
REMOTE_PORT 36146
REMOTE_ADDR 172.121.102.250
SERVER_SOFTWARE nginx/1.22.0
GATEWAY_INTERFACE CGI/1.1
REQUEST_SCHEME http
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /mnt/www/drsthj.com/public
DOCUMENT_URI /index.php
REQUEST_URI /cases/15_67.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=//cases/15_67.html
SCRIPT_FILENAME /mnt/www/drsthj.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1786917976.4753
REQUEST_TIME 1786917976