Symfony Exception

ErrorException

HTTP 500 Internal Server Error

session_start(): open(/home/avtoshina/www/avtoshina.site/storage/session/sess_e4naalesnp0ctpdnsmc4r1psrr, O_RDWR) failed: No space left on device (28)

Exception

ErrorException

Show exception properties
ErrorException {#357
  #severity: E_WARNING
}
  1.      **/
  2.     public function startSession(): bool
  3.     {
  4.         if ($this->sessionState == self::SESSION_NOT_STARTED) {
  5.             $this->sessionState session_start();
  6.         }
  7.         return $this->sessionState;
  8.     }
  1.      * @return callable
  2.      */
  3.     protected function forwardsTo($method)
  4.     {
  5.         return fn (...$arguments) => static::$app
  6.             $this->{$method}(...$arguments)
  7.             : false;
  8.     }
  9.     /**
  10.      * Determine if the error level is a deprecation.
HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
  1.      **/
  2.     public function startSession(): bool
  3.     {
  4.         if ($this->sessionState == self::SESSION_NOT_STARTED) {
  5.             $this->sessionState session_start();
  6.         }
  7.         return $this->sessionState;
  8.     }
  1.     {
  2.         if (!isset(self::$instance)) {
  3.             self::$instance = new self();
  4.         }
  5.         self::$instance->startSession();
  6.         return self::$instance;
  7.     }
  1.         Blade::directive('price', function (int|string|float $price) {
  2.             // TODO: check wtf with $price
  3.             return "<?php echo view('front.formatters.price', ['price' => $price]); ?>";
  4.         });
  5.         $session Session::getInstance();
  6.         $defaultCitySlug env('DEFAULT_CITY''Minsk');
  7.         $chosenCity $_GET['city'] ?? (cookie('city')->getValue() ?? $session->city);
  8.         $currentCity City::where('slug'$chosenCity)->first() ?? City::where('slug'$defaultCitySlug)->first();
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  9.      * Call a string reference to a class using Class@method syntax.
  1.      * @param  mixed  ...$args
  2.      * @return mixed
  3.      */
  4.     public static function unwrapIfClosure($value, ...$args)
  5.     {
  6.         return $value instanceof Closure $value(...$args) : $value;
  7.     }
  8.     /**
  9.      * Get the class name of the given parameter's type, if possible.
  10.      *
  1.         if ($container->hasMethodBinding($method)) {
  2.             return $container->callMethodBinding($method$callback[0]);
  3.         }
  4.         return Util::unwrapIfClosure($default);
  5.     }
  6.     /**
  7.      * Normalize the given callback into a Class@method string.
  8.      *
  1.         if (static::isCallableWithAtSign($callback) || $defaultMethod) {
  2.             return static::callClass($container$callback$parameters$defaultMethod);
  3.         }
  4.         return static::callBoundMethod($container$callback, function () use ($container$callback$parameters) {
  5.             return $callback(...array_values(static::getMethodDependencies($container$callback$parameters)));
  6.         });
  7.     }
  8.     /**
  1.             $this->buildStack[] = $className;
  2.             $pushedToBuildStack true;
  3.         }
  4.         $result BoundMethod::call($this$callback$parameters$defaultMethod);
  5.         if ($pushedToBuildStack) {
  6.             array_pop($this->buildStack);
  7.         }
  1.     protected function bootProvider(ServiceProvider $provider)
  2.     {
  3.         $provider->callBootingCallbacks();
  4.         if (method_exists($provider'boot')) {
  5.             $this->call([$provider'boot']);
  6.         }
  7.         $provider->callBootedCallbacks();
  8.     }
  1.         // for any listeners that need to do work after this initial booting gets
  2.         // finished. This is useful when ordering the boot-up processes we run.
  3.         $this->fireAppCallbacks($this->bootingCallbacks);
  4.         array_walk($this->serviceProviders, function ($p) {
  5.             $this->bootProvider($p);
  6.         });
  7.         $this->booted true;
  8.         $this->fireAppCallbacks($this->bootedCallbacks);
Application->Illuminate\Foundation\{closure}()
  1.         // Once the application has booted we will also fire some "booted" callbacks
  2.         // for any listeners that need to do work after this initial booting gets
  3.         // finished. This is useful when ordering the boot-up processes we run.
  4.         $this->fireAppCallbacks($this->bootingCallbacks);
  5.         array_walk($this->serviceProviders, function ($p) {
  6.             $this->bootProvider($p);
  7.         });
  8.         $this->booted true;
  1.      * @param  \Illuminate\Contracts\Foundation\Application  $app
  2.      * @return void
  3.      */
  4.     public function bootstrap(Application $app)
  5.     {
  6.         $app->boot();
  7.     }
  8. }
  1.         $this->hasBeenBootstrapped true;
  2.         foreach ($bootstrappers as $bootstrapper) {
  3.             $this['events']->dispatch('bootstrapping: '.$bootstrapper, [$this]);
  4.             $this->make($bootstrapper)->bootstrap($this);
  5.             $this['events']->dispatch('bootstrapped: '.$bootstrapper, [$this]);
  6.         }
  7.     }
  1.      * @return void
  2.      */
  3.     public function bootstrap()
  4.     {
  5.         if (! $this->app->hasBeenBootstrapped()) {
  6.             $this->app->bootstrapWith($this->bootstrappers());
  7.         }
  8.     }
  9.     /**
  10.      * Get the route dispatcher callback.
  1.             }
  2.         } else {
  3.             die('Domain is not allowed: ' .$domain);
  4.         }
  5.         parent::bootstrap();
  6.     }
  7. }
  1.     {
  2.         $this->app->instance('request'$request);
  3.         Facade::clearResolvedInstance('request');
  4.         $this->bootstrap();
  5.         return (new Pipeline($this->app))
  6.                     ->send($request)
  7.                     ->through($this->app->shouldSkipMiddleware() ? [] : $this->middleware)
  8.                     ->then($this->dispatchToRouter());
  1.         $this->requestStartedAt Carbon::now();
  2.         try {
  3.             $request->enableHttpMethodParameterOverride();
  4.             $response $this->sendRequestThroughRouter($request);
  5.         } catch (Throwable $e) {
  6.             $this->reportException($e);
  7.             $response $this->renderException($request$e);
  8.         }
  1. $app = require_once __DIR__.'/../bootstrap/app.php';
  2. $kernel $app->make(Kernel::class);
  3. $response $kernel->handle(
  4.     $request Request::capture()
  5. )->send();
  6. $kernel->terminate($request$response);

Stack Trace

ErrorException
ErrorException:
session_start(): open(/home/avtoshina/www/avtoshina.site/storage/session/sess_e4naalesnp0ctpdnsmc4r1psrr, O_RDWR) failed: No space left on device (28)

  at /home/avtoshina/www/avtoshina.site/app/Services/Session.php:58
  at Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:255)
  at Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\{closure}()
  at session_start()
     (/home/avtoshina/www/avtoshina.site/app/Services/Session.php:58)
  at App\Services\Session->startSession()
     (/home/avtoshina/www/avtoshina.site/app/Services/Session.php:43)
  at App\Services\Session::getInstance()
     (/home/avtoshina/www/avtoshina.site/app/Providers/FrontServiceProvider.php:39)
  at App\Providers\FrontServiceProvider->boot()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:36)
  at Illuminate\Container\BoundMethod::Illuminate\Container\{closure}()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Container/Util.php:41)
  at Illuminate\Container\Util::unwrapIfClosure()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:93)
  at Illuminate\Container\BoundMethod::callBoundMethod()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php:35)
  at Illuminate\Container\BoundMethod::call()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Container/Container.php:662)
  at Illuminate\Container\Container->call()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1030)
  at Illuminate\Foundation\Application->bootProvider()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1011)
  at Illuminate\Foundation\Application->Illuminate\Foundation\{closure}()
  at array_walk()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:1010)
  at Illuminate\Foundation\Application->boot()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php:17)
  at Illuminate\Foundation\Bootstrap\BootProviders->bootstrap()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:263)
  at Illuminate\Foundation\Application->bootstrapWith()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:186)
  at Illuminate\Foundation\Http\Kernel->bootstrap()
     (/home/avtoshina/www/avtoshina.site/app/Http/Kernel.php:94)
  at App\Http\Kernel->bootstrap()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:170)
  at Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
     (/home/avtoshina/www/avtoshina.site/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php:144)
  at Illuminate\Foundation\Http\Kernel->handle()
     (/home/avtoshina/www/avtoshina.site/public/index.php:51)