MethodNotAllowedHttpException {#495
  -statusCode: 405
  -headers: array:1 [
    "Allow" => "POST"
  ]
  #message: "No route found for "GET /demo/en/deletenotification": Method Not Allowed (Allow: POST)"
  #code: 0
  #file: "/var/www/html/revo_lib/symfony/http-kernel/EventListener/RouterListener.php"
  #line: 127
  -previous: MethodNotAllowedException {#496
    #allowedMethods: array:1 [
      0 => "POST"
    ]
    #message: ""
    #code: 0
    #file: "/var/www/html/revo_lib/symfony/routing/Matcher/UrlMatcher.php"
    #line: 79
    trace: {
      /var/www/html/revo_lib/symfony/routing/Matcher/UrlMatcher.php:79: {
        : throw 0 < count($this->allow)
        :     ? new MethodNotAllowedException(array_unique($this->allow))
        :     : new ResourceNotFoundException(sprintf('No routes found for "%s".', $pathinfo));
      }
      /var/www/html/revo_lib/symfony/routing/Matcher/UrlMatcher.php:90: {
        : 
        : $ret = $this->match($request->getPathInfo());
        : 
        arguments: {
          $pathinfo: "/demo/en/deletenotification"
        }
      }
      /var/www/html/revo_lib/symfony/http-kernel/EventListener/RouterListener.php:99: {
        : if ($this->matcher instanceof RequestMatcherInterface) {
        :     $parameters = $this->matcher->matchRequest($request);
        : } else {
        arguments: {
          $request: Request {#473 …}
        }
      }
      Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(): {}
      /var/www/html/revo_lib/symfony/event-dispatcher/EventDispatcher.php:212: {
        :     }
        :     call_user_func($listener, $event, $eventName, $this);
        : }
        arguments: {
          $function_name: array:2 [ …2]
          ...$parameters: {
            GetResponseEvent {#494 …}
            "kernel.request"
            EventDispatcher {#474 …}
          }
        }
      }
      /var/www/html/revo_lib/symfony/event-dispatcher/EventDispatcher.php:44: {
        : if ($listeners = $this->getListeners($eventName)) {
        :     $this->doDispatch($listeners, $eventName, $event);
        : }
        arguments: {
          $listeners: array:2 [ …2]
          $eventName: "kernel.request"
          $event: GetResponseEvent {#494 …}
        }
      }
      /var/www/html/revo_lib/symfony/http-kernel/HttpKernel.php:129: {
        : $event = new GetResponseEvent($this, $request, $type);
        : $this->dispatcher->dispatch(KernelEvents::REQUEST, $event);
        : 
        arguments: {
          $eventName: "kernel.request"
          $event: GetResponseEvent {#494 …}
        }
      }
      /var/www/html/revo_lib/symfony/http-kernel/HttpKernel.php:68: {
        : try {
        :     return $this->handleRaw($request, $type);
        : } catch (\Exception $e) {
        arguments: {
          $request: Request {#473 …}
          $type: 1
        }
      }
      /var/www/html/revo_class/Revolator/Revolator.php:22: {
        : try {\r
        :     return $this->handle($request);\r
        : } catch (Exception\NotFoundHttpException $e) {\r
        arguments: {
          $request: Request {#473 …}
        }
      }
      /var/www/html/public/index.php:28: {
        : // Préparation de la réponse\r
        : $response = $revolator->response($request);\r
        : \r
        arguments: {
          $request: Request {#473 …}
        }
      }
    }
  }
  trace: {
    /var/www/html/revo_lib/symfony/http-kernel/EventListener/RouterListener.php:127: {
      : 
      :     throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);
      : }
    }
    Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest(): {}
    /var/www/html/revo_lib/symfony/event-dispatcher/EventDispatcher.php:212: {
      :     }
      :     call_user_func($listener, $event, $eventName, $this);
      : }
      arguments: {
        $function_name: array:2 [ …2]
        ...$parameters: {
          GetResponseEvent {#494 …}
          "kernel.request"
          EventDispatcher {#474 …}
        }
      }
    }
    /var/www/html/revo_lib/symfony/event-dispatcher/EventDispatcher.php:44: {
      : if ($listeners = $this->getListeners($eventName)) {
      :     $this->doDispatch($listeners, $eventName, $event);
      : }
      arguments: {
        $listeners: array:2 [ …2]
        $eventName: "kernel.request"
        $event: GetResponseEvent {#494 …}
      }
    }
    /var/www/html/revo_lib/symfony/http-kernel/HttpKernel.php:129: {
      : $event = new GetResponseEvent($this, $request, $type);
      : $this->dispatcher->dispatch(KernelEvents::REQUEST, $event);
      : 
      arguments: {
        $eventName: "kernel.request"
        $event: GetResponseEvent {#494 …}
      }
    }
    /var/www/html/revo_lib/symfony/http-kernel/HttpKernel.php:68: {
      : try {
      :     return $this->handleRaw($request, $type);
      : } catch (\Exception $e) {
      arguments: {
        $request: Request {#473 …}
        $type: 1
      }
    }
    /var/www/html/revo_class/Revolator/Revolator.php:22: {
      : try {\r
      :     return $this->handle($request);\r
      : } catch (Exception\NotFoundHttpException $e) {\r
      arguments: {
        $request: Request {#473 …}
      }
    }
    /var/www/html/public/index.php:28: {
      : // Préparation de la réponse\r
      : $response = $revolator->response($request);\r
      : \r
      arguments: {
        $request: Request {#473 …}
      }
    }
  }
}
An error occurred