特性详情
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

 
	/**
	 * Format an exception thrown by a handler.
	 *
	 * @param  \Exception  $e
	 * @return string
	 */
	protected function formatException(\Exception $e)
	{
		if ($this->debug)
			}
			catch (\Exception $e)
			{
				$response = $this->formatException($e);
			}
			catch (\Throwable $e)
			{
				$response = $this->formatException($e);
			}
 
	 * Handle an exception for the application.
	 *
	 * @param  \Exception  $exception
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handleException($exception)
	{
		$response = $this->callCustomHandlers($exception);
 
		// If one of the custom error handlers returned a response, we will send that
 
			return $this->dispatch($request);
		}
		catch (\Exception $e)
		{
			if ( ! $catch || $this->runningUnitTests()) throw $e;
 
			return $this['exception']->handleException($e);
		}
		catch (\Throwable $e)
		if ($this->sessionConfigured())
		{
			$session = $this->startSession($request);
 
			$request->setSession($session);
		}
 
		$response = $this->app->handle($request, $type, $catch);
 
		// Again, if the session has been configured we will need to close out the session
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		$response = $this->app->handle($request, $type, $catch);
 
		foreach ($this->cookies->getQueuedCookies() as $cookie)
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @param  int   $type
	 * @param  bool  $catch
	 * @return \Symfony\Component\HttpFoundation\Response
	 */
	public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
	{
		return $this->encrypt($this->app->handle($this->decrypt($request), $type, $catch));
	}
 
    {
        $this->app = $app;
        $this->middlewares = $middlewares;
    }
 
    public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
    {
        return $this->app->handle($request, $type, $catch);
    }
 
	 * @param  \Symfony\Component\HttpFoundation\Request  $request
	 * @return void
	 */
	public function run(SymfonyRequest $request = null)
	{
		$request = $request ?: $this['request'];
 
		$response = with($stack = $this->getStackedClient())->handle($request);
 
		$response->send();
| Once we have the application, we can simply call the run method,
| which will execute the request and send the response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have whipped up for them.
|
*/
 
$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.27.212.41
REMOTE_PORT 34794
REMOTE_ADDR 47.98.104.6
SERVER_SOFTWARE nginx/1.18.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/2182/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 1730415442.9275
REQUEST_TIME 1730415442
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
模型