Hub groupegz Mot de passe oublié
Notice: fwrite(): write of 523 bytes failed with errno=28 No space left on device (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Notice: fwrite(): write of 523 bytes failed with errno=28 No space left on device

Exception

ErrorException

  1.      * @param resource $stream
  2.      * @param array $record
  3.      */
  4.     protected function streamWrite($stream, array $record)
  5.     {
  6.         fwrite($stream, (string) $record['formatted']);
  7.     }
  8.     private function customErrorHandler($code$msg)
  9.     {
  10.         $this->errorMessage preg_replace('{^(fopen|mkdir)\(.*?\): }'''$msg);
  1.         if ($this->useLocking) {
  2.             // ignoring errors here, there's not much we can do about them
  3.             flock($this->streamLOCK_EX);
  4.         }
  5.         $this->streamWrite($this->stream$record);
  6.         if ($this->useLocking) {
  7.             flock($this->streamLOCK_UN);
  8.         }
  9.     }
  1.         $record $this->processRecord($record);
  2.         $record['formatted'] = $this->getFormatter()->format($record);
  3.         $this->write($record);
  4.         return false === $this->bubble;
  5.     }
  6.     /**
  1.             foreach ($this->processors as $processor) {
  2.                 $record call_user_func($processor$record);
  3.             }
  4.             while ($handler current($this->handlers)) {
  5.                 if (true === $handler->handle($record)) {
  6.                     break;
  7.                 }
  8.                 next($this->handlers);
  9.             }
  1.      * @param  array  $context The log context
  2.      * @return bool   Whether the record has been processed
  3.      */
  4.     public function critical($message, array $context = array())
  5.     {
  6.         return $this->addRecord(static::CRITICAL$message$context);
  7.     }
  8.     /**
  9.      * Adds a log record at the ALERT level.
  10.      *
  1.      */
  2.     protected function logException(\Throwable $exceptionstring $message): void
  3.     {
  4.         if (null !== $this->logger) {
  5.             if (!$exception instanceof HttpExceptionInterface || $exception->getStatusCode() >= 500) {
  6.                 $this->logger->critical($message, ['exception' => $exception]);
  7.             } else {
  8.                 $this->logger->error($message, ['exception' => $exception]);
  9.             }
  10.         }
  11.     }
  1.     public function logKernelException(ExceptionEvent $event)
  2.     {
  3.         $e FlattenException::createFromThrowable($event->getThrowable());
  4.         $this->logException($event->getThrowable(), sprintf('Uncaught PHP Exception %s: "%s" at %s line %s'$e->getClass(), $e->getMessage(), $e->getFile(), $e->getLine()));
  5.     }
  6.     public function onKernelException(ExceptionEvent $eventstring $eventName nullEventDispatcherInterface $eventDispatcher null)
  7.     {
  8.         if (null === $this->controller) {
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  1.     {
  2.         foreach ($listeners as $listener) {
  3.             if ($event->isPropagationStopped()) {
  4.                 break;
  5.             }
  6.             $listener($event$eventName$this);
  7.         }
  8.     }
  9.     /**
  10.      * Sorts the internal list of listeners for the given event by priority.
  1.      * @param object     $event     The event object to pass to the event handlers/listeners
  2.      */
  3.     protected function callListeners(iterable $listenersstring $eventName$event)
  4.     {
  5.         if ($event instanceof Event) {
  6.             $this->doDispatch($listeners$eventName$event);
  7.             return;
  8.         }
  9.         $stoppable $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
  1.     {
  2.         if (!$request $request ?: $this->requestStack->getMasterRequest()) {
  3.             throw $exception;
  4.         }
  5.         $response $this->handleThrowable($exception$requestself::MASTER_REQUEST);
  6.         $response->sendHeaders();
  7.         $response->sendContent();
  8.         $this->terminate($request$response);
  1.                         if ($hasRun) {
  2.                             throw $e;
  3.                         }
  4.                         $hasRun true;
  5.                         $kernel->terminateWithException($e$request);
  6.                     };
  7.                 }
  8.             } elseif ($event instanceof ConsoleEvent && $app $event->getCommand()->getApplication()) {
  9.                 $output $event->getOutput();
  10.                 if ($output instanceof ConsoleOutputInterface) {
in /home/groupe/public_html/vendor/symfony/error-handler/ErrorHandler.php :: Symfony\Component\HttpKernel\EventListener\{closure} (line 601)
  1.             $this->exceptionHandler null;
  2.         }
  3.         try {
  4.             if (null !== $exceptionHandler) {
  5.                 return $exceptionHandler($exception);
  6.             }
  7.             $handlerException $handlerException ?: $exception;
  8.         } catch (\Throwable $handlerException) {
  9.         }
  10.         if ($exception === $handlerException && null === $this->exceptionHandler) {
ErrorHandler->handleException(object(ErrorException))

Stack Trace

ErrorException

ErrorException:
Notice: fwrite(): write of 523 bytes failed with errno=28 No space left on device

  at /home/groupe/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:133
  at Monolog\Handler\StreamHandler->streamWrite(resource, array('message' => 'Uncaught PHP Exception ErrorException: "Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space" at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175', 'context' => array('exception' => object(ErrorException)), 'level' => 500, 'level_name' => 'CRITICAL', 'channel' => 'request', 'datetime' => object(DateTime), 'extra' => array(), 'formatted' => '[2024-10-04 06:45:18] request.CRITICAL: Uncaught PHP Exception ErrorException: "Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space" at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175 {"exception":"[object] (ErrorException(code: 0): Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:175)"} []'))
     (/home/groupe/public_html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:119)
  at Monolog\Handler\StreamHandler->write(array('message' => 'Uncaught PHP Exception ErrorException: "Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space" at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175', 'context' => array('exception' => object(ErrorException)), 'level' => 500, 'level_name' => 'CRITICAL', 'channel' => 'request', 'datetime' => object(DateTime), 'extra' => array(), 'formatted' => '[2024-10-04 06:45:18] request.CRITICAL: Uncaught PHP Exception ErrorException: "Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space" at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175 {"exception":"[object] (ErrorException(code: 0): Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:175)"} []'))
     (/home/groupe/public_html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39)
  at Monolog\Handler\AbstractProcessingHandler->handle(array('message' => 'Uncaught PHP Exception ErrorException: "Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space" at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175', 'context' => array('exception' => object(ErrorException)), 'level' => 500, 'level_name' => 'CRITICAL', 'channel' => 'request', 'datetime' => object(DateTime), 'extra' => array(), 'formatted' => '[2024-10-04 06:45:18] request.CRITICAL: Uncaught PHP Exception ErrorException: "Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space" at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175 {"exception":"[object] (ErrorException(code: 0): Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php:175)"} []'))
     (/home/groupe/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:344)
  at Monolog\Logger->addRecord(500, 'Uncaught PHP Exception ErrorException: "Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space" at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175', array('exception' => object(ErrorException)))
     (/home/groupe/public_html/vendor/monolog/monolog/src/Monolog/Logger.php:740)
  at Monolog\Logger->critical('Uncaught PHP Exception ErrorException: "Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space" at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175', array('exception' => object(ErrorException)))
     (/home/groupe/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:127)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->logException(object(ErrorException), 'Uncaught PHP Exception ErrorException: "Warning: file_put_contents(): Only 507904 of 960872 bytes written, possibly out of free disk space" at /home/groupe/public_html/vendor/symfony/http-kernel/Profiler/FileProfilerStorage.php line 175')
     (/home/groupe/public_html/vendor/symfony/http-kernel/EventListener/ErrorListener.php:47)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->logKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/groupe/public_html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/groupe/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:264)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/groupe/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:239)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/groupe/public_html/vendor/symfony/event-dispatcher/EventDispatcher.php:73)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/groupe/public_html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/groupe/public_html/vendor/symfony/http-kernel/HttpKernel.php:219)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(ErrorException), object(Request), 1)
     (/home/groupe/public_html/vendor/symfony/http-kernel/HttpKernel.php:112)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(ErrorException), object(Request))
     (/home/groupe/public_html/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:120)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::Symfony\Component\HttpKernel\EventListener\{closure}(object(ErrorException))
     (/home/groupe/public_html/vendor/symfony/error-handler/ErrorHandler.php:601)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(ErrorException))