Submit Your RFP

Drop a line

Message Now

Unable to create the storage directory (/var/app/current/srp/var/cache/dev/profiler/98/f5). (500 Internal Server Error)

Symfony Exception

RuntimeException

HTTP 500 Internal Server Error

Unable to create the storage directory (/var/app/current/srp/var/cache/dev/profiler/98/f5).

Exception

RuntimeException

  1.         $profileIndexed is_file($file);
  2.         if (!$profileIndexed) {
  3.             // Create directory
  4.             $dir dirname($file);
  5.             if (!is_dir($dir) && false === @mkdir($dir0777true) && !is_dir($dir)) {
  6.                 throw new \RuntimeException(sprintf('Unable to create the storage directory (%s).'$dir));
  7.             }
  8.         }
  9.         $profileToken $profile->getToken();
  10.         // when there are errors in sub-requests, the parent and/or children tokens
FileProfilerStorage->write(object(Profile)) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Profiler/Profiler.php (line 104)
  1.             if ($collector instanceof LateDataCollectorInterface) {
  2.                 $collector->lateCollect();
  3.             }
  4.         }
  5.         if (!($ret $this->storage->write($profile)) && null !== $this->logger) {
  6.             $this->logger->warning('Unable to store the profiler information.', array('configured_storage' => get_class($this->storage)));
  7.         }
  8.         return $ret;
  9.     }
  1.             }
  2.         }
  3.         // save profiles
  4.         foreach ($this->profiles as $request) {
  5.             $this->profiler->saveProfile($this->profiles[$request]);
  6.         }
  7.         $this->profiles = new \SplObjectStorage();
  8.         $this->parents = new \SplObjectStorage();
  9.     }
ProfilerListener->onKernelTerminate(object(PostResponseEvent), 'kernel.terminate', object(TraceableEventDispatcher))
call_user_func(array(object(ProfilerListener), 'onKernelTerminate'), object(PostResponseEvent), 'kernel.terminate', object(TraceableEventDispatcher)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php (line 104)
  1.     {
  2.         $this->called true;
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         call_user_func($this->listener$event$eventName$this->dispatcher ?: $dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
WrappedListener->__invoke(object(PostResponseEvent), 'kernel.terminate', object(ContainerAwareEventDispatcher))
call_user_func(object(WrappedListener), object(PostResponseEvent), 'kernel.terminate', object(ContainerAwareEventDispatcher)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 212)
  1.     {
  2.         foreach ($listeners as $listener) {
  3.             if ($event->isPropagationStopped()) {
  4.                 break;
  5.             }
  6.             call_user_func($listener$event$eventName$this);
  7.         }
  8.     }
  9.     /**
  10.      * Sorts the internal list of listeners for the given event by priority.
EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener)), 'kernel.terminate', object(PostResponseEvent)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php (line 44)
  1.         if (null === $event) {
  2.             $event = new Event();
  3.         }
  4.         if ($listeners $this->getListeners($eventName)) {
  5.             $this->doDispatch($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
EventDispatcher->dispatch('kernel.terminate', object(PostResponseEvent)) in vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php (line 139)
  1.         $this->preProcess($eventName);
  2.         $this->preDispatch($eventName$event);
  3.         $e $this->stopwatch->start($eventName'section');
  4.         $this->dispatcher->dispatch($eventName$event);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
TraceableEventDispatcher->dispatch('kernel.terminate', object(PostResponseEvent)) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 88)
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function terminate(Request $requestResponse $response)
  5.     {
  6.         $this->dispatcher->dispatch(KernelEvents::TERMINATE, new PostResponseEvent($this$request$response));
  7.     }
  8.     /**
  9.      * @internal
  10.      */
HttpKernel->terminate(object(Request), object(Response)) in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php (line 137)
  1.         if (false === $this->booted) {
  2.             return;
  3.         }
  4.         if ($this->getHttpKernel() instanceof TerminableInterface) {
  5.             $this->getHttpKernel()->terminate($request$response);
  6.         }
  7.     }
  8.     /**
  9.      * {@inheritdoc}
Kernel->terminate(object(Request), object(Response)) in /var/app/current/wordpress/index.php (line 49)
  1. $sfRequest Request::createFromGlobals();
  2. $sfResponse $sfKernel->handle($sfRequest);
  3. $sfResponse->send();
  4. $sfKernel->terminate($sfRequest$sfResponse);

Logs 2

Level Channel Message
INFO 23:16:29 request Matched route "submit-rfp".
INFO 23:16:29 security Populated the TokenStorage with an anonymous Token.
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\EventListener\FirewallListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ResponseListener::onKernelResponse".
DEBUG 23:16:29 event Notified event "kernel.response" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelResponse".
DEBUG 23:16:29 event Notified event "kernel.response" to listener "Symfony\Component\Security\Http\RememberMe\ResponseListener::onKernelResponse".
DEBUG 23:16:29 event Notified event "kernel.response" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelResponse".
DEBUG 23:16:29 event Notified event "kernel.response" to listener "Ekino\WordpressBundle\Event\Subscriber\WordpressResponseSubscriber::onKernelResponse".
DEBUG 23:16:29 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\ProfilerListener::onKernelResponse".
DEBUG 23:16:29 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\SaveSessionListener::onKernelResponse".
DEBUG 23:16:29 event Notified event "kernel.response" to listener "Symfony\Component\HttpKernel\EventListener\StreamedResponseListener::onKernelResponse".
DEBUG 23:16:29 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelFinishRequest".
DEBUG 23:16:29 event Notified event "kernel.finish_request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelFinishRequest".
DEBUG 23:16:29 event Notified event "kernel.finish_request" to listener "Symfony\Bundle\SecurityBundle\EventListener\FirewallListener::onKernelFinishRequest".
DEBUG 23:16:29 php Warning: mkdir(): No space left on device
CRITICAL 23:16:29 php Uncaught Exception: Unable to create the storage directory (/var/app/current/srp/var/cache/dev/profiler/98/f5).
CRITICAL 23:16:29 request Uncaught PHP Exception RuntimeException: "Unable to create the storage directory (/var/app/current/srp/var/cache/dev/profiler/98/f5)." at /var/app/current/srp/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Profiler/FileProfilerStorage.php line 141
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\EventListener\FirewallListener::onKernelRequest".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
DEBUG 23:16:29 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".

Stack Trace

RuntimeException

RuntimeException:
Unable to create the storage directory (/var/app/current/srp/var/cache/dev/profiler/98/f5).

  at vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Profiler/FileProfilerStorage.php:141
  at Symfony\Component\HttpKernel\Profiler\FileProfilerStorage->write(object(Profile))
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Profiler/Profiler.php:104)
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile(object(Profile))
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/ProfilerListener.php:113)
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate(object(PostResponseEvent), 'kernel.terminate', object(TraceableEventDispatcher))
  at call_user_func(array(object(ProfilerListener), 'onKernelTerminate'), object(PostResponseEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:104)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(PostResponseEvent), 'kernel.terminate', object(ContainerAwareEventDispatcher))
  at call_user_func(object(WrappedListener), object(PostResponseEvent), 'kernel.terminate', object(ContainerAwareEventDispatcher))
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:212)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener)), 'kernel.terminate', object(PostResponseEvent))
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:44)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.terminate', object(PostResponseEvent))
     (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:139)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.terminate', object(PostResponseEvent))
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:88)
  at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response))
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:137)
  at Symfony\Component\HttpKernel\Kernel->terminate(object(Request), object(Response))
     (/var/app/current/wordpress/index.php:49)