Deprecated: Constant E_STRICT is deprecated in /home/ccoste/codes/coste/www/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /home/ccoste/codes/coste/www/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

GET https://coste.codes/public/bg/admin/post

Security

Token

There is no security token.

Firewall

main Name
Security enabled
Stateless

Configuration

Key Value
provider security.user.provider.concrete.database_users
context main
entry_point security.authenticator.form_login.main
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "form_login"
  "remember_me"
]

Listeners

No security listeners have been recorded. Check that debugging is enabled in the kernel.

Authenticators

No authenticators have been recorded. Check previous profiles on your authentication endpoint.

Access Decision

affirmative Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
4
"App\Security\PostVoter"

Access decision log

# Result Attributes Object
1 DENIED ROLE_ADMIN
Symfony\Component\HttpFoundation\Request {#55
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#77 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#75 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#76 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#80 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#79 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#78 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#81 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/bg/admin/post"
  #requestUri: "/public/bg/admin/post"
  #baseUrl: "/public"
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#877 …}
  #locale: "bg"
  #defaultLocale: "en"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isSafeContentPreferred: ? bool
  -trustedValuesCache: []
  -isIisRewrite: false
  basePath: "/public"
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\RoleHierarchyVoter"
ACCESS DENIED
"App\Security\PostVoter"
ACCESS ABSTAIN
Show voter details
Notice: fwrite(): Write of 432 bytes failed with errno=122 Disk quota exceeded (500 Internal Server Error)

Symfony Exception

ErrorException

HTTP 500 Internal Server Error

Notice: fwrite(): Write of 432 bytes failed with errno=122 Disk quota exceeded

Exception

ErrorException

Show exception properties
ErrorException {#33398
  #severity: E_NOTICE
}
  1.      * Write to stream
  2.      * @param resource $stream
  3.      */
  4.     protected function streamWrite($streamLogRecord $record): void
  5.     {
  6.         fwrite($stream, (string) $record->formatted);
  7.     }
  8.     private function customErrorHandler(int $codestring $msg): bool
  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($streamLOCK_EX);
  4.         }
  5.         $this->streamWrite($stream$record);
  6.         if ($this->useLocking) {
  7.             flock($streamLOCK_UN);
  8.         }
  9.     }
  1.             $record $this->processRecord($record);
  2.         }
  3.         $record->formatted $this->getFormatter()->format($record);
  4.         $this->write($record);
  5.         return false === $this->bubble;
  6.     }
  7.     /**
  1.                 }
  2.                 // once the record is initialized, send it to all handlers as long as the bubbling chain is not interrupted
  3.                 try {
  4.                     $handled true;
  5.                     if (true === $handler->handle(clone $record)) {
  6.                         break;
  7.                     }
  8.                 } catch (Throwable $e) {
  9.                     $this->handleException($e$record);
  1.             }
  2.             $level = static::toMonologLevel($level);
  3.         }
  4.         $this->addRecord($level, (string) $message$context);
  5.     }
  6.     /**
  7.      * Adds a log record at the DEBUG level.
  8.      *
  1.             return;
  2.         }
  3.         $logLevel ??= $this->resolveLogLevel($exception);
  4.         $this->logger->log($logLevel$message, ['exception' => $exception]);
  5.     }
  6.     /**
  7.      * Resolves the level to be used when logging the exception.
  8.      */
  1.             } while ($class $class->getParentClass());
  2.         }
  3.         $e FlattenException::createFromThrowable($throwable);
  4.         $this->logException($throwablesprintf('Uncaught PHP Exception %s: "%s" at %s line %s'$e->getClass(), $e->getMessage(), basename($e->getFile()), $e->getLine()), $logLevel);
  5.     }
  6.     /**
  7.      * @return void
  8.      */
  1.         $this->priority ??= $dispatcher->getListenerPriority($eventName$this->listener);
  2.         $e $this->stopwatch->start($this->name'event_listener');
  3.         try {
  4.             ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         } finally {
  6.             if ($e->isStarted()) {
  7.                 $e->stop();
  8.             }
  9.         }
  1.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  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.      * Handles a throwable by trying to convert it to a Response.
  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.         if ($pop $request !== $this->requestStack->getMainRequest()) {
  2.             $this->requestStack->push($request);
  3.         }
  4.         try {
  5.             $response $this->handleThrowable($exception$requestself::MAIN_REQUEST);
  6.         } finally {
  7.             if ($pop) {
  8.                 $this->requestStack->pop();
  9.             }
  10.         }
  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/ccoste/codes/coste/www/vendor/symfony/error-handler/ErrorHandler.php :: {closure:Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure():76} (line 531)
  1.             $this->exceptionHandler null;
  2.         }
  3.         try {
  4.             if (null !== $exceptionHandler) {
  5.                 $exceptionHandler($exception);
  6.                 return;
  7.             }
  8.             $handlerException ??= $exception;
  9.         } catch (\Throwable $handlerException) {
ErrorHandler->handleException(object(ErrorException))

Stack Trace

ErrorException
ErrorException:
Notice: fwrite(): Write of 432 bytes failed with errno=122 Disk quota exceeded

  at /home/ccoste/codes/coste/www/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:162
  at Monolog\Handler\StreamHandler->streamWrite(resource, object(LogRecord))
     (/home/ccoste/codes/coste/www/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:149)
  at Monolog\Handler\StreamHandler->write(object(LogRecord))
     (/home/ccoste/codes/coste/www/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:44)
  at Monolog\Handler\AbstractProcessingHandler->handle(object(LogRecord))
     (/home/ccoste/codes/coste/www/vendor/monolog/monolog/src/Monolog/Logger.php:389)
  at Monolog\Logger->addRecord(object(Level), 'Uncaught PHP Exception ErrorException: "Notice: fwrite(): Write of 70 bytes failed with errno=122 Disk quota exceeded" at StreamHandler.php line 162', array('exception' => object(ErrorException)))
     (/home/ccoste/codes/coste/www/vendor/monolog/monolog/src/Monolog/Logger.php:579)
  at Monolog\Logger->log(object(Level), 'Uncaught PHP Exception ErrorException: "Notice: fwrite(): Write of 70 bytes failed with errno=122 Disk quota exceeded" at StreamHandler.php line 162', array('exception' => object(ErrorException)))
     (/home/ccoste/codes/coste/www/vendor/symfony/http-kernel/EventListener/ErrorListener.php:194)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->logException(object(ErrorException), 'Uncaught PHP Exception ErrorException: "Notice: fwrite(): Write of 70 bytes failed with errno=122 Disk quota exceeded" at StreamHandler.php line 162', 'critical')
     (/home/ccoste/codes/coste/www/vendor/symfony/http-kernel/EventListener/ErrorListener.php:93)
  at Symfony\Component\HttpKernel\EventListener\ErrorListener->logKernelException(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/ccoste/codes/coste/www/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:116)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(ExceptionEvent), 'kernel.exception', object(TraceableEventDispatcher))
     (/home/ccoste/codes/coste/www/vendor/symfony/event-dispatcher/EventDispatcher.php:220)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.exception', object(ExceptionEvent))
     (/home/ccoste/codes/coste/www/vendor/symfony/event-dispatcher/EventDispatcher.php:56)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/ccoste/codes/coste/www/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:139)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(ExceptionEvent), 'kernel.exception')
     (/home/ccoste/codes/coste/www/vendor/symfony/http-kernel/HttpKernel.php:239)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable(object(ErrorException), object(Request), 1)
     (/home/ccoste/codes/coste/www/vendor/symfony/http-kernel/HttpKernel.php:132)
  at Symfony\Component\HttpKernel\HttpKernel->terminateWithException(object(ErrorException), object(Request))
     (/home/ccoste/codes/coste/www/vendor/symfony/http-kernel/EventListener/DebugHandlersListener.php:82)
  at Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::{closure:Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure():76}(object(ErrorException))
     (/home/ccoste/codes/coste/www/vendor/symfony/error-handler/ErrorHandler.php:531)
  at Symfony\Component\ErrorHandler\ErrorHandler->handleException(object(ErrorException))