ErrorException {#313
#message: "Undefined offset: 1"
#code: 0
#file: "/www/wwwroot/www.kjmsapp.com/app/Http/Middleware/CheckIp.php"
#line: 130
#severity: E_NOTICE
trace: {
/www/wwwroot/www.kjmsapp.com/app/Http/Middleware/CheckIp.php:130 {
App\Http\Middleware\CheckIp->iplocaltion($ip) …
› \r
› list($header, $body) = explode("\r\n\r\n", $out_put, 2);\r
› if ($httpCode == 200) {\r
arguments: {
$level: 8
$message: "Undefined offset: 1"
$file: "/www/wwwroot/www.kjmsapp.com/app/Http/Middleware/CheckIp.php"
$line: 130
$context: array:9 [ …9]
}
}
/www/wwwroot/www.kjmsapp.com/app/Http/Middleware/CheckIp.php:35 {
App\Http\Middleware\CheckIp->handle($request, Closure $next) …
› //收费的\r
› $ret = $this->iplocaltion($ip);\r
› if ($ret === false) return $next($request);\r
arguments: {
$ip: "3.136.26.156"
}
}
/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 …}
}
}
}
}