ErrorException {#335
#message: "Undefined index: HTTP_ACCEPT_LANGUAGE"
#code: 0
#file: "D:\xampp\htdocs\madou.com\app\Http\Controllers\Web\Builder\DefaultBuilder.php"
#line: 29
#severity: E_NOTICE
trace: {
D:\xampp\htdocs\madou.com\app\Http\Controllers\Web\Builder\DefaultBuilder.php:29 {
App\Http\Controllers\Web\Builder\DefaultBuilder->init() …
› $this->lang = Session::get('locale');
› $accept_lang = locale_accept_from_http($_SERVER['HTTP_ACCEPT_LANGUAGE']);
› // dd($accept_lang);
arguments: {
$level: 8
$message: "Undefined index: HTTP_ACCEPT_LANGUAGE"
$file: "D:\xampp\htdocs\madou.com\app\Http\Controllers\Web\Builder\DefaultBuilder.php"
$line: 29
$context: []
}
}
D:\xampp\htdocs\madou.com\app\Http\Controllers\Web\Builder\CouponBuilder.php:13 {
App\Http\Controllers\Web\Builder\CouponBuilder->__construct() …
› {
› parent::init();
›
}
D:\xampp\htdocs\madou.com\app\Http\Controllers\Web\DriverManager.php:55 {
App\Http\Controllers\Web\DriverManager->createCouponDriver() …
› {
› return new CouponBuilder();
› }
}
D:\xampp\htdocs\madou.com\app\Http\Controllers\Web\DriverManager.php:39 {
App\Http\Controllers\Web\DriverManager->createBuilderDriver() …
› if (method_exists($this, $method)) {
› return $this->$method();
› }
}
D:\xampp\htdocs\madou.com\app\Http\Controllers\Web\TemplateController.php:25 {
App\Http\Controllers\Web\TemplateController->App\Http\Controllers\Web\{closure} …
› $manager = new DriverManager();
› $this->builder = $manager->createBuilderDriver();
› return $next($request);
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:145 {
Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure} …
› // the appropriate method and arguments, returning the results back out.
› return $pipe($passable, $stack);
› } elseif (! is_object($pipe)) {
arguments: {
Illuminate\Http\Request {#43 …}
Closure($passable) {#292 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Routing\Middleware\SubstituteBindings.php:41 {
Illuminate\Routing\Middleware\SubstituteBindings->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\VerifyCsrfToken.php:75 {
Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle($request, Closure $next) …
› ) {
› return tap($next($request), function ($response) use ($request) {
› if ($this->shouldAddXsrfTokenCookie()) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\View\Middleware\ShareErrorsFromSession.php:49 {
Illuminate\View\Middleware\ShareErrorsFromSession->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Session\Middleware\StartSession.php:56 {
Illuminate\Session\Middleware\StartSession->handle($request, Closure $next) …
›
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse.php:37 {
Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle($request, Closure $next) …
› {
› $response = $next($request);
›
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Cookie\Middleware\EncryptCookies.php:66 {
Illuminate\Cookie\Middleware\EncryptCookies->handle($request, Closure $next) …
› {
› return $this->encrypt($next($this->decrypt($request)));
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Routing\Router.php:682 {
Illuminate\Routing\Router->runRouteWithinStack(Route $route, Request $request) …
› );
› });
› }
arguments: {
$destination: Closure($request) {#265 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Routing\Router.php:657 {
Illuminate\Routing\Router->runRoute(Request $request, Route $route) …
› return $this->prepareResponse($request,
› $this->runRouteWithinStack($route, $request)
› );
arguments: {
$route: Illuminate\Routing\Route {#238 …}
$request: Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Routing\Router.php:623 {
Illuminate\Routing\Router->dispatchToRoute(Request $request) …
› {
› return $this->runRoute($request, $this->findRoute($request));
› }
arguments: {
$request: Illuminate\Http\Request {#43 …}
$route: Illuminate\Routing\Route {#238 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Routing\Router.php:612 {
Illuminate\Routing\Router->dispatch(Request $request) …
›
› return $this->dispatchToRoute($request);
› }
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Foundation\Http\Kernel.php:176 {
Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\{closure} …
›
› return $this->router->dispatch($request);
› };
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Routing\Pipeline.php:30 {
Illuminate\Routing\Pipeline->Illuminate\Routing\{closure} …
› try {
› return $destination($passable);
› } catch (Exception $e) {
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\fideloper\proxy\src\TrustProxies.php:57 {
Fideloper\Proxy\TrustProxies->handle(Request $request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\TransformsRequest.php:21 {
Illuminate\Foundation\Http\Middleware\TransformsRequest->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\ValidatePostSize.php:27 {
Illuminate\Foundation\Http\Middleware\ValidatePostSize->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode.php:62 {
Illuminate\Foundation\Http\Middleware\CheckForMaintenanceMode->handle($request, Closure $next) …
›
› return $next($request);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
$next: Closure($passable) {#234 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\vendor\laravel\framework\src\Illuminate\Pipeline\Pipeline.php:104 {
Illuminate\Pipeline\Pipeline->then(Closure $destination) …
›
› return $pipeline($this->passable);
› }
arguments: {
Illuminate\Http\Request {#43 …}
}
}
D:\xampp\htdocs\madou.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) {#236 …}
}
}
D:\xampp\htdocs\madou.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 {#43 …}
}
}
D:\xampp\htdocs\madou.com\public\index.php:55 {
› $response = $kernel->handle(
› $request = Illuminate\Http\Request::capture()
› );
arguments: {
$request: Illuminate\Http\Request {#43 …}
}
}
}
}