#0 [404]Exception in Index.php line 75

The enterprise does not exist

  1. public function corp()
  2. {
  3. $id = request()->param('id');
  4. $corp = Corp::where([
  5. 'language' => $this->lang,
  6. 'pid' => $id
  7. ])->find();
  8. if (!$corp) {
  9. throw new \Exception('The enterprise does not exist', 404);
  10. }
  11. $corpComment = CorpComment::where([
  12. 'language' => $this->lang,
  13. 'corp_id' => $id
  14. ])->limit(2)->select();
  15. $corpQuestion = corpQuestion::where([
  16. 'language' => $this->lang,
  17. 'corp_id' => $id
  18. ])->limit(2)->select();

Call Stack

  1. in Index.php line 75
  2. at Index->corp()
  3. at ReflectionMethod->invokeArgs() in Container.php line 345
  4. at Container->invokeReflectMethod() in Controller.php line 110
  5. at Controller->think\route\dispatch\{closure}() in Pipeline.php line 59
  6. at Pipeline->think\{closure}() in Pipeline.php line 66
  7. at Pipeline->then() in Controller.php line 113
  8. at Controller->exec() in Dispatch.php line 52
  9. at Dispatch->run() in Route.php line 755
  10. at Route->think\{closure}() in Pipeline.php line 59
  11. at Pipeline->think\{closure}() in VisitLogMiddleware.php line 45
  12. at VisitLogMiddleware->handle()
  13. at call_user_func() in Middleware.php line 134
  14. at Middleware->think\{closure}() in Pipeline.php line 85
  15. at Pipeline->think\{closure}() in Pipeline.php line 66
  16. at Pipeline->then() in Route.php line 756
  17. at Route->dispatch() in Http.php line 208
  18. at Http->dispatchToRoute() in Http.php line 198
  19. at Http->think\{closure}() in Pipeline.php line 59
  20. at Pipeline->think\{closure}() in MultiApp.php line 51
  21. at MultiApp->think\app\{closure}() in Pipeline.php line 59
  22. at Pipeline->think\{closure}() in Pipeline.php line 66
  23. at Pipeline->then() in MultiApp.php line 52
  24. at MultiApp->handle()
  25. at call_user_func() in Middleware.php line 134
  26. at Middleware->think\{closure}() in Pipeline.php line 85
  27. at Pipeline->think\{closure}() in CheckLang.php line 14
  28. at CheckLang->handle()
  29. at call_user_func() in Middleware.php line 134
  30. at Middleware->think\{closure}() in Pipeline.php line 85
  31. at Pipeline->think\{closure}() in SessionInit.php line 58
  32. at SessionInit->handle()
  33. at call_user_func() in Middleware.php line 134
  34. at Middleware->think\{closure}() in Pipeline.php line 85
  35. at Pipeline->think\{closure}() in TraceDebug.php line 71
  36. at TraceDebug->handle()
  37. at call_user_func() in Middleware.php line 134
  38. at Middleware->think\{closure}() in Pipeline.php line 85
  39. at Pipeline->think\{closure}() in Pipeline.php line 66
  40. at Pipeline->then() in Http.php line 199
  41. at Http->runWithRequest() in Http.php line 162
  42. at Http->run() in index.php line 19

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_USER_AGENT claudebot
HTTP_ACCEPT */*
HTTP_HOST www.togtok.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME www.togtok.com
SERVER_PORT 443
SERVER_ADDR 172.31.25.41
REMOTE_PORT 56654
REMOTE_ADDR 54.173.221.132
SERVER_SOFTWARE nginx/1.20.2
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/www.togtok.com/public
DOCUMENT_URI /index.php
REQUEST_URI /4030-65662-latex-waist-trainer-25-steel-bone-women-binders-and-shapers-corset-modeling-strap-body-shaper-colombian-girdles-slimming-belt.html
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=/4030-65662-latex-waist-trainer-25-steel-bone-women-binders-and-shapers-corset-modeling-strap-body-shaper-colombian-girdles-slimming-belt.html
SCRIPT_FILENAME /www/wwwroot/www.togtok.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1711672656.2455
REQUEST_TIME 1711672656
0.381953s