No route found for "GET /uploads/products/58b2a08b6cecf.jpeg"
404 Not Found - NotFoundHttpException
1 linked Exception:
- ResourceNotFoundException »
[2/2] NotFoundHttpException: No route found for "GET /uploads/products/58b2a08b6cecf.jpeg"
-
in kernel.root_dir/cache/prod/classes.php at line 1882
$request->attributes->set('_route_params', $parameters);
} catch (ResourceNotFoundException $e) {
$message = sprintf('No route found for "%s %s"', $request->getMethod(), $request->getPathInfo());
throw new NotFoundHttpException($message, $e);
} catch (MethodNotAllowedException $e) {
$message = sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)', $request->getMethod(), $request->getPathInfo(), strtoupper(implode(', ', $e->getAllowedMethods())));
throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);
- at RouterListener ->onKernelRequest (object(GetResponseEvent))
-
at
call_user_func
(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent))
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 450return function (Event $event) use ($self, $eventName, $listener) {
$e = $self->preListenerCall($eventName, $listener);
call_user_func($listener, $event);
$e->stop();
- at TraceableEventDispatcher ->Symfony\Component\HttpKernel\Debug\{closure} (object(GetResponseEvent))
-
at
call_user_func
(object(Closure), object(GetResponseEvent))
in kernel.root_dir/cache/prod/classes.php at line 1666protected function doDispatch($listeners, $eventName, Event $event)
{
foreach ($listeners as $listener) {
call_user_func($listener, $event);
if ($event->isPropagationStopped()) {
break;
}
-
at
EventDispatcher
->doDispatch
(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent))
in kernel.root_dir/cache/prod/classes.php at line 1599if (!isset($this->listeners[$eventName])) {
return $event;
}
$this->doDispatch($this->getListeners($eventName), $eventName, $event);
return $event;
}
public function getListeners($eventName = null)
-
at
EventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in kernel.root_dir/cache/prod/classes.php at line 1763public function dispatch($eventName, Event $event = null)
{
$this->lazyLoad($eventName);
return parent::dispatch($eventName, $event);
}
public function getContainer()
{
-
at
ContainerAwareEventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 139$this->firstCalledEvent[$eventName]->stop();
}
$this->dispatcher->dispatch($eventName, $event);
// reset the id as another event might have been dispatched during the dispatching of this event
$this->id = spl_object_hash($event);
-
at
TraceableEventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in kernel.root_dir/bootstrap.php.cache at line 2804private function handleRaw(Request $request, $type = self::MASTER_REQUEST)
{
$event = new GetResponseEvent($this, $request, $type);
$this->dispatcher->dispatch(KernelEvents::REQUEST, $event);
if ($event->hasResponse()) {
return $this->filterResponse($event->getResponse(), $request, $type);
}
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2789public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
throw $e;
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2918$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null,'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2220if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request), '1', true)
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 473$request->server->set('REMOTE_ADDR', '127.0.0.1');
// always a "master" request (as the real master request can be in cache)
$response = $this->kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, $catch);
// FIXME: we probably need to also catch exceptions if raw === true
// we don't implement the stale-if-error on Requests, which is nonetheless part of the RFC
-
at
HttpCache
->forward
(object(Request), true, null)
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php at line 60$this->getKernel()->getContainer()->set('cache', $this);
$this->getKernel()->getContainer()->set('esi', $this->getEsi());
return parent::forward($request, $raw, $entry);
}
/**
-
at
HttpCache
->forward
(object(Request), true)
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 430$subRequest->headers->remove('if_modified_since');
$subRequest->headers->remove('if_none_match');
$response = $this->forward($subRequest, $catch);
if ($this->isPrivateRequest($request) && !$response->headers->hasCacheControlDirective('public')) {
$response->setPrivate(true);
-
at
HttpCache
->fetch
(object(Request), true)
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 330if (null === $entry) {
$this->record($request, 'miss');
return $this->fetch($request, $catch);
}
if (!$this->isFreshEnough($request, $entry)) {
-
at
HttpCache
->lookup
(object(Request), true)
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 194} elseif ($request->headers->has('expect')) {
$response = $this->pass($request, $catch);
} else {
$response = $this->lookup($request, $catch);
}
$this->restoreResponseBody($request, $response);
-
at
HttpCache
->handle
(object(Request))
in /home/lilicele/www/web/app.php at line 29$kernel->loadClassCache();
$kernel = new AppCache($kernel);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
[1/2] ResourceNotFoundException:
-
in kernel.root_dir/cache/prod/appProdUrlMatcher.php at line 1228
}
not_fos_user_change_password:
throw 0 < count($allow) ? new MethodNotAllowedException(array_unique($allow)) : new ResourceNotFoundException();
}
}
-
at
appProdUrlMatcher
->match
('/uploads/products/58b2a08b6cecf.jpeg')
in kernel.root_dir/cache/prod/classes.php at line 1206}
public function match($pathinfo)
{
return $this->getMatcher()->match($pathinfo);
}
public function getMatcher()
{
-
at
Router
->match
('/uploads/products/58b2a08b6cecf.jpeg')
in kernel.root_dir/cache/prod/classes.php at line 1871if ($this->matcher instanceof RequestMatcherInterface) {
$parameters = $this->matcher->matchRequest($request);
} else {
$parameters = $this->matcher->match($request->getPathInfo());
}
if (null !== $this->logger) {
$this->logger->info(sprintf('Matched route "%s" (parameters: %s)', $parameters['_route'], $this->parametersToString($parameters)));
- at RouterListener ->onKernelRequest (object(GetResponseEvent))
-
at
call_user_func
(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent))
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 450return function (Event $event) use ($self, $eventName, $listener) {
$e = $self->preListenerCall($eventName, $listener);
call_user_func($listener, $event);
$e->stop();
- at TraceableEventDispatcher ->Symfony\Component\HttpKernel\Debug\{closure} (object(GetResponseEvent))
-
at
call_user_func
(object(Closure), object(GetResponseEvent))
in kernel.root_dir/cache/prod/classes.php at line 1666protected function doDispatch($listeners, $eventName, Event $event)
{
foreach ($listeners as $listener) {
call_user_func($listener, $event);
if ($event->isPropagationStopped()) {
break;
}
-
at
EventDispatcher
->doDispatch
(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent))
in kernel.root_dir/cache/prod/classes.php at line 1599if (!isset($this->listeners[$eventName])) {
return $event;
}
$this->doDispatch($this->getListeners($eventName), $eventName, $event);
return $event;
}
public function getListeners($eventName = null)
-
at
EventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in kernel.root_dir/cache/prod/classes.php at line 1763public function dispatch($eventName, Event $event = null)
{
$this->lazyLoad($eventName);
return parent::dispatch($eventName, $event);
}
public function getContainer()
{
-
at
ContainerAwareEventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php at line 139$this->firstCalledEvent[$eventName]->stop();
}
$this->dispatcher->dispatch($eventName, $event);
// reset the id as another event might have been dispatched during the dispatching of this event
$this->id = spl_object_hash($event);
-
at
TraceableEventDispatcher
->dispatch
('kernel.request', object(GetResponseEvent))
in kernel.root_dir/bootstrap.php.cache at line 2804private function handleRaw(Request $request, $type = self::MASTER_REQUEST)
{
$event = new GetResponseEvent($this, $request, $type);
$this->dispatcher->dispatch(KernelEvents::REQUEST, $event);
if ($event->hasResponse()) {
return $this->filterResponse($event->getResponse(), $request, $type);
}
-
at
HttpKernel
->handleRaw
(object(Request), '1')
in kernel.root_dir/bootstrap.php.cache at line 2789public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if (false === $catch) {
throw $e;
-
at
HttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2918$this->container->enterScope('request');
$this->container->set('request', $request,'request');
try {
$response = parent::handle($request, $type, $catch);
} catch (\Exception $e) {
$this->container->set('request', null,'request');
$this->container->leaveScope('request');
-
at
ContainerAwareHttpKernel
->handle
(object(Request), '1', true)
in kernel.root_dir/bootstrap.php.cache at line 2220if (false === $this->booted) {
$this->boot();
}
return $this->getHttpKernel()->handle($request, $type, $catch);
}
protected function getHttpKernel()
{
-
at
Kernel
->handle
(object(Request), '1', true)
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 473$request->server->set('REMOTE_ADDR', '127.0.0.1');
// always a "master" request (as the real master request can be in cache)
$response = $this->kernel->handle($request, HttpKernelInterface::MASTER_REQUEST, $catch);
// FIXME: we probably need to also catch exceptions if raw === true
// we don't implement the stale-if-error on Requests, which is nonetheless part of the RFC
-
at
HttpCache
->forward
(object(Request), true, null)
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php at line 60$this->getKernel()->getContainer()->set('cache', $this);
$this->getKernel()->getContainer()->set('esi', $this->getEsi());
return parent::forward($request, $raw, $entry);
}
/**
-
at
HttpCache
->forward
(object(Request), true)
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 430$subRequest->headers->remove('if_modified_since');
$subRequest->headers->remove('if_none_match');
$response = $this->forward($subRequest, $catch);
if ($this->isPrivateRequest($request) && !$response->headers->hasCacheControlDirective('public')) {
$response->setPrivate(true);
-
at
HttpCache
->fetch
(object(Request), true)
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 330if (null === $entry) {
$this->record($request, 'miss');
return $this->fetch($request, $catch);
}
if (!$this->isFreshEnough($request, $entry)) {
-
at
HttpCache
->lookup
(object(Request), true)
in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php at line 194} elseif ($request->headers->has('expect')) {
$response = $this->pass($request, $catch);
} else {
$response = $this->lookup($request, $catch);
}
$this->restoreResponseBody($request, $response);
-
at
HttpCache
->handle
(object(Request))
in /home/lilicele/www/web/app.php at line 29$kernel->loadClassCache();
$kernel = new AppCache($kernel);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
Stack Trace (Plain Text)
[1] Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /uploads/products/58b2a08b6cecf.jpeg" at n/a in /home/lilicele/www/app/cache/prod/classes.php line 1882 at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent)) in line at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent)) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 450 at Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->Symfony\Component\HttpKernel\Debug\{closure}(object(GetResponseEvent)) in line at call_user_func(object(Closure), object(GetResponseEvent)) in /home/lilicele/www/app/cache/prod/classes.php line 1666 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent)) in /home/lilicele/www/app/cache/prod/classes.php line 1599 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /home/lilicele/www/app/cache/prod/classes.php line 1763 at Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 139 at Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /home/lilicele/www/app/bootstrap.php.cache line 2804 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /home/lilicele/www/app/bootstrap.php.cache line 2789 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /home/lilicele/www/app/bootstrap.php.cache line 2918 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /home/lilicele/www/app/bootstrap.php.cache line 2220 at Symfony\Component\HttpKernel\Kernel->handle(object(Request), '1', true) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 473 at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(object(Request), true, null) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php line 60 at Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward(object(Request), true) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 430 at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(object(Request), true) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 330 at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(object(Request), true) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 194 at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(object(Request)) in /home/lilicele/www/web/app.php line 29 [2] Symfony\Component\Routing\Exception\ResourceNotFoundException: at n/a in /home/lilicele/www/app/cache/prod/appProdUrlMatcher.php line 1228 at appProdUrlMatcher->match('/uploads/products/58b2a08b6cecf.jpeg') in /home/lilicele/www/app/cache/prod/classes.php line 1206 at Symfony\Component\Routing\Router->match('/uploads/products/58b2a08b6cecf.jpeg') in /home/lilicele/www/app/cache/prod/classes.php line 1871 at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent)) in line at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent)) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 450 at Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->Symfony\Component\HttpKernel\Debug\{closure}(object(GetResponseEvent)) in line at call_user_func(object(Closure), object(GetResponseEvent)) in /home/lilicele/www/app/cache/prod/classes.php line 1666 at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure), object(Closure)), 'kernel.request', object(GetResponseEvent)) in /home/lilicele/www/app/cache/prod/classes.php line 1599 at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /home/lilicele/www/app/cache/prod/classes.php line 1763 at Symfony\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Debug/TraceableEventDispatcher.php line 139 at Symfony\Component\HttpKernel\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in /home/lilicele/www/app/bootstrap.php.cache line 2804 at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), '1') in /home/lilicele/www/app/bootstrap.php.cache line 2789 at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), '1', true) in /home/lilicele/www/app/bootstrap.php.cache line 2918 at Symfony\Component\HttpKernel\DependencyInjection\ContainerAwareHttpKernel->handle(object(Request), '1', true) in /home/lilicele/www/app/bootstrap.php.cache line 2220 at Symfony\Component\HttpKernel\Kernel->handle(object(Request), '1', true) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 473 at Symfony\Component\HttpKernel\HttpCache\HttpCache->forward(object(Request), true, null) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Bundle/FrameworkBundle/HttpCache/HttpCache.php line 60 at Symfony\Bundle\FrameworkBundle\HttpCache\HttpCache->forward(object(Request), true) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 430 at Symfony\Component\HttpKernel\HttpCache\HttpCache->fetch(object(Request), true) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 330 at Symfony\Component\HttpKernel\HttpCache\HttpCache->lookup(object(Request), true) in /home/lilicele/www/vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php line 194 at Symfony\Component\HttpKernel\HttpCache\HttpCache->handle(object(Request)) in /home/lilicele/www/web/app.php line 29