ErrorException (E_NOTICE)
Undefined index: HTTP_ACCEPT_LANGUAGE ErrorException thrown with message "Undefined index: HTTP_ACCEPT_LANGUAGE" Stacktrace: #16 ErrorException in /home/wwwalda/public_html/app/Providers/AppServiceProvider.php:28 #15 Illuminate\Foundation\Bootstrap\HandleExceptions:handleError in /home/wwwalda/public_html/app/Providers/AppServiceProvider.php:28 #14 App\Providers\AppServiceProvider:boot in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 #13 call_user_func_array in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:29 #12 Illuminate\Container\BoundMethod:Illuminate\Container\{closure} in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:87 #11 Illuminate\Container\BoundMethod:callBoundMethod in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:31 #10 Illuminate\Container\BoundMethod:call in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Container/Container.php:549 #9 Illuminate\Container\Container:call in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:792 #8 Illuminate\Foundation\Application:bootProvider in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:775 #7 Illuminate\Foundation\Application:Illuminate\Foundation\{closure} in [internal]:0 #6 array_walk in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:776 #5 Illuminate\Foundation\Application:boot in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17 #4 Illuminate\Foundation\Bootstrap\BootProviders:bootstrap in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:213 #3 Illuminate\Foundation\Application:bootstrapWith in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:162 #2 Illuminate\Foundation\Http\Kernel:bootstrap in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:146 #1 Illuminate\Foundation\Http\Kernel:sendRequestThroughRouter in /home/wwwalda/public_html/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:116 #0 Illuminate\Foundation\Http\Kernel:handle in /home/wwwalda/public_html/index.php:55
Application frames (2) All frames (17)
16
ErrorException
/
app
/
Providers
/
AppServiceProvider.php
28
15
Illuminate
\
Foundation
\
Bootstrap
\
HandleExceptions
handleError
/
app
/
Providers
/
AppServiceProvider.php
28
14
App
\
Providers
\
AppServiceProvider
boot
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
29
13
call_user_func_array
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
29
12
Illuminate
\
Container
\
BoundMethod
Illuminate
\
Container
\
{closure}
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
87
11
Illuminate
\
Container
\
BoundMethod
callBoundMethod
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
31
10
Illuminate
\
Container
\
BoundMethod
call
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
Container.php
549
9
Illuminate
\
Container
\
Container
call
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
792
8
Illuminate
\
Foundation
\
Application
bootProvider
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
775
7
Illuminate
\
Foundation
\
Application
Illuminate
\
Foundation
\
{closure}
[internal]
0
6
array_walk
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
776
5
Illuminate
\
Foundation
\
Application
boot
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
BootProviders.php
17
4
Illuminate
\
Foundation
\
Bootstrap
\
BootProviders
bootstrap
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
213
3
Illuminate
\
Foundation
\
Application
bootstrapWith
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
162
2
Illuminate
\
Foundation
\
Http
\
Kernel
bootstrap
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
146
1
Illuminate
\
Foundation
\
Http
\
Kernel
sendRequestThroughRouter
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
116
0
Illuminate
\
Foundation
\
Http
\
Kernel
handle
/
index.php
55
/
home
/
wwwalda
/
public_html
/
app
/
Providers
/
AppServiceProvider.php
use App\IletisimAyar;
use App\Category;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
use App;
use Session;
 
class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        Schema::defaultStringLength(191);
        
        if (Session::get('lang') == ""){
            $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
            switch ($lang){
                case "ru":
                    App::setLocale('ru');
                    Session::put('lang', 'ru');
                    break;
                case "tr":
                    App::setLocale('tr');
                    Session::put('lang', 'tr');
                    break;
                case "en":
                    App::setLocale('en');
                    Session::put('lang', 'en');
                    break;
                case "uk":
                    App::setLocale('en');
                    Session::put('lang', 'en');
                    break;
                default:
                    App::setLocale('en');
                    Session::put('lang', 'en');
Arguments
  1. "Undefined index: HTTP_ACCEPT_LANGUAGE"
    
/
home
/
wwwalda
/
public_html
/
app
/
Providers
/
AppServiceProvider.php
use App\IletisimAyar;
use App\Category;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Facades\Schema;
use App;
use Session;
 
class AppServiceProvider extends ServiceProvider
{
    /**
     * Bootstrap any application services.
     *
     * @return void
     */
    public function boot()
    {
        Schema::defaultStringLength(191);
        
        if (Session::get('lang') == ""){
            $lang = substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
            switch ($lang){
                case "ru":
                    App::setLocale('ru');
                    Session::put('lang', 'ru');
                    break;
                case "tr":
                    App::setLocale('tr');
                    Session::put('lang', 'tr');
                    break;
                case "en":
                    App::setLocale('en');
                    Session::put('lang', 'en');
                    break;
                case "uk":
                    App::setLocale('en');
                    Session::put('lang', 'en');
                    break;
                default:
                    App::setLocale('en');
                    Session::put('lang', 'en');
Arguments
  1. 8
    
  2. "Undefined index: HTTP_ACCEPT_LANGUAGE"
    
  3. "/home/wwwalda/public_html/app/Providers/AppServiceProvider.php"
    
  4. 28
    
  5. []
    
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
class BoundMethod
{
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
class BoundMethod
{
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
Arguments
  1. array:2 [
      0 => AppServiceProvider {#86}
      1 => "boot"
    ]
    
  2. []
    
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
     * @param  callable  $callback
     * @param  mixed  $default
     * @return mixed
     */
    protected static function callBoundMethod($container, $callback, $default)
    {
        if (! is_array($callback)) {
            return $default instanceof Closure ? $default() : $default;
        }
 
        // Here we need to turn the array callable into a Class@method string we can use to
        // examine the container and see if there are any method bindings for this given
        // method. If there are, we can call this method binding callback immediately.
        $method = static::normalizeMethod($callback);
 
        if ($container->hasMethodBinding($method)) {
            return $container->callMethodBinding($method, $callback[0]);
        }
 
        return $default instanceof Closure ? $default() : $default;
    }
 
    /**
     * Normalize the given callback into a Class@method string.
     *
     * @param  callable  $callback
     * @return string
     */
    protected static function normalizeMethod($callback)
    {
        $class = is_string($callback[0]) ? $callback[0] : get_class($callback[0]);
 
        return "{$class}@{$callback[1]}";
    }
 
    /**
     * Get all dependencies for a given method.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
BoundMethod.php
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public static function call($container, $callback, array $parameters = [], $defaultMethod = null)
    {
        if (static::isCallableWithAtSign($callback) || $defaultMethod) {
            return static::callClass($container, $callback, $parameters, $defaultMethod);
        }
 
        return static::callBoundMethod($container, $callback, function () use ($container, $callback, $parameters) {
            return call_user_func_array(
                $callback, static::getMethodDependencies($container, $callback, $parameters)
            );
        });
    }
 
    /**
     * Call a string reference to a class using Class@method syntax.
     *
     * @param  \Illuminate\Container\Container  $container
     * @param  string  $target
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     *
     * @throws \InvalidArgumentException
     */
    protected static function callClass($container, $target, array $parameters = [], $defaultMethod = null)
    {
        $segments = explode('@', $target);
 
        // We will assume an @ sign is used to delimit the class name from the method
        // name. We will split on this @ sign and then build a callable array that
        // we can pass right back into the "call" method for dependency binding.
Arguments
  1. Application {#2}
    
  2. array:2 [
      0 => AppServiceProvider {#86}
      1 => "boot"
    ]
    
  3. Closure {#31
      class: "Illuminate\Container\BoundMethod"
      use: {
        $container: Application {#2 …}
        $callback: array:2 [
          0 => AppServiceProvider {#86}
          1 => "boot"
        ]
        $parameters: []
      }
    }
    
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Container
/
Container.php
     * @return \Closure
     */
    public function wrap(Closure $callback, array $parameters = [])
    {
        return function () use ($callback, $parameters) {
            return $this->call($callback, $parameters);
        };
    }
 
    /**
     * Call the given Closure / class@method and inject its dependencies.
     *
     * @param  callable|string  $callback
     * @param  array  $parameters
     * @param  string|null  $defaultMethod
     * @return mixed
     */
    public function call($callback, array $parameters = [], $defaultMethod = null)
    {
        return BoundMethod::call($this, $callback, $parameters, $defaultMethod);
    }
 
    /**
     * Get a closure to resolve the given type from the container.
     *
     * @param  string  $abstract
     * @return \Closure
     */
    public function factory($abstract)
    {
        return function () use ($abstract) {
            return $this->make($abstract);
        };
    }
 
    /**
     * An alias function name for make().
     *
     * @param  string  $abstract
     * @param  array  $parameters
Arguments
  1. Application {#2}
    
  2. array:2 [
      0 => AppServiceProvider {#86}
      1 => "boot"
    ]
    
  3. []
    
  4. null
    
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
     * Register a new boot listener.
     *
     * @param  mixed  $callback
     * @return void
     */
    public function booting($callback)
    {
        $this->bootingCallbacks[] = $callback;
    }
 
    /**
     * Register a new "booted" listener.
     *
     * @param  mixed  $callback
     * @return void
     */
Arguments
  1. array:2 [
      0 => AppServiceProvider {#86}
      1 => "boot"
    ]
    
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
    }
 
    /**
     * Boot the application's service providers.
     *
     * @return void
     */
    public function boot()
    {
        if ($this->booted) {
            return;
        }
 
        // Once the application has booted we will also fire some "booted" callbacks
        // for any listeners that need to do work after this initial booting gets
        // finished. This is useful when ordering the boot-up processes we run.
        $this->fireAppCallbacks($this->bootingCallbacks);
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
Arguments
  1. AppServiceProvider {#86}
    
[internal]
Arguments
  1. AppServiceProvider {#86}
    
  2. 16
    
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
 
    /**
     * Boot the application's service providers.
     *
     * @return void
     */
    public function boot()
    {
        if ($this->booted) {
            return;
        }
 
        // Once the application has booted we will also fire some "booted" callbacks
        // for any listeners that need to do work after this initial booting gets
        // finished. This is useful when ordering the boot-up processes we run.
        $this->fireAppCallbacks($this->bootingCallbacks);
 
        array_walk($this->serviceProviders, function ($p) {
            $this->bootProvider($p);
        });
 
        $this->booted = true;
 
        $this->fireAppCallbacks($this->bootedCallbacks);
    }
 
    /**
     * Boot the given service provider.
     *
     * @param  \Illuminate\Support\ServiceProvider  $provider
     * @return mixed
     */
    protected function bootProvider(ServiceProvider $provider)
    {
        if (method_exists($provider, 'boot')) {
            return $this->call([$provider, 'boot']);
        }
    }
 
    /**
Arguments
  1. array:21 [
      0 => EventServiceProvider {#6}
      1 => LogServiceProvider {#8}
      2 => RoutingServiceProvider {#10}
      3 => AuthServiceProvider {#41}
      4 => CookieServiceProvider {#37}
      5 => DatabaseServiceProvider {#51}
      6 => EncryptionServiceProvider {#58}
      7 => FilesystemServiceProvider {#60}
      8 => FormRequestServiceProvider {#66}
      9 => FoundationServiceProvider {#65}
      10 => NotificationServiceProvider {#68}
      11 => PaginationServiceProvider {#70}
      12 => SessionServiceProvider {#74}
      13 => ViewServiceProvider {#78}
      14 => TrustedProxyServiceProvider {#82}
      15 => ImageServiceProvider {#83}
      16 => AppServiceProvider {#86}
      17 => AuthServiceProvider {#87}
      18 => EventServiceProvider {#88}
      19 => RouteServiceProvider {#89}
      20 => HashServiceProvider {#117}
    ]
    
  2. Closure {#22
      class: "Illuminate\Foundation\Application"
      this: Application {#2 …}
      parameters: {
        $p: {}
      }
    }
    
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Bootstrap
/
BootProviders.php
<?php
 
namespace Illuminate\Foundation\Bootstrap;
 
use Illuminate\Contracts\Foundation\Application;
 
class BootProviders
{
    /**
     * Bootstrap the given application.
     *
     * @param  \Illuminate\Contracts\Foundation\Application  $app
     * @return void
     */
    public function bootstrap(Application $app)
    {
        $app->boot();
    }
}
 
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Application.php
 
        $this->register(new LogServiceProvider($this));
 
        $this->register(new RoutingServiceProvider($this));
    }
 
    /**
     * Run the given array of bootstrap classes.
     *
     * @param  array  $bootstrappers
     * @return void
     */
    public function bootstrapWith(array $bootstrappers)
    {
        $this->hasBeenBootstrapped = true;
 
        foreach ($bootstrappers as $bootstrapper) {
            $this['events']->fire('bootstrapping: '.$bootstrapper, [$this]);
 
            $this->make($bootstrapper)->bootstrap($this);
 
            $this['events']->fire('bootstrapped: '.$bootstrapper, [$this]);
        }
    }
 
    /**
     * Register a callback to run after loading the environment.
     *
     * @param  \Closure  $callback
     * @return void
     */
    public function afterLoadingEnvironment(Closure $callback)
    {
        return $this->afterBootstrapping(
            LoadEnvironmentVariables::class, $callback
        );
    }
 
    /**
     * Register a callback to run before a bootstrapper.
Arguments
  1. Application {#2}
    
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Bootstrap the application for HTTP requests.
     *
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
     * Get the route dispatcher callback.
     *
     * @return \Closure
     */
    protected function dispatchToRouter()
    {
        return function ($request) {
            $this->app->instance('request', $request);
 
            return $this->router->dispatch($request);
        };
    }
 
    /**
     * Call the terminate method on any terminable middleware.
     *
Arguments
  1. array:6 [
      0 => "Illuminate\Foundation\Bootstrap\LoadEnvironmentVariables"
      1 => "Illuminate\Foundation\Bootstrap\LoadConfiguration"
      2 => "Illuminate\Foundation\Bootstrap\HandleExceptions"
      3 => "Illuminate\Foundation\Bootstrap\RegisterFacades"
      4 => "Illuminate\Foundation\Bootstrap\RegisterProviders"
      5 => "Illuminate\Foundation\Bootstrap\BootProviders"
    ]
    
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    protected function sendRequestThroughRouter($request)
    {
        $this->app->instance('request', $request);
 
        Facade::clearResolvedInstance('request');
 
        $this->bootstrap();
 
        return (new Pipeline($this->app))
                    ->send($request)
                    ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
                    ->then($this->dispatchToRouter());
    }
 
    /**
     * Bootstrap the application for HTTP requests.
     *
     * @return void
     */
    public function bootstrap()
    {
        if (! $this->app->hasBeenBootstrapped()) {
            $this->app->bootstrapWith($this->bootstrappers());
        }
    }
 
    /**
/
home
/
wwwalda
/
public_html
/
vendor
/
laravel
/
framework
/
src
/
Illuminate
/
Foundation
/
Http
/
Kernel.php
            $router->middlewareGroup($key, $middleware);
        }
 
        foreach ($this->routeMiddleware as $key => $middleware) {
            $router->aliasMiddleware($key, $middleware);
        }
    }
 
    /**
     * Handle an incoming HTTP request.
     *
     * @param  \Illuminate\Http\Request  $request
     * @return \Illuminate\Http\Response
     */
    public function handle($request)
    {
        try {
            $request->enableHttpMethodParameterOverride();
 
            $response = $this->sendRequestThroughRouter($request);
        } catch (Exception $e) {
            $this->reportException($e);
 
            $response = $this->renderException($request, $e);
        } catch (Throwable $e) {
            $this->reportException($e = new FatalThrowableError($e));
 
            $response = $this->renderException($request, $e);
        }
 
        $this->app['events']->dispatch(
            new Events\RequestHandled($request, $response)
        );
 
        return $response;
    }
 
    /**
     * Send the given request through the middleware / router.
     *
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: null
      #requestUri: null
      #baseUrl: null
      #basePath: null
      #method: null
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      pathInfo: "/proje/7/detay"
      requestUri: "/proje/7/detay"
      baseUrl: ""
      basePath: ""
      method: "GET"
      format: "html"
    }
    
/
home
/
wwwalda
/
public_html
/
index.php
*/
 
$app = require_once __DIR__.'/bootstrap/app.php';
 
/*
|--------------------------------------------------------------------------
| Run The Application
|--------------------------------------------------------------------------
|
| Once we have the application, we can handle the incoming request
| through the kernel, and send the associated response back to
| the client's browser allowing them to enjoy the creative
| and wonderful application we have prepared for them.
|
*/
 
$kernel = $app->make(Illuminate\Contracts\Http\Kernel::class);
 
$response = $kernel->handle(
    $request = Illuminate\Http\Request::capture()
);
 
$response->send();
 
$kernel->terminate($request, $response);
 
Arguments
  1. Request {#42
      #json: null
      #convertedFiles: null
      #userResolver: null
      #routeResolver: null
      +attributes: ParameterBag {#44}
      +request: ParameterBag {#50}
      +query: ParameterBag {#50}
      +server: ServerBag {#46}
      +files: FileBag {#47}
      +cookies: ParameterBag {#45}
      +headers: HeaderBag {#48}
      #content: null
      #languages: null
      #charsets: null
      #encodings: null
      #acceptableContentTypes: array:1 [
        0 => "*/*"
      ]
      #pathInfo: null
      #requestUri: null
      #baseUrl: null
      #basePath: null
      #method: null
      #format: null
      #session: null
      #locale: null
      #defaultLocale: "en"
      -isHostValid: true
      -isForwardedValid: true
      pathInfo: "/proje/7/detay"
      requestUri: "/proje/7/detay"
      baseUrl: ""
      basePath: ""
      method: "GET"
      format: "html"
    }
    

Environment & details:

empty
empty
empty
empty
empty
Key Value
CONTEXT_DOCUMENT_ROOT
"/home/wwwalda/public_html"
CONTEXT_PREFIX
""
DOCUMENT_ROOT
"/home/wwwalda/public_html"
GATEWAY_INTERFACE
"CGI/1.1"
HTTP_ACCEPT
"*/*"
HTTP_HOST
"www.alda-construction.com"
HTTP_USER_AGENT
"claudebot"
PATH
"/bin:/usr/bin"
PHP_INI_SCAN_DIR
"/opt/cpanel/ea-php72/root/etc:/opt/cpanel/ea-php72/root/etc/php.d:."
QUERY_STRING
""
REDIRECT_SCRIPT_URI
"http://www.alda-construction.com/proje/7/detay"
REDIRECT_SCRIPT_URL
"/proje/7/detay"
REDIRECT_STATUS
"200"
REDIRECT_UNIQUE_ID
"ZgV0rf_zsFtNN0sa0j2QXwAAAM4"
REDIRECT_URL
"/proje/7/detay"
REMOTE_ADDR
"54.205.116.187"
REMOTE_PORT
"57604"
REQUEST_METHOD
"GET"
REQUEST_SCHEME
"http"
REQUEST_URI
"/proje/7/detay"
SCRIPT_FILENAME
"/home/wwwalda/public_html/index.php"
SCRIPT_NAME
"/index.php"
SCRIPT_URI
"http://www.alda-construction.com/proje/7/detay"
SCRIPT_URL
"/proje/7/detay"
SERVER_ADDR
"77.92.141.34"
SERVER_ADMIN
"webmaster@alda-construction.com"
SERVER_NAME
"www.alda-construction.com"
SERVER_PORT
"80"
SERVER_PROTOCOL
"HTTP/1.1"
SERVER_SIGNATURE
""
SERVER_SOFTWARE
"Apache"
TZ
"Europe/Istanbul"
UNIQUE_ID
"ZgV0rf_zsFtNN0sa0j2QXwAAAM4"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711633581.5875
REQUEST_TIME
1711633581
argv
[]
argc
0
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:OOJ7wOXpOaEmsaCVJPe6g15r3Pos6qvQIPj6I4ML93k="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://localhost"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
""
DB_USERNAME
""
DB_PASSWORD
""
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"mail.alda-construction.com"
MAIL_PORT
"587"
MAIL_USERNAME
"mailer@alda-construction.com"
MAIL_PASSWORD
"102030*"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
Key Value
APP_NAME
"Laravel"
APP_ENV
"local"
APP_KEY
"base64:OOJ7wOXpOaEmsaCVJPe6g15r3Pos6qvQIPj6I4ML93k="
APP_DEBUG
"true"
APP_LOG_LEVEL
"debug"
APP_URL
"http://localhost"
DB_CONNECTION
"mysql"
DB_HOST
"localhost"
DB_PORT
"3306"
DB_DATABASE
""
DB_USERNAME
""
DB_PASSWORD
""
BROADCAST_DRIVER
"log"
CACHE_DRIVER
"file"
SESSION_DRIVER
"file"
QUEUE_DRIVER
"sync"
REDIS_HOST
"127.0.0.1"
REDIS_PASSWORD
"null"
REDIS_PORT
"6379"
MAIL_DRIVER
"smtp"
MAIL_HOST
"mail.alda-construction.com"
MAIL_PORT
"587"
MAIL_USERNAME
"mailer@alda-construction.com"
MAIL_PASSWORD
"102030*"
MAIL_ENCRYPTION
"tls"
PUSHER_APP_ID
""
PUSHER_APP_KEY
""
PUSHER_APP_SECRET
""
0. Whoops\Handler\PrettyPageHandler