9428cn太阳集团

#0 [0]ViewException in Driver.php line 120

only array cache can be push (View: /home/wwwroot/new_web.cn/view/cms/cms/show/news-show.blade.php)

  1. * @param string $name 缓存变量名
  2. * @param mixed $value 存储数据
  3. * @return void
  4. */
  5. public function push($name, $value): void
  6. {
  7. $item = $this->get($name, []);
  8. if (!is_array($item)) {
  9. throw new InvalidArgumentException('only array cache can be push');
  10. }
  11. $item[] = $value;
  12. if (count($item) > 1000) {
  13. array_shift($item);
  14. }
  15. $item = array_unique($item);

Call Stack

  1. in Driver.php line 120
  2. at CompilerEngine->handleViewException() in PhpEngine.php line 50
  3. at PhpEngine->evaluatePath() in CompilerEngine.php line 75
  4. at CompilerEngine->get() in View.php line 195
  5. at View->getContents() in View.php line 178
  6. at View->renderContents() in View.php line 147
  7. at View->render() in Blade.php line 130
  8. at Blade->fetch() in View.php line 91
  9. at View->think\{closure}() in View.php line 123
  10. at View->getContent() in View.php line 92
  11. at View->fetch()
  12. at call_user_func_array() in Facade.php line 97
  13. at Facade::__callStatic() in Base.php line 83
  14. at Base->fetch() in Index.php line 187
  15. at Index->showPage()
  16. at ReflectionMethod->invokeArgs() in Container.php line 348
  17. at Container->invokeReflectMethod() in Dispatch.php line 178
  18. at Dispatch->think\route\{closure}() in Pipeline.php line 59
  19. at Pipeline->think\{closure}() in Pipeline.php line 66
  20. at Pipeline->then() in Dispatch.php line 181
  21. at Dispatch->responseWithMiddlewarePipeline() in Controller.php line 88
  22. at Controller->exec() in Dispatch.php line 56
  23. at Dispatch->run() in Route.php line 713
  24. at Route->think\{closure}() in Pipeline.php line 59
  25. at Pipeline->think\{closure}() in Pipeline.php line 66
  26. at Pipeline->then() in Route.php line 714
  27. at Route->dispatch() in Http.php line 208
  28. at Http->dispatchToRoute() in Http.php line 198
  29. at Http->think\{closure}() in Pipeline.php line 59
  30. at Pipeline->think\{closure}() in MultiApp.php line 51
  31. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  32. at Pipeline->think\{closure}() in Pipeline.php line 66
  33. at Pipeline->then() in MultiApp.php line 52
  34. at MultiApp->handle()
  35. at call_user_func() in Middleware.php line 134
  36. at Middleware->think\{closure}() in Pipeline.php line 85
  37. at Pipeline->think\{closure}() in SessionInit.php line 58
  38. at SessionInit->handle()
  39. at call_user_func() in Middleware.php line 134
  40. at Middleware->think\{closure}() in Pipeline.php line 85
  41. at Pipeline->think\{closure}() in LoadLangPack.php line 53
  42. at LoadLangPack->handle()
  43. at call_user_func() in Middleware.php line 134
  44. at Middleware->think\{closure}() in Pipeline.php line 85
  45. at Pipeline->think\{closure}() in TraceDebug.php line 71
  46. at TraceDebug->handle()
  47. at call_user_func() in Middleware.php line 134
  48. at Middleware->think\{closure}() in Pipeline.php line 85
  49. at Pipeline->think\{closure}() in Pipeline.php line 66
  50. at Pipeline->then() in Http.php line 199
  51. at Http->runWithRequest() in Http.php line 162
  52. at Http->run() in index.php line 20

#1 [0]InvalidArgumentException in Driver.php line 120

only array cache can be push

  1. * @param string $name 缓存变量名
  2. * @param mixed $value 存储数据
  3. * @return void
  4. */
  5. public function push($name, $value): void
  6. {
  7. $item = $this->get($name, []);
  8. if (!is_array($item)) {
  9. throw new InvalidArgumentException('only array cache can be push');
  10. }
  11. $item[] = $value;
  12. if (count($item) > 1000) {
  13. array_shift($item);
  14. }
  15. $item = array_unique($item);

Call Stack

  1. in Driver.php line 120
  2. at Driver->push() in Driver.php line 143
  3. at Driver->append() in TagSet.php line 62
  4. at TagSet->append() in TagSet.php line 45
  5. at TagSet->set() in common.php line 790
  6. at getNextInfo() in ea35ce26463d6e9de1e315e06bc3b789820a385c8ba0149ce34af6830d35e2a9.php line 12
  7. at require('/home/wwwroot/new_we...') in PhpEngine.php line 92
  8. at PhpEngine::Illuminate\View\Engines\{closure}() in PhpEngine.php line 93
  9. at PhpEngine->getRequire() in PhpEngine.php line 48
  10. at PhpEngine->evaluatePath() in CompilerEngine.php line 75
  11. at CompilerEngine->get() in View.php line 195
  12. at View->getContents() in View.php line 178
  13. at View->renderContents() in View.php line 147
  14. at View->render() in Blade.php line 130
  15. at Blade->fetch() in View.php line 91
  16. at View->think\{closure}() in View.php line 123
  17. at View->getContent() in View.php line 92
  18. at View->fetch()
  19. at call_user_func_array() in Facade.php line 97
  20. at Facade::__callStatic() in Base.php line 83
  21. at Base->fetch() in Index.php line 187
  22. at Index->showPage()
  23. at ReflectionMethod->invokeArgs() in Container.php line 348
  24. at Container->invokeReflectMethod() in Dispatch.php line 178
  25. at Dispatch->think\route\{closure}() in Pipeline.php line 59
  26. at Pipeline->think\{closure}() in Pipeline.php line 66
  27. at Pipeline->then() in Dispatch.php line 181
  28. at Dispatch->responseWithMiddlewarePipeline() in Controller.php line 88
  29. at Controller->exec() in Dispatch.php line 56
  30. at Dispatch->run() in Route.php line 713
  31. at Route->think\{closure}() in Pipeline.php line 59
  32. at Pipeline->think\{closure}() in Pipeline.php line 66
  33. at Pipeline->then() in Route.php line 714
  34. at Route->dispatch() in Http.php line 208
  35. at Http->dispatchToRoute() in Http.php line 198
  36. at Http->think\{closure}() in Pipeline.php line 59
  37. at Pipeline->think\{closure}() in MultiApp.php line 51
  38. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  39. at Pipeline->think\{closure}() in Pipeline.php line 66
  40. at Pipeline->then() in MultiApp.php line 52
  41. at MultiApp->handle()
  42. at call_user_func() in Middleware.php line 134
  43. at Middleware->think\{closure}() in Pipeline.php line 85
  44. at Pipeline->think\{closure}() in SessionInit.php line 58
  45. at SessionInit->handle()
  46. at call_user_func() in Middleware.php line 134
  47. at Middleware->think\{closure}() in Pipeline.php line 85
  48. at Pipeline->think\{closure}() in LoadLangPack.php line 53
  49. at LoadLangPack->handle()
  50. at call_user_func() in Middleware.php line 134
  51. at Middleware->think\{closure}() in Pipeline.php line 85
  52. at Pipeline->think\{closure}() in TraceDebug.php line 71
  53. at TraceDebug->handle()
  54. at call_user_func() in Middleware.php line 134
  55. at Middleware->think\{closure}() in Pipeline.php line 85
  56. at Pipeline->think\{closure}() in Pipeline.php line 66
  57. at Pipeline->then() in Http.php line 199
  58. at Http->runWithRequest() in Http.php line 162
  59. at Http->run() in index.php line 20

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookies
PHPSESSID eb97cbbca0a0d36591e6828d037569fc
web_global_lang zh-cn
Session
__token__ 2a3c0be36fc460f13a39c440b3004775
Server/Request Data
USER www
HOME /home/www
HTTP_COOKIE PHPSESSID=eb97cbbca0a0d36591e6828d037569fc; web_global_lang=zh-cn
HTTP_ACCEPT_ENCODING gzip
HTTP_ACCEPT */*
HTTP_USER_AGENT Mozilla/5.0 (compatible; Googlebot/2.1; +http://www.google.com/bot.html)
PATH_INFO
HTTP_HOST www.cnsszn.com
REDIRECT_STATUS 200
SERVER_NAME new_web.com
SERVER_PORT 443
SERVER_ADDR 192.168.0.178
REMOTE_PORT 49696
REMOTE_ADDR 107.158.193.234
SERVER_SOFTWARE nginx/1.26.3
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /home/wwwroot/new_web.cn/public
DOCUMENT_URI /index.php
REQUEST_URI /exhibition-news/76
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/exhibition-news/76
SCRIPT_FILENAME /home/wwwroot/new_web.cn/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1789640082.1291
REQUEST_TIME 1789640082