Illuminate\Database\QueryException {#308
#sql: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
#bindings: array:3 [
0 => 309852374
1 => " 美国麻省理工学院"
2 => "huolisport.cn"
]
#message: "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '309852374' for key 'ip' (SQL: insert into `zb_ip` (`ip`, `addr`, `domain`) values (309852374, 美国麻省理工学院, huolisport.cn))"
#code: "23000"
#file: "/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php"
#line: 664
-previous: Doctrine\DBAL\Driver\PDO\Exception {#316
-errorCode: 1062
-sqlState: "23000"
#message: "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '309852374' for key 'ip'"
#code: "23000"
#file: "/www/wwwroot/www.kjmsapp.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php"
#line: 18
-previous: PDOException {#314
#message: "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '309852374' for key 'ip'"
#code: "23000"
#file: "/www/wwwroot/www.kjmsapp.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php"
#line: 117
+errorInfo: array:3 [
0 => "23000"
1 => 1062
2 => "Duplicate entry '309852374' for key 'ip'"
]
trace: {
/www/wwwroot/www.kjmsapp.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117 {
Doctrine\DBAL\Driver\PDOStatement->execute($params = null) …
› try {
› return parent::execute($params);
› } catch (PDOException $exception) {
arguments: {
$bound_input_params: null
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458 {
Illuminate\Database\Connection->Illuminate\Database\{closure} …
›
› return $statement->execute();
› });
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:657 {
Illuminate\Database\Connection->runQueryCallback($query, $bindings, Closure $callback) …
› try {
› $result = $callback($query, $bindings);
› }
arguments: {
"insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
array:3 [ …3]
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 {
Illuminate\Database\Connection->run($query, $bindings, Closure $callback) …
› try {
› $result = $this->runQueryCallback($query, $bindings, $callback);
› } catch (QueryException $e) {
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
$callback: Closure($query, $bindings) {#319 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:459 {
Illuminate\Database\Connection->statement($query, $bindings = []) …
› return $statement->execute();
› });
› }
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
$callback: Closure($query, $bindings) {#319 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:411 {
Illuminate\Database\Connection->insert($query, $bindings = []) …
› {
› return $this->statement($query, $bindings);
› }
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2611 {
Illuminate\Database\Query\Builder->insert(array $values) …
› $this->grammar->compileInsert($this, $values),
› $this->cleanBindings(Arr::flatten($values, 1))
› );
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
}
}
/www/wwwroot/www.kjmsapp.com/app/Http/Middleware/CheckIp.php:43 {
App\Http\Middleware\CheckIp->handle($request, Closure $next) …
› $insert['domain'] = $_SERVER['SERVER_NAME'];\r
› DB::table('ip')->insert($insert);\r
› }\r
arguments: {
$values: array:1 [ …1]
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#31 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure($request) {#298 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
/www/wwwroot/www.kjmsapp.com/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
}
}
+errorInfo: array:3 [
0 => "23000"
1 => 1062
2 => "Duplicate entry '309852374' for key 'ip'"
]
trace: {
/www/wwwroot/www.kjmsapp.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18 {
Doctrine\DBAL\Driver\PDO\Exception::new(PDOException $exception): self …
› {
› return new self($exception);
› }
}
/www/wwwroot/www.kjmsapp.com/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:119 {
Doctrine\DBAL\Driver\PDOStatement->execute($params = null) …
› } catch (PDOException $exception) {
› throw Exception::new($exception);
› }
arguments: {
$exception: PDOException {#314}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458 {
Illuminate\Database\Connection->Illuminate\Database\{closure} …
›
› return $statement->execute();
› });
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:657 {
Illuminate\Database\Connection->runQueryCallback($query, $bindings, Closure $callback) …
› try {
› $result = $callback($query, $bindings);
› }
arguments: {
"insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
array:3 [ …3]
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 {
Illuminate\Database\Connection->run($query, $bindings, Closure $callback) …
› try {
› $result = $this->runQueryCallback($query, $bindings, $callback);
› } catch (QueryException $e) {
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
$callback: Closure($query, $bindings) {#319 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:459 {
Illuminate\Database\Connection->statement($query, $bindings = []) …
› return $statement->execute();
› });
› }
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
$callback: Closure($query, $bindings) {#319 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:411 {
Illuminate\Database\Connection->insert($query, $bindings = []) …
› {
› return $this->statement($query, $bindings);
› }
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2611 {
Illuminate\Database\Query\Builder->insert(array $values) …
› $this->grammar->compileInsert($this, $values),
› $this->cleanBindings(Arr::flatten($values, 1))
› );
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
}
}
/www/wwwroot/www.kjmsapp.com/app/Http/Middleware/CheckIp.php:43 {
App\Http\Middleware\CheckIp->handle($request, Closure $next) …
› $insert['domain'] = $_SERVER['SERVER_NAME'];\r
› DB::table('ip')->insert($insert);\r
› }\r
arguments: {
$values: array:1 [ …1]
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#31 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure($request) {#298 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
/www/wwwroot/www.kjmsapp.com/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
}
}
+errorInfo: array:3 [
0 => "23000"
1 => 1062
2 => "Duplicate entry '309852374' for key 'ip'"
]
trace: {
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664 {
Illuminate\Database\Connection->runQueryCallback($query, $bindings, Closure $callback) …
› catch (Exception $e) {
› throw new QueryException(
› $query, $this->prepareBindings($bindings), $e
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:624 {
Illuminate\Database\Connection->run($query, $bindings, Closure $callback) …
› try {
› $result = $this->runQueryCallback($query, $bindings, $callback);
› } catch (QueryException $e) {
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
$callback: Closure($query, $bindings) {#319 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:459 {
Illuminate\Database\Connection->statement($query, $bindings = []) …
› return $statement->execute();
› });
› }
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
$callback: Closure($query, $bindings) {#319 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Connection.php:411 {
Illuminate\Database\Connection->insert($query, $bindings = []) …
› {
› return $this->statement($query, $bindings);
› }
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php:2611 {
Illuminate\Database\Query\Builder->insert(array $values) …
› $this->grammar->compileInsert($this, $values),
› $this->cleanBindings(Arr::flatten($values, 1))
› );
arguments: {
$query: "insert into `zb_ip` (`ip`, `addr`, `domain`) values (?, ?, ?)"
$bindings: array:3 [ …3]
}
}
/www/wwwroot/www.kjmsapp.com/app/Http/Middleware/CheckIp.php:43 {
App\Http\Middleware\CheckIp->handle($request, Closure $next) …
› $insert['domain'] = $_SERVER['SERVER_NAME'];\r
› DB::table('ip')->insert($insert);\r
› }\r
arguments: {
$values: array:1 [ …1]
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:163 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› $response = method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Illuminate\Http\Request {#42 …}
$next: Closure($passable) {#31 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#42 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {
Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter($request) …
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure($request) {#298 …}
}
}
/www/wwwroot/www.kjmsapp.com/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
Illuminate\Foundation\Http\Kernel->handle($request) …
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
/www/wwwroot/www.kjmsapp.com/public/index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#42 …}
}
}
}
}