Exceptions
Exceptions 2
Symfony\Component\HttpKernel\Exception\ NotFoundHttpException
in
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php
(line 137)
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
vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php
(line 115)
WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in
vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php
(line 214)
EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))
in
vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php
(line 44)
EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in
vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php
(line 143)
TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
(line 127)
HttpKernel->handleRaw(object(Request), 1)
in
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/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
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php
(line 200)
require('/home/buntu/deploy/dattes/dattes_projet/web/app_dev.php')
in
/root/.symfony5/php/d2dbb888b53cbdb4cf54de1316e3b816e6b4bdf2-router.php
(line 33)
Symfony\Component\Routing\Exception\ ResourceNotFoundException
appDevDebugProjectContainerUrlMatcher->match('/index/activite/conseil-dadministration-de-fimasucre-casablanca.html')
in
vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/UrlMatcher.php
(line 93)
UrlMatcher->matchRequest(object(Request))
in
vendor/jms/i18n-routing-bundle/JMS/I18nRoutingBundle/Router/I18nRouter.php
(line 179)
if (!$matcher instanceof RequestMatcherInterface) {
// fallback to the default UrlMatcherInterface
return $this->matchI18n($matcher->match($pathInfo), $pathInfo);
}
return $this->matchI18n($matcher->matchRequest($request), $pathInfo);
}
private function matchI18n(array $params, $url)
{
if (false === $params) {
I18nRouter->matchRequest(object(Request))
in
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/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
vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php
(line 115)
WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher))
in
vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php
(line 214)
EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent))
in
vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php
(line 44)
EventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in
vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php
(line 143)
TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php
(line 127)
HttpKernel->handleRaw(object(Request), 1)
in
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/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
vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php
(line 200)
require('/home/buntu/deploy/dattes/dattes_projet/web/app_dev.php')
in
/root/.symfony5/php/d2dbb888b53cbdb4cf54de1316e3b816e6b4bdf2-router.php
(line 33)
Stack Traces 2
[2/2] NotFoundHttpException |
---|
Symfony\Component\HttpKernel\Exception\NotFoundHttpException: No route found for "GET /index/activite/conseil-dadministration-de-fimasucre-casablanca.html" at vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:137 at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:115) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:214) at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:44) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:143) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:127) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (web/app_dev.php:29) at require('/home/buntu/deploy/dattes/dattes_projet/web/app_dev.php') (/root/.symfony5/php/d2dbb888b53cbdb4cf54de1316e3b816e6b4bdf2-router.php:33) |
[1/2] ResourceNotFoundException |
---|
Symfony\Component\Routing\Exception\ResourceNotFoundException: at var/cache/dev/appDevDebugProjectContainerUrlMatcher.php:2184 at appDevDebugProjectContainerUrlMatcher->match('/index/activite/conseil-dadministration-de-fimasucre-casablanca.html') (vendor/symfony/symfony/src/Symfony/Component/Routing/Matcher/UrlMatcher.php:93) at Symfony\Component\Routing\Matcher\UrlMatcher->matchRequest(object(Request)) (vendor/jms/i18n-routing-bundle/JMS/I18nRoutingBundle/Router/I18nRouter.php:179) at JMS\I18nRoutingBundle\Router\I18nRouter->matchRequest(object(Request)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/EventListener/RouterListener.php:113) at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/WrappedListener.php:115) at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:214) at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/EventDispatcher.php:44) at Symfony\Component\EventDispatcher\EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) (vendor/symfony/symfony/src/Symfony/Component/EventDispatcher/Debug/TraceableEventDispatcher.php:143) at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:127) at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68) at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true) (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:200) at Symfony\Component\HttpKernel\Kernel->handle(object(Request)) (web/app_dev.php:29) at require('/home/buntu/deploy/dattes/dattes_projet/web/app_dev.php') (/root/.symfony5/php/d2dbb888b53cbdb4cf54de1316e3b816e6b4bdf2-router.php:33) |