[0] HttpException in helper.php line 526

你查看的页面不存在!

  1. * @param integer|Response $code 状态码 或者 Response对象实例
  2. * @param string $message 错误信息
  3. * @param array $header 参数
  4. */
  5. function abort($code, $message = null, $header = [])
  6. {
  7. if ($code instanceof Response) {
  8. throw new HttpResponseException($code);
  9. } else {
  10. throw new HttpException($code, $message, null, $header);
  11. }
  12. }
  13. }
  14. if (!function_exists('halt')) {
  15. /**
  16. * 调试变量并且中断输出
  17. * @param mixed $var 调试变量或者信息
  18. */

Call Stack

  1. in helper.php line 526
  2. at abort(404, '...') in SiteController.php line 36
  3. at SiteController->read('', 'about')
  4. at ReflectionMethod->invokeArgs(object(SiteController), ['', 'about']) in App.php line 343
  5. at App::invokeMethod([object(SiteController), 'read'], []) in App.php line 598
  6. at App::module(['article', 'Site', 'read'], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...], false) in App.php line 457
  7. at App::exec(['type' => 'module', 'module' => ['article', 'Site', 'read'], 'convert' => false], ['app_host' => '', 'app_debug' => true, 'app_trace' => false, ...]) in App.php line 139
  8. at App::run() in index.php line 39