Exceptions
Exceptions 2
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
if ($referer = $request->headers->get('referer')) {
$message .= sprintf(' (from "%s")', $referer);
}
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(), implode(', ', $e->getAllowedMethods()));
throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);
}
RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in
var/www/auth/vendor/symfony/event-dispatcher/Debug/WrappedListener.php
(line 115)
WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in
var/www/auth/vendor/symfony/event-dispatcher/EventDispatcher.php
(line 214)
EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))
in
var/www/auth/vendor/symfony/event-dispatcher/EventDispatcher.php
(line 44)
EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in
var/www/auth/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
(line 143)
TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in
var/www/auth/vendor/symfony/http-kernel/HttpKernel.php
(line 127)
HttpKernel->handleRaw(object(Request), 1)
in
var/www/auth/vendor/symfony/http-kernel/HttpKernel.php
(line 68)
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
HttpKernel->handle(object(Request), 1, true)
in
var/www/auth/vendor/silex/silex/src/Silex/Application.php
(line 496)
Application->handle(object(Request))
in
var/www/auth/vendor/silex/silex/src/Silex/Application.php
(line 477)
Symfony\Component\Routing\Exception\ ResourceNotFoundException
UrlMatcher->match('/robots.txt')
in
var/www/auth/vendor/symfony/routing/Matcher/RedirectableUrlMatcher.php
(line 28)
RedirectableUrlMatcher->match('/robots.txt')
in
var/www/auth/vendor/symfony/routing/Matcher/UrlMatcher.php
(line 93)
UrlMatcher->matchRequest(object(Request))
in
var/www/auth/vendor/silex/silex/src/Silex/Provider/Routing/LazyRequestMatcher.php
(line 53)
LazyRequestMatcher->matchRequest(object(Request))
in
var/www/auth/vendor/symfony/http-kernel/EventListener/RouterListener.php
(line 113)
// add attributes based on the request (routing)
try {
// matching a request is more powerful than matching a URL path + context, so try that first
if ($this->matcher instanceof RequestMatcherInterface) {
$parameters = $this->matcher->matchRequest($request);
} else {
$parameters = $this->matcher->match($request->getPathInfo());
}
if (null !== $this->logger) {
RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in
var/www/auth/vendor/symfony/event-dispatcher/Debug/WrappedListener.php
(line 115)
WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in
var/www/auth/vendor/symfony/event-dispatcher/EventDispatcher.php
(line 214)
EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))
in
var/www/auth/vendor/symfony/event-dispatcher/EventDispatcher.php
(line 44)
EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in
var/www/auth/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
(line 143)
TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in
var/www/auth/vendor/symfony/http-kernel/HttpKernel.php
(line 127)
HttpKernel->handleRaw(object(Request), 1)
in
var/www/auth/vendor/symfony/http-kernel/HttpKernel.php
(line 68)
public function handle(Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
HttpKernel->handle(object(Request), 1, true)
in
var/www/auth/vendor/silex/silex/src/Silex/Application.php
(line 496)
Application->handle(object(Request))
in
var/www/auth/vendor/silex/silex/src/Silex/Application.php
(line 477)
Stack Traces 2
[2/2] NotFoundHttpException |
---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /robots.txt" at var/www/auth/vendor/symfony/http-kernel/EventListener/RouterListener.php:137 at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) (var/www/auth/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) (var/www/auth/vendor/symfony/event-dispatcher/EventDispatcher.php:214) at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) (var/www/auth/vendor/symfony/event-dispatcher/EventDispatcher.php:44) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) (var/www/auth/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:143) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) (var/www/auth/vendor/symfony/http-kernel/HttpKernel.php:127) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (var/www/auth/vendor/symfony/http-kernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (var/www/auth/vendor/silex/silex/src/Silex/Application.php:496) at Silex\Application->handle(object(Request)) (var/www/auth/vendor/silex/silex/src/Silex/Application.php:477) at Silex\Application->run() (var/www/auth/web/index_dev.php:23) |
[1/2] ResourceNotFoundException |
---|
Symfony\Component\Routing\Exception\ResourceNotFoundException: No routes found for "/robots.txt". at var/www/auth/vendor/symfony/routing/Matcher/UrlMatcher.php:83 at Symfony\Component\Routing\Matcher\UrlMatcher->match('/robots.txt') (var/www/auth/vendor/symfony/routing/Matcher/RedirectableUrlMatcher.php:28) at Symfony\Component\Routing\Matcher\RedirectableUrlMatcher->match('/robots.txt') (var/www/auth/vendor/symfony/routing/Matcher/UrlMatcher.php:93) at Symfony\Component\Routing\Matcher\UrlMatcher->matchRequest(object(Request)) (var/www/auth/vendor/silex/silex/src/Silex/Provider/Routing/LazyRequestMatcher.php:53) at Silex\Provider\Routing\LazyRequestMatcher->matchRequest(object(Request)) (var/www/auth/vendor/symfony/http-kernel/EventListener/RouterListener.php:113) at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) (var/www/auth/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) (var/www/auth/vendor/symfony/event-dispatcher/EventDispatcher.php:214) at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) (var/www/auth/vendor/symfony/event-dispatcher/EventDispatcher.php:44) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) (var/www/auth/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:143) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) (var/www/auth/vendor/symfony/http-kernel/HttpKernel.php:127) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (var/www/auth/vendor/symfony/http-kernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (var/www/auth/vendor/silex/silex/src/Silex/Application.php:496) at Silex\Application->handle(object(Request)) (var/www/auth/vendor/silex/silex/src/Silex/Application.php:477) at Silex\Application->run() (var/www/auth/web/index_dev.php:23) |