澳门威斯尼斯人(官方VIP认证)-最新App Store下载

#0 [8]ErrorException in Custom.php line 435

未定义变量: articlePrev

  1. $articlePrev = []; //如果为第一条记录则为空
  2. }else{
  3. if($k == $thisKey - 1){
  4. //上一条记录
  5. $articlePrev = ['id'=>$v['id'], 'cat_id'=>$v['cat_id'], 'title'=>$v['title']];
  6. }
  7. }
  8. }
  9. return $articlePrev;
  10. }
  11. /**
  12. * 获得指定图文的下一篇图文
  13. * @param string $id 图文ID
  14. * @param string $cat_id 栏目ID
  15. * @param string $table 数据表
  16. */
  17. public function getArticleNext($id, $cat_id, string $table)

Call Stack

  1. in Custom.php line 435
  2. at Error->appError(8, 'Undefined variable: ...', '/usr/home/hyu7574570...', 435, ['id' => 19, 'cat_id' => 73, 'table' => 'data_article_show_yi...', ...]) in Custom.php line 435
  3. at Custom->getArticlePrev(19, 73, 'data_article_show_yi...') in Article.php line 229
  4. at Article->show()
  5. at ReflectionMethod->invokeArgs(object(Article), []) in Container.php line 344
  6. at Container->invokeReflectMethod(object(Article), object(ReflectionMethod), ['cat_id' => '73', 'id' => '19']) in Controller.php line 110
  7. at Controller->think\route\dispatch\{closure}(object(Request)) in Pipeline.php line 59
  8. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  9. at Pipeline->then(object(Closure)) in Controller.php line 113
  10. at Controller->exec() in Dispatch.php line 90
  11. at Dispatch->run() in Route.php line 772
  12. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  13. at Pipeline->think\{closure}(object(Request)) in Library.php line 139
  14. at Library->think\admin\{closure}(object(Request), object(Closure))
  15. at call_user_func(object(Closure), object(Request), object(Closure)) in Middleware.php line 142
  16. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  17. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  18. at Pipeline->then(object(Closure)) in Route.php line 773
  19. at Route->dispatch(object(Request), object(Closure)) in Http.php line 216
  20. at Http->dispatchToRoute(object(Request)) in Http.php line 206
  21. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  22. at Pipeline->think\{closure}(object(Request)) in Multiple.php line 72
  23. at Multiple->think\admin\multiple\{closure}(object(Request)) in Pipeline.php line 59
  24. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  25. at Pipeline->then(object(Closure)) in Multiple.php line 73
  26. at Multiple->handle(object(Request), object(Closure))
  27. at call_user_func([object(Multiple), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  28. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  29. at Pipeline->think\{closure}(object(Request)) in LoadLangPack.php line 57
  30. at LoadLangPack->handle(object(Request), object(Closure))
  31. at call_user_func([object(LoadLangPack), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  32. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  33. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  34. at SessionInit->handle(object(Request), object(Closure))
  35. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  36. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  37. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  38. at Pipeline->then(object(Closure)) in Http.php line 207
  39. at Http->runWithRequest(object(Request)) in Http.php line 170
  40. at Http->run() in SystemService.php line 484
  41. at SystemService->doInit() in index.php line 10

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
ssid 10e3fa3b8353df5cbc7102c5dd4c4a3b
lang zh-cn
Session
lang cn
Server/Request Data
DOCUMENT_ROOT /usr/home/hyu7574570001/htdocs
GATEWAY_INTERFACE CGI/1.1
HTTP_ACCEPT */*
HTTP_ACCEPT_ENCODING gzip
HTTP_COOKIE ssid=10e3fa3b8353df5cbc7102c5dd4c4a3b; lang=zh-cn
HTTP_HOST www.admicrochip.com
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
PATH /bin
PHPRC /var/www/php74/hichina_ini/hyu7574570001
QUERY_STRING s=/index/Article/show/cat_id/73/id/19
REDIRECT_DOCUMENT_ROOT /usr/home/hyu7574570001/htdocs
REDIRECT_GATEWAY_INTERFACE CGI/1.1
REDIRECT_HTTP_ACCEPT */*
REDIRECT_HTTP_ACCEPT_ENCODING gzip
REDIRECT_HTTP_COOKIE ssid=10e3fa3b8353df5cbc7102c5dd4c4a3b; lang=zh-cn
REDIRECT_HTTP_HOST www.admicrochip.com
REDIRECT_HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
REDIRECT_PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
REDIRECT_PATH_INFO /Article/show/cat_id/73/id/19
REDIRECT_PATH_TRANSLATED redirect:/index.php/show/cat_id/73/id/19
REDIRECT_QUERY_STRING s=/index/Article/show/cat_id/73/id/19
REDIRECT_REMOTE_ADDR 50.2.190.218
REDIRECT_REMOTE_PORT 49844
REDIRECT_REQUEST_METHOD GET
REDIRECT_REQUEST_URI /index/Article/show/cat_id/73/id/19
REDIRECT_SCRIPT_FILENAME /usr/home/hyu7574570001/htdocs/index
REDIRECT_SCRIPT_NAME /index
REDIRECT_SCRIPT_URI /index/Article/show/cat_id/73/id/19
REDIRECT_SCRIPT_URL /index/Article/show/cat_id/73/id/19
REDIRECT_SERVER_ADDR 10.21.143.23
REDIRECT_SERVER_ADMIN webmaster@hyu7574570001.my3w.com
REDIRECT_SERVER_NAME www.admicrochip.com
REDIRECT_SERVER_PORT 80
REDIRECT_SERVER_PROTOCOL HTTP/1.1
REDIRECT_SERVER_SIGNATURE
REDIRECT_SERVER_SOFTWARE Apache
REDIRECT_STATUS 200
REDIRECT_TZ Asia/Shanghai
REDIRECT_UNIQUE_ID ZdinwQoVjxcAOfON2SAAAAAC
REDIRECT_URL /index/Article/show/cat_id/73/id/19
REMOTE_ADDR 50.2.190.218
REMOTE_PORT 49844
REQUEST_METHOD GET
REQUEST_URI /index/Article/show/cat_id/73/id/19
SCRIPT_FILENAME /usr/home/hyu7574570001/htdocs/index.php
SCRIPT_NAME /index.php
SCRIPT_URI /index/Article/show/cat_id/73/id/19
SCRIPT_URL /index/Article/show/cat_id/73/id/19
SERVER_ADDR 10.21.143.23
SERVER_ADMIN webmaster@hyu7574570001.my3w.com
SERVER_NAME www.admicrochip.com
SERVER_PORT 80
SERVER_PROTOCOL HTTP/1.1
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
TZ Asia/Shanghai
UNIQUE_ID ZdinwQoVjxcAOfON2SAAAAAC
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1708697537.3055
REQUEST_TIME 1708697537
XML 地图