特性详情
Whoops! There was an error.
9. Symfony\Component\Debug\Exception\FatalThrowableError
…/­vendor/­laravel/­framework/­src/­Illuminate/­Exception/­Handler.php328
8. Illuminate\Exception\Handler formatException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Exception/­Handler.php262
7. Illuminate\Exception\Handler callCustomHandlers
…/­vendor/­laravel/­framework/­src/­Illuminate/­Exception/­Handler.php147
6. Illuminate\Exception\Handler handleException
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php751
5. Illuminate\Foundation\Application handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Session/­Middleware.php72
4. Illuminate\Session\Middleware handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Queue.php47
3. Illuminate\Cookie\Queue handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Cookie/­Guard.php51
2. Illuminate\Cookie\Guard handle
…/­vendor/­stack/­builder/­src/­Stack/­StackedHttpKernel.php23
1. Stack\StackedHttpKernel handle
…/­vendor/­laravel/­framework/­src/­Illuminate/­Foundation/­Application.php641
0. Illuminate\Foundation\Application run
…/­public/­index.php54

Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_RECOVERABLE_ERROR)

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Symfony\Component\Debug\Exception\FatalThrowableError thrown with message "Type error: Argument 1 passed to Illuminate\Exception\Handler::formatException() must be an instance of Exception, instance of Error given, called in /www/wwwroot/gw2.dvg.cn/web/vendor/laravel/framework/src/Illuminate/Exception/Handler.php on line 262" Stacktrace: #9 Symfony\Component\Debug\Exception\FatalThrowableError in /www/wwwroot/gw2.dvg.cn/web/vendor/laravel/framework/src/Illuminate/Exception/Handler.php:328 #8 Illuminate\Exception\Handler:formatException in /www/wwwroot/gw2.dvg.cn/web/vendor/laravel/framework/src/Illuminate/Exception/Handler.php:262 #7 Illuminate\Exception\Handler:callCustomHandlers in /www/wwwroot/gw2.dvg.cn/web/vendor/laravel/framework/src/Illuminate/Exception/Handler.php:147 #6 Illuminate\Exception\Handler:handleException in /www/wwwroot/gw2.dvg.cn/web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:751 #5 Illuminate\Foundation\Application:handle in /www/wwwroot/gw2.dvg.cn/web/vendor/laravel/framework/src/Illuminate/Session/Middleware.php:72 #4 Illuminate\Session\Middleware:handle in /www/wwwroot/gw2.dvg.cn/web/vendor/laravel/framework/src/Illuminate/Cookie/Queue.php:47 #3 Illuminate\Cookie\Queue:handle in /www/wwwroot/gw2.dvg.cn/web/vendor/laravel/framework/src/Illuminate/Cookie/Guard.php:51 #2 Illuminate\Cookie\Guard:handle in /www/wwwroot/gw2.dvg.cn/web/vendor/stack/builder/src/Stack/StackedHttpKernel.php:23 #1 Stack\StackedHttpKernel:handle in /www/wwwroot/gw2.dvg.cn/web/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:641 #0 Illuminate\Foundation\Application:run in /www/wwwroot/gw2.dvg.cn/web/public/index.php:54

Type error: Argument 1 passed to Illuminate\Exception\Handler::formatException() must be an instance of Exception, instance of Error given, called in /www/wwwroot/gw2.dvg.cn/web/vendor/laravel/framework/src/Illuminate/Exception/Handler.php on line 262

  1. /**
  2. * Format an exception thrown by a handler.
  3. *
  4. * @param \Exception $e
  5. * @return string
  6. */
  7. protected function formatException(\Exception $e)
  8. {
  9. if ($this->debug)
  1. }
  2. catch (\Exception $e)
  3. {
  4. $response = $this->formatException($e);
  5. }
  6. catch (\Throwable $e)
  7. {
  8. $response = $this->formatException($e);
  9. }
  1. * Handle an exception for the application.
  2. *
  3. * @param \Exception $exception
  4. * @return \Symfony\Component\HttpFoundation\Response
  5. */
  6. public function handleException($exception)
  7. {
  8. $response = $this->callCustomHandlers($exception);
  9. // If one of the custom error handlers returned a response, we will send that
  1. return $this->dispatch($request);
  2. }
  3. catch (\Exception $e)
  4. {
  5. if ( ! $catch || $this->runningUnitTests()) throw $e;
  6. return $this['exception']->handleException($e);
  7. }
  8. catch (\Throwable $e)
  1. if ($this->sessionConfigured())
  2. {
  3. $session = $this->startSession($request);
  4. $request->setSession($session);
  5. }
  6. $response = $this->app->handle($request, $type, $catch);
  7. // Again, if the session has been configured we will need to close out the session
  1. * @param \Symfony\Component\HttpFoundation\Request $request
  2. * @param int $type
  3. * @param bool $catch
  4. * @return \Symfony\Component\HttpFoundation\Response
  5. */
  6. public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
  7. {
  8. $response = $this->app->handle($request, $type, $catch);
  9. foreach ($this->cookies->getQueuedCookies() as $cookie)
  1. * @param \Symfony\Component\HttpFoundation\Request $request
  2. * @param int $type
  3. * @param bool $catch
  4. * @return \Symfony\Component\HttpFoundation\Response
  5. */
  6. public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
  7. {
  8. return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
  9. }
  1. {
  2. $this->app = $app;
  3. $this->middlewares = $middlewares;
  4. }
  5. public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
  6. {
  7. return $this->app->handle($request, $type, $catch);
  8. }
  1. * @param \Symfony\Component\HttpFoundation\Request $request
  2. * @return void
  3. */
  4. public function run(SymfonyRequest $request = null)
  5. {
  6. $request = $request ?: $this['request'];
  7. $response = with($stack = $this->getStackedClient())->handle($request);
  8. $response->send();
  1. | Once we have the application, we can simply call the run method,
  2. | which will execute the request and send the response back to
  3. | the client's browser allowing them to enjoy the creative
  4. | and wonderful application we have whipped up for them.
  5. |
  6. */
  7. $app->run();
empty
empty
empty
empty
empty
Key Value
USER www
HOME /home/www
HTTP_USER_AGENT Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4
HTTP_ACCEPT */*
HTTP_HOST gw2.dvg.cn
PATH_INFO
REDIRECT_STATUS 200
SERVER_NAME gw2.dvg.cn
SERVER_PORT 443
SERVER_ADDR 172.16.31.161
REMOTE_PORT 48018
REMOTE_ADDR 27.30.79.18
SERVER_SOFTWARE nginx/1.24.0
GATEWAY_INTERFACE CGI/1.1
HTTPS on
REQUEST_SCHEME https
SERVER_PROTOCOL HTTP/1.1
DOCUMENT_ROOT /www/wwwroot/gw2.dvg.cn/web/public
DOCUMENT_URI /index.php
REQUEST_URI /zh/trait/2127/tooltip
SCRIPT_NAME /index.php
CONTENT_LENGTH
CONTENT_TYPE
REQUEST_METHOD GET
QUERY_STRING
SCRIPT_FILENAME /www/wwwroot/gw2.dvg.cn/web/public/index.php
FCGI_ROLE RESPONDER
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1745741398.658
REQUEST_TIME 1745741398
Key Value
GW2T_URL https://gw2.dvg.cn/
GW2T_DOMAIN gw2.dvg.cn
GW2T_TRANSLATE_PASSWORD translate
GW2T_DB_HOST localhost
GW2T_DB_USER gw2_c
GW2T_DB_PASS eXAP2kfmAkmpamSd
GW2T_DB_NAME gw2_c
GW2T_EVENT
GW2T_TRACKING_CODE
GW2T_ASSETS https://gw2.dvg.cn
GW2T_STORAGE https://
SENTRY_DSN
MYSQL_DATABASE gw2_c
MYSQL_USER gw2_c
MYSQL_PASSWORD eXAP2kfmAkmpamSd
MYSQL_RANDOM_ROOT_PASSWORD true
PMA_HOSTS db
UPLOAD_LIMIT 64M
GW2T_APP http://web
GW2T_ASSET_DOMAIN gw2.dvg.cn
GW2T_PMA http://phpmyadmin
GW2T_STORAGE_DOMAIN gw2.dvg.cn
SELF https://gw2.dvg.cn
TRUSTED_ORIGINS http://de.gw2.dvg.cn,http://en.gw2.dvg.cn,http://es.gw2.dvg.cn,http://fr.gw2.dvg.cn,http://cn.gw2.dvg.cn,http://dev.gw2.dvg.cn
MYSQL_HOST localhost
0. Whoops\Handler\PrettyPageHandler
模型