ErrorException {#1103
#message: "Undefined offset: 2"
#code: 0
#file: "/home/thehappi/app/app/Http/Controllers/AuditController.php"
#line: 335
#severity: E_NOTICE
trace: {
/home/thehappi/app/app/Http/Controllers/AuditController.php:335 {
›
› return array('name'=>$browser,'version'=>$version[2]);
›
arguments: {
$level: 8
$message: "Undefined offset: 2"
$file: "/home/thehappi/app/app/Http/Controllers/AuditController.php"
$line: 335
$context: array:3 [ …3]
}
}
/home/thehappi/app/app/Http/Controllers/AuditController.php:165 {
› {
› $browser = $this->browser_info();
›
}
/home/thehappi/app/app/Http/Middleware/CheckForMaintenanceMode.php:61 {
› $ac = new \AuditController();
› $ac->createActivity("VIEW_PAGE - " . $_SERVER["REQUEST_URI"]);
›
arguments: {
$activity_category: "VIEW_PAGE - /surveys/vote/employee-voice"
}
}
/home/thehappi/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {
› return method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Request {#43 …}
$next: Closure {#1090 …}
}
}
/home/thehappi/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Request {#43 …}
}
}
/home/thehappi/app/vendor/fruitcake/laravel-cors/src/HandleCors.php:37 {
› if (! $this->shouldRun($request)) {
› return $next($request);
› }
arguments: {
Request {#43 …}
}
}
/home/thehappi/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:149 {
› return method_exists($pipe, $this->method)
› ? $pipe->{$this->method}(...$parameters)
› : $pipe(...$parameters);
arguments: {
$request: Request {#43 …}
$next: Closure {#1090 …}
}
}
/home/thehappi/app/vendor/laravel/framework/src/Illuminate/Routing/Pipeline.php:53 {
›
› return $callable($passable);
› } catch (Exception $e) {
arguments: {
Request {#43 …}
}
}
/home/thehappi/app/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php:102 {
›
› return $pipeline($this->passable);
› }
arguments: {
Request {#43 …}
}
}
/home/thehappi/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:151 {
› ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
› ->then($this->dispatchToRouter());
› }
arguments: {
$destination: Closure {#890 …}
}
}
/home/thehappi/app/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 {
›
› $response = $this->sendRequestThroughRouter($request);
› } catch (Exception $e) {
arguments: {
$request: Request {#43 …}
}
}
/home/thehappi/app/public/index.php:52 {
› $response = $kernel->handle(
› \t$request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Request {#43 …}
}
}
}
}