1. foreach ($services as $service) {
  2. $this->app->register($service);
  3. }
  4. }
  5. try {
  6. // 实例化控制器
  7. $instance = $this->controller($this->controller);
  8. } catch (ClassNotFoundException $e) {
  9. throw new HttpException(404, 'controller not exists:' . $e->getClass());
  10. }
  11. // 注册控制器中间件
  12. $this->registerControllerMiddleware($instance);
  13. return $this->app->middleware->pipeline('controller')
  14. ->send($this->request)
  15. ->then(function () use ($instance) {
  16. // 获取当前操作名

Call Stack

  1. in Controller.php line 101
  2. at Controller->exec() in Dispatch.php line 89
  3. at Dispatch->run() in Route.php line 772
  4. at Route->think\{closure}(object(Request)) in Pipeline.php line 59
  5. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  6. at Pipeline->then(object(Closure)) in Route.php line 773
  7. at Route->dispatch(object(Request), object(Closure)) in Http.php line 217
  8. at Http->dispatchToRoute(object(Request)) in Http.php line 207
  9. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  10. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  11. at SessionInit->handle(object(Request), object(Closure))
  12. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  13. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  14. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  15. at TraceDebug->handle(object(Request), object(Closure))
  16. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  17. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  18. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  19. at Pipeline->then(object(Closure)) in Http.php line 208
  20. at Http->runWithRequest(object(Request)) in Http.php line 171
  21. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST zhi.kolyun.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME zhi.kolyun.com
SERVER_PORT 443
SERVER_ADDR 172.22.134.161
REMOTE_PORT 57671
REMOTE_ADDR 216.73.216.119
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/zhi.kolyun.com/public
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.xml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=sitemap.xml
SCRIPT_FILENAME /www/wwwroot/zhi.kolyun.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772768059.8232
REQUEST_TIME 1772768059
系统发生错误
  1. </tr>
  2. <?php } ?>
  3. </tbody>
  4. <?php } ?>
  5. </table>
  6. <?php } ?>
  7. </div>
  8. <?php } ?>
  9. <?php/*!--div class="copyright">
  10. <a title="官方网站" href="http://www.thinkphp.cn">ThinkPHP</a>
  11. <span>V<?php echo \think\facade\App::version(); ?></span>
  12. <span>{ 十年磨一剑-为API开发设计的高性能框架 }</span>
  13. <span>- <a title="官方手册" href="https://www.kancloud.cn/manual/thinkphp6_0/content">官方手册</a></span>
  14. </div--*/?>
  15. <?php if (\think\facade\App::isDebug()) { ?>
  16. <script>
  17. function $(selector, node){
  18. var elements;

Call Stack

  1. in think_exception.tpl line 395
  2. at Error->appError(2, 'Use of undefined con...', '/www/wwwroot/zhi.kol...', 395, ['exception' => object(HttpException), 'data' => ['code' => 0, 'message' => '控制器不存在:a...', 'traces' => [['name' => 'think\exception\Http...', 'file' => '/www/wwwroot/zhi.kol...', 'line' => 101, ...]], ...], 'code' => 0, ...]) in think_exception.tpl line 395
  3. at include('/www/wwwroot/zhi.kol...') in Handle.php line 224
  4. at Handle->renderExceptionContent(object(HttpException)) in Handle.php line 206
  5. at Handle->convertExceptionToResponse(object(HttpException)) in Handle.php line 142
  6. at Handle->renderHttpException(object(HttpException)) in Handle.php line 109
  7. at Handle->render(object(Request), object(HttpException)) in Middleware.php line 185
  8. at Middleware->handleException(object(Request), object(HttpException))
  9. at call_user_func([object(Middleware), 'handleException'], object(Request), object(HttpException)) in Pipeline.php line 102
  10. at Pipeline->handleException(object(Request), object(HttpException)) in Pipeline.php line 61
  11. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  12. at Pipeline->then(object(Closure)) in Route.php line 773
  13. at Route->dispatch(object(Request), object(Closure)) in Http.php line 217
  14. at Http->dispatchToRoute(object(Request)) in Http.php line 207
  15. at Http->think\{closure}(object(Request)) in Pipeline.php line 59
  16. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  17. at SessionInit->handle(object(Request), object(Closure))
  18. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  19. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  20. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  21. at TraceDebug->handle(object(Request), object(Closure))
  22. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  23. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  24. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  25. at Pipeline->then(object(Closure)) in Http.php line 208
  26. at Http->runWithRequest(object(Request)) in Http.php line 171
  27. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST zhi.kolyun.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME zhi.kolyun.com
SERVER_PORT 443
SERVER_ADDR 172.22.134.161
REMOTE_PORT 57671
REMOTE_ADDR 216.73.216.119
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/zhi.kolyun.com/public
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.xml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=sitemap.xml
SCRIPT_FILENAME /www/wwwroot/zhi.kolyun.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772768059.8232
REQUEST_TIME 1772768059
系统发生错误
  1. </tr>
  2. <?php } ?>
  3. </tbody>
  4. <?php } ?>
  5. </table>
  6. <?php } ?>
  7. </div>
  8. <?php } ?>
  9. <?php/*!--div class="copyright">
  10. <a title="官方网站" href="http://www.thinkphp.cn">ThinkPHP</a>
  11. <span>V<?php echo \think\facade\App::version(); ?></span>
  12. <span>{ 十年磨一剑-为API开发设计的高性能框架 }</span>
  13. <span>- <a title="官方手册" href="https://www.kancloud.cn/manual/thinkphp6_0/content">官方手册</a></span>
  14. </div--*/?>
  15. <?php if (\think\facade\App::isDebug()) { ?>
  16. <script>
  17. function $(selector, node){
  18. var elements;

Call Stack

  1. in think_exception.tpl line 395
  2. at Error->appError(2, 'Use of undefined con...', '/www/wwwroot/zhi.kol...', 395, ['exception' => object(ErrorException), 'data' => ['code' => 2, 'message' => 'Use of undefined con...', 'traces' => [['name' => 'think\exception\Erro...', 'file' => '/www/wwwroot/zhi.kol...', 'line' => 395, ...]], ...], 'code' => 2, ...]) in think_exception.tpl line 395
  3. at include('/www/wwwroot/zhi.kol...') in Handle.php line 224
  4. at Handle->renderExceptionContent(object(ErrorException)) in Handle.php line 206
  5. at Handle->convertExceptionToResponse(object(ErrorException)) in Handle.php line 111
  6. at Handle->render(object(Request), object(ErrorException)) in Middleware.php line 185
  7. at Middleware->handleException(object(Request), object(ErrorException))
  8. at call_user_func([object(Middleware), 'handleException'], object(Request), object(ErrorException)) in Pipeline.php line 102
  9. at Pipeline->handleException(object(Request), object(ErrorException)) in Pipeline.php line 61
  10. at Pipeline->think\{closure}(object(Request)) in SessionInit.php line 67
  11. at SessionInit->handle(object(Request), object(Closure))
  12. at call_user_func([object(SessionInit), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  13. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  14. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  15. at TraceDebug->handle(object(Request), object(Closure))
  16. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  17. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  18. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  19. at Pipeline->then(object(Closure)) in Http.php line 208
  20. at Http->runWithRequest(object(Request)) in Http.php line 171
  21. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST zhi.kolyun.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME zhi.kolyun.com
SERVER_PORT 443
SERVER_ADDR 172.22.134.161
REMOTE_PORT 57671
REMOTE_ADDR 216.73.216.119
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/zhi.kolyun.com/public
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.xml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=sitemap.xml
SCRIPT_FILENAME /www/wwwroot/zhi.kolyun.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772768059.8232
REQUEST_TIME 1772768059
系统发生错误
  1. </tr>
  2. <?php } ?>
  3. </tbody>
  4. <?php } ?>
  5. </table>
  6. <?php } ?>
  7. </div>
  8. <?php } ?>
  9. <?php/*!--div class="copyright">
  10. <a title="官方网站" href="http://www.thinkphp.cn">ThinkPHP</a>
  11. <span>V<?php echo \think\facade\App::version(); ?></span>
  12. <span>{ 十年磨一剑-为API开发设计的高性能框架 }</span>
  13. <span>- <a title="官方手册" href="https://www.kancloud.cn/manual/thinkphp6_0/content">官方手册</a></span>
  14. </div--*/?>
  15. <?php if (\think\facade\App::isDebug()) { ?>
  16. <script>
  17. function $(selector, node){
  18. var elements;

Call Stack

  1. in think_exception.tpl line 395
  2. at Error->appError(2, 'Use of undefined con...', '/www/wwwroot/zhi.kol...', 395, ['exception' => object(ErrorException), 'data' => ['code' => 2, 'message' => 'Use of undefined con...', 'traces' => [['name' => 'think\exception\Erro...', 'file' => '/www/wwwroot/zhi.kol...', 'line' => 395, ...]], ...], 'code' => 2, ...]) in think_exception.tpl line 395
  3. at include('/www/wwwroot/zhi.kol...') in Handle.php line 224
  4. at Handle->renderExceptionContent(object(ErrorException)) in Handle.php line 206
  5. at Handle->convertExceptionToResponse(object(ErrorException)) in Handle.php line 111
  6. at Handle->render(object(Request), object(ErrorException)) in Middleware.php line 185
  7. at Middleware->handleException(object(Request), object(ErrorException))
  8. at call_user_func([object(Middleware), 'handleException'], object(Request), object(ErrorException)) in Pipeline.php line 102
  9. at Pipeline->handleException(object(Request), object(ErrorException)) in Pipeline.php line 87
  10. at Pipeline->think\{closure}(object(Request)) in TraceDebug.php line 71
  11. at TraceDebug->handle(object(Request), object(Closure))
  12. at call_user_func([object(TraceDebug), 'handle'], object(Request), object(Closure)) in Middleware.php line 142
  13. at Middleware->think\{closure}(object(Request), object(Closure)) in Pipeline.php line 85
  14. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  15. at Pipeline->then(object(Closure)) in Http.php line 208
  16. at Http->runWithRequest(object(Request)) in Http.php line 171
  17. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST zhi.kolyun.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME zhi.kolyun.com
SERVER_PORT 443
SERVER_ADDR 172.22.134.161
REMOTE_PORT 57671
REMOTE_ADDR 216.73.216.119
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/zhi.kolyun.com/public
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.xml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=sitemap.xml
SCRIPT_FILENAME /www/wwwroot/zhi.kolyun.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772768059.8232
REQUEST_TIME 1772768059
系统发生错误
  1. </tr>
  2. <?php } ?>
  3. </tbody>
  4. <?php } ?>
  5. </table>
  6. <?php } ?>
  7. </div>
  8. <?php } ?>
  9. <?php/*!--div class="copyright">
  10. <a title="官方网站" href="http://www.thinkphp.cn">ThinkPHP</a>
  11. <span>V<?php echo \think\facade\App::version(); ?></span>
  12. <span>{ 十年磨一剑-为API开发设计的高性能框架 }</span>
  13. <span>- <a title="官方手册" href="https://www.kancloud.cn/manual/thinkphp6_0/content">官方手册</a></span>
  14. </div--*/?>
  15. <?php if (\think\facade\App::isDebug()) { ?>
  16. <script>
  17. function $(selector, node){
  18. var elements;

Call Stack

  1. in think_exception.tpl line 395
  2. at Error->appError(2, 'Use of undefined con...', '/www/wwwroot/zhi.kol...', 395, ['exception' => object(ErrorException), 'data' => ['code' => 2, 'message' => 'Use of undefined con...', 'traces' => [['name' => 'think\exception\Erro...', 'file' => '/www/wwwroot/zhi.kol...', 'line' => 395, ...]], ...], 'code' => 2, ...]) in think_exception.tpl line 395
  3. at include('/www/wwwroot/zhi.kol...') in Handle.php line 224
  4. at Handle->renderExceptionContent(object(ErrorException)) in Handle.php line 206
  5. at Handle->convertExceptionToResponse(object(ErrorException)) in Handle.php line 111
  6. at Handle->render(object(Request), object(ErrorException)) in Middleware.php line 185
  7. at Middleware->handleException(object(Request), object(ErrorException))
  8. at call_user_func([object(Middleware), 'handleException'], object(Request), object(ErrorException)) in Pipeline.php line 102
  9. at Pipeline->handleException(object(Request), object(ErrorException)) in Pipeline.php line 87
  10. at Pipeline->think\{closure}(object(Request)) in Pipeline.php line 66
  11. at Pipeline->then(object(Closure)) in Http.php line 208
  12. at Http->runWithRequest(object(Request)) in Http.php line 171
  13. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST zhi.kolyun.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME zhi.kolyun.com
SERVER_PORT 443
SERVER_ADDR 172.22.134.161
REMOTE_PORT 57671
REMOTE_ADDR 216.73.216.119
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/zhi.kolyun.com/public
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.xml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=sitemap.xml
SCRIPT_FILENAME /www/wwwroot/zhi.kolyun.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772768059.8232
REQUEST_TIME 1772768059
系统发生错误
  1. </tr>
  2. <?php } ?>
  3. </tbody>
  4. <?php } ?>
  5. </table>
  6. <?php } ?>
  7. </div>
  8. <?php } ?>
  9. <?php/*!--div class="copyright">
  10. <a title="官方网站" href="http://www.thinkphp.cn">ThinkPHP</a>
  11. <span>V<?php echo \think\facade\App::version(); ?></span>
  12. <span>{ 十年磨一剑-为API开发设计的高性能框架 }</span>
  13. <span>- <a title="官方手册" href="https://www.kancloud.cn/manual/thinkphp6_0/content">官方手册</a></span>
  14. </div--*/?>
  15. <?php if (\think\facade\App::isDebug()) { ?>
  16. <script>
  17. function $(selector, node){
  18. var elements;

Call Stack

  1. in think_exception.tpl line 395
  2. at Error->appError(2, 'Use of undefined con...', '/www/wwwroot/zhi.kol...', 395, ['exception' => object(ErrorException), 'data' => ['code' => 2, 'message' => 'Use of undefined con...', 'traces' => [['name' => 'think\exception\Erro...', 'file' => '/www/wwwroot/zhi.kol...', 'line' => 395, ...]], ...], 'code' => 2, ...]) in think_exception.tpl line 395
  3. at include('/www/wwwroot/zhi.kol...') in Handle.php line 224
  4. at Handle->renderExceptionContent(object(ErrorException)) in Handle.php line 206
  5. at Handle->convertExceptionToResponse(object(ErrorException)) in Handle.php line 111
  6. at Handle->render(object(Request), object(ErrorException)) in Http.php line 305
  7. at Http->renderException(object(Request), object(ErrorException)) in Http.php line 175
  8. at Http->run() in index.php line 32

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST zhi.kolyun.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME zhi.kolyun.com
SERVER_PORT 443
SERVER_ADDR 172.22.134.161
REMOTE_PORT 57671
REMOTE_ADDR 216.73.216.119
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/zhi.kolyun.com/public
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.xml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=sitemap.xml
SCRIPT_FILENAME /www/wwwroot/zhi.kolyun.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772768059.8232
REQUEST_TIME 1772768059

Fatal error: Uncaught think\exception\ErrorException: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/tpl/think_exception.tpl:395 Stack trace: #0 /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/tpl/think_exception.tpl(395): think\initializer\Error->appError(2, 'Use of undefine...', '/www/wwwroot/zh...', 395, Array) #1 /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/think/exception/Handle.php(224): include('/www/wwwroot/zh...') #2 /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/think/exception/Handle.php(206): think\exception\Handle->renderExceptionContent(Object(think\exception\ErrorException)) #3 /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/think/exception/Handle.php(111): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException)) #4 /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/think/initializer/Error.php(58): think\excepti in /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/tpl/think_exception.tpl on line 395
系统发生错误
  1. </tr>
  2. <?php } ?>
  3. </tbody>
  4. <?php } ?>
  5. </table>
  6. <?php } ?>
  7. </div>
  8. <?php } ?>
  9. <?php/*!--div class="copyright">
  10. <a title="官方网站" href="http://www.thinkphp.cn">ThinkPHP</a>
  11. <span>V<?php echo \think\facade\App::version(); ?></span>
  12. <span>{ 十年磨一剑-为API开发设计的高性能框架 }</span>
  13. <span>- <a title="官方手册" href="https://www.kancloud.cn/manual/thinkphp6_0/content">官方手册</a></span>
  14. </div--*/?>
  15. <?php if (\think\facade\App::isDebug()) { ?>
  16. <script>
  17. function $(selector, node){
  18. var elements;

Call Stack

  1. in think_exception.tpl line 395
  2. at Error->appShutdown()

Environment Variables

GET Dataempty
POST Dataempty
Filesempty
Cookiesempty
Sessionempty
Server/Request Data
USER www
HOME /home/www
HTTP_ACCEPT_ENCODING gzip, br, zstd, deflate
HTTP_USER_AGENT Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
HTTP_ACCEPT */*
HTTP_HOST zhi.kolyun.com
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME zhi.kolyun.com
SERVER_PORT 443
SERVER_ADDR 172.22.134.161
REMOTE_PORT 57671
REMOTE_ADDR 216.73.216.119
SERVER_SOFTWARE nginx/1.20.1
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/2.0
DOCUMENT_ROOT /www/wwwroot/zhi.kolyun.com/public
DOCUMENT_URI /index.php
REQUEST_URI /sitemap.xml
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING s=sitemap.xml
SCRIPT_FILENAME /www/wwwroot/zhi.kolyun.com/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1772768059.8232
REQUEST_TIME 1772768059

Fatal error: Uncaught think\exception\ErrorException: Use of undefined constant php - assumed 'php' (this will throw an Error in a future version of PHP) in /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/tpl/think_exception.tpl:395 Stack trace: #0 /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/tpl/think_exception.tpl(395): think\initializer\Error->appError(2, 'Use of undefine...', '/www/wwwroot/zh...', 395, Array) #1 /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/think/exception/Handle.php(224): include('/www/wwwroot/zh...') #2 /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/think/exception/Handle.php(206): think\exception\Handle->renderExceptionContent(Object(think\exception\ErrorException)) #3 /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/think/exception/Handle.php(111): think\exception\Handle->convertExceptionToResponse(Object(think\exception\ErrorException)) #4 /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/think/initializer/Error.php(58): think\excepti in /www/wwwroot/zhi.kolyun.com/vendor/topthink/framework/src/tpl/think_exception.tpl on line 395