Exceptions
Exceptions 2
Symfony\Component\HttpKernel\Exception\ MethodNotAllowedHttpException
Show exception properties
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException {#2672 -statusCode: 405 -headers: array:1 [ "Allow" => "GET" ] }
throw new NotFoundHttpException($message, $e);} catch (MethodNotAllowedException $e) {$message = \sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)', $request->getMethod(), $request->getUriForPath($request->getPathInfo()), implode(', ', $e->getAllowedMethods()));throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);}}public function onKernelException(ExceptionEvent $event): void{
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(line 115)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 206)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 126)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 159)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 191)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/var/www/vdeskbackoffice/application/releases/546/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Symfony\Component\Routing\Exception\ MethodNotAllowedException
$allow = $allowSchemes = [];if ($ret = $this->doMatch($pathinfo, $allow, $allowSchemes)) {return $ret;}if ($allow) {throw new MethodNotAllowedException(array_keys($allow));}if (!$this instanceof RedirectableUrlMatcherInterface) {throw new ResourceNotFoundException(\sprintf('No routes found for "%s".', $pathinfo));}if (!\in_array($this->context->getMethod(), ['HEAD', 'GET'], true)) {
in
vendor/symfony/routing/Matcher/UrlMatcher.php
->
match
(line 90)
public function matchRequest(Request $request): array{$this->request = $request;$ret = $this->match($request->getPathInfo());$this->request = null;return $ret;}
in
vendor/symfony/routing/Router.php
->
matchRequest
(line 188)
if (!$matcher instanceof RequestMatcherInterface) {// fallback to the default UrlMatcherInterfacereturn $matcher->match($request->getPathInfo());}return $matcher->matchRequest($request);}/*** Gets the UrlMatcher or RequestMatcher instance associated with this Router.*/
in
vendor/symfony/http-kernel/EventListener/RouterListener.php
->
matchRequest
(line 101)
// add attributes based on the request (routing)try {// matching a request is more powerful than matching a URL path + context, so try that firstif ($this->matcher instanceof RequestMatcherInterface) {$parameters = $this->matcher->matchRequest($request);} else {$parameters = $this->matcher->match($request->getPathInfo());}$this->logger?->info('Matched route "{route}".', [
in
vendor/symfony/event-dispatcher/Debug/WrappedListener.php
->
onKernelRequest
(line 115)
$this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);$e = $this->stopwatch->start($this->name, 'event_listener');try {($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
__invoke
(line 206)
foreach ($listeners as $listener) {if ($stoppable && $event->isPropagationStopped()) {break;}$listener($event, $eventName, $this);}}/*** Sorts the internal list of listeners for the given event by priority.
in
vendor/symfony/event-dispatcher/EventDispatcher.php
->
callListeners
(line 56)
} else {$listeners = $this->getListeners($eventName);}if ($listeners) {$this->callListeners($listeners, $eventName, $event);}return $event;}
in
vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php
->
dispatch
(line 126)
try {$this->beforeDispatch($eventName, $event);try {$e = $this->stopwatch->start($eventName, 'section');try {$this->dispatcher->dispatch($event, $eventName);} finally {if ($e->isStarted()) {$e->stop();}}
in
vendor/symfony/http-kernel/HttpKernel.php
->
dispatch
(line 159)
*/private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response{// request$event = new RequestEvent($this, $request, $type);$this->dispatcher->dispatch($event, KernelEvents::REQUEST);if ($event->hasResponse()) {return $this->filterResponse($event->getResponse(), $request, $type);}
in
vendor/symfony/http-kernel/HttpKernel.php
->
handleRaw
(line 76)
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());$this->requestStack->push($request);$response = null;try {return $response = $this->handleRaw($request, $type);} catch (\Throwable $e) {if ($e instanceof \Error && !$this->handleAllThrowables) {throw $e;}
in
vendor/symfony/http-kernel/Kernel.php
->
handle
(line 191)
if (!$this->handlingHttpCache) {$this->resetServices = true;}try {return $this->getHttpKernel()->handle($request, $type, $catch);} finally {--$this->requestStackSize;}}
in
vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php
->
handle
(line 35)
) {}public function run(): int{$response = $this->kernel->handle($this->request);if (Kernel::VERSION_ID >= 60400) {$response->send(false);if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in
vendor/autoload_runtime.php
->
run
(line 32)
$app = $app(...$args);exit($runtime->getRunner($app)->run());
require_once('/var/www/vdeskbackoffice/application/releases/546/vendor/autoload_runtime.php')
in
public/index.php
(line 5)
<?phpuse App\Kernel;require_once dirname(__DIR__).'/vendor/autoload_runtime.php';return function (array $context) {return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);};
Logs
| Level | Channel | Message |
|---|---|---|
| INFO 14:57:16 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterTrait trait is deprecated since version 2.7 and will be removed in 3.0; use Twig instead. {
"exception": {}
}
|
| INFO 14:57:16 | deprecation |
User Deprecated: The Liip\ImagineBundle\Templating\FilterExtension class is deprecated since version 2.7 and will be removed in 3.0; configure "liip_imagine.twig.mode" to "lazy" instead. {
"exception": {}
}
|
| INFO 14:57:16 | request |
Matched route "_profiler". {
"route": "_profiler",
"route_parameters": {
"_route": "_profiler",
"_controller": "web_profiler.controller.profiler::panelAction",
"token": "78b927"
},
"request_uri": "https://edelrid-web.marello.com/_profiler/78b927",
"method": "GET"
}
|
| INFO 14:57:16 | doctrine |
Connecting with parameters {params} {
"params": {
"driver": "pdo_pgsql",
"idle_connection_ttl": 600,
"host": "127.0.0.1",
"port": 5432,
"user": "vdeskbackoffice_db",
"password": "<redacted>",
"driverOptions": [],
"defaultTableOptions": [],
"dbname": "vdeskbackoffice_db",
"serverVersion": "16",
"charset": "utf8"
}
}
|
| DEBUG 14:57:16 | doctrine | Executing statement: SELECT t0.id AS id_1, t0.name AS name_2, t0.slug AS slug_3, t0.domain AS domain_4, t0.is_active AS is_active_5, t0.purpose AS purpose_6, t0.api_token AS api_token_7, t0.brand_name AS brand_name_8, t0.brand_logo AS brand_logo_9, t0.created_at AS created_at_10, t0.updated_at AS updated_at_11 FROM organization t0 WHERE t0.domain = ? LIMIT 1 (parameters: {params}, types: {types}) |
| DEBUG 14:57:16 | doctrine | Executing statement: SELECT t0.id AS id_1, t0.allowed_currencies AS allowed_currencies_2, t0.default_currency AS default_currency_3, t0.credit_limits_enabled AS credit_limits_enabled_4, t0.abandoned_list_reminders_enabled AS abandoned_list_reminders_enabled_5, t0.abandoned_list_delay_minutes AS abandoned_list_delay_minutes_6, t0.abandoned_list_internal_enabled AS abandoned_list_internal_enabled_7, t0.abandoned_list_customer_enabled AS abandoned_list_customer_enabled_8, t0.allowed_localizations AS allowed_localizations_9, t0.default_localization AS default_localization_10, t0.timezone AS timezone_11, t0.shipping_origin_country AS shipping_origin_country_12, t0.order_number_prefix AS order_number_prefix_13, t0.order_number_next AS order_number_next_14, t0.intake_number_next AS intake_number_next_15, t0.invoice_number_prefix AS invoice_number_prefix_16, t0.invoice_number_next AS invoice_number_next_17, t0.consumer_number_prefix AS consumer_number_prefix_18, t0.consumer_number_next AS consumer_number_next_19, t0.price_resolution_mode AS price_resolution_mode_20, t0.search_boosts AS search_boosts_21, t0.frequently_bought_retention_days AS frequently_bought_retention_days_22, t0.ga4_measurement_id AS ga4_measurement_id_23, t0.gtm_container_id AS gtm_container_id_24, t0.cookie_banner_enabled AS cookie_banner_enabled_25, t0.cookie_policy_slug AS cookie_policy_slug_26, t0.seo_head_snippet AS seo_head_snippet_27, t0.robots_txt AS robots_txt_28, t0.jwt_ttl_seconds AS jwt_ttl_seconds_29, t0.created_at AS created_at_30, t0.updated_at AS updated_at_31, t0.organization_id AS organization_id_32, t0.fallback_notification_recipient_id AS fallback_notification_recipient_id_33, t0.default_payment_term_id AS default_payment_term_id_34, t0.default_payment_schedule_id AS default_payment_schedule_id_35 FROM organization_settings t0 WHERE t0.organization_id = ? LIMIT 1 (parameters: {params}, types: {types}) |
| DEBUG 14:57:16 | doctrine | Executing statement: SELECT t0.id AS id_1, t0.heading_font AS heading_font_2, t0.body_font AS body_font_3, t0.primary_color AS primary_color_4, t0.secondary_color AS secondary_color_5, t0.accent_color AS accent_color_6, t0.light_color AS light_color_7, t0.dark_color AS dark_color_8, t0.logo_url AS logo_url_9, t0.favicon_url AS favicon_url_10, t0.site_name AS site_name_11, t0.blog_title AS blog_title_12, t0.og_image_url AS og_image_url_13, t0.footer_tagline AS footer_tagline_14, t0.linkedin_url AS linkedin_url_15, t0.twitter_url AS twitter_url_16, t0.facebook_url AS facebook_url_17, t0.instagram_url AS instagram_url_18, t0.youtube_url AS youtube_url_19, t0.created_at AS created_at_20, t0.updated_at AS updated_at_21, t0.organization_id AS organization_id_22 FROM cms_tenant_styleguide t0 WHERE t0.organization_id = ? AND ((t0.organization_id = '10')) LIMIT 1 (parameters: {params}, types: {types}) |
| DEBUG 14:57:16 | doctrine | Executing statement: SELECT t0.id AS id_1, t0.allowed_currencies AS allowed_currencies_2, t0.default_currency AS default_currency_3, t0.credit_limits_enabled AS credit_limits_enabled_4, t0.abandoned_list_reminders_enabled AS abandoned_list_reminders_enabled_5, t0.abandoned_list_delay_minutes AS abandoned_list_delay_minutes_6, t0.abandoned_list_internal_enabled AS abandoned_list_internal_enabled_7, t0.abandoned_list_customer_enabled AS abandoned_list_customer_enabled_8, t0.allowed_localizations AS allowed_localizations_9, t0.default_localization AS default_localization_10, t0.timezone AS timezone_11, t0.shipping_origin_country AS shipping_origin_country_12, t0.order_number_prefix AS order_number_prefix_13, t0.order_number_next AS order_number_next_14, t0.intake_number_next AS intake_number_next_15, t0.invoice_number_prefix AS invoice_number_prefix_16, t0.invoice_number_next AS invoice_number_next_17, t0.consumer_number_prefix AS consumer_number_prefix_18, t0.consumer_number_next AS consumer_number_next_19, t0.price_resolution_mode AS price_resolution_mode_20, t0.search_boosts AS search_boosts_21, t0.frequently_bought_retention_days AS frequently_bought_retention_days_22, t0.ga4_measurement_id AS ga4_measurement_id_23, t0.gtm_container_id AS gtm_container_id_24, t0.cookie_banner_enabled AS cookie_banner_enabled_25, t0.cookie_policy_slug AS cookie_policy_slug_26, t0.seo_head_snippet AS seo_head_snippet_27, t0.robots_txt AS robots_txt_28, t0.jwt_ttl_seconds AS jwt_ttl_seconds_29, t0.created_at AS created_at_30, t0.updated_at AS updated_at_31, t0.organization_id AS organization_id_32, t0.fallback_notification_recipient_id AS fallback_notification_recipient_id_33, t0.default_payment_term_id AS default_payment_term_id_34, t0.default_payment_schedule_id AS default_payment_schedule_id_35 FROM organization_settings t0 WHERE t0.organization_id = ? LIMIT 1 (parameters: {params}, types: {types}) |
Stack Traces 2
|
[2/2]
MethodNotAllowedHttpException
|
|---|
Symfony\Component\HttpKernel\Exception\MethodNotAllowedHttpException:
No route found for "POST https://vendordesk.marello.com/": Method Not Allowed (Allow: GET)
at vendor/symfony/http-kernel/EventListener/RouterListener.php:160
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:159)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:191)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/var/www/vdeskbackoffice/application/releases/546/vendor/autoload_runtime.php')
(public/index.php:5)
|
|
[1/2]
MethodNotAllowedException
|
|---|
Symfony\Component\Routing\Exception\MethodNotAllowedException:
at vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:42
at Symfony\Component\Routing\Matcher\CompiledUrlMatcher->match()
(vendor/symfony/routing/Matcher/UrlMatcher.php:90)
at Symfony\Component\Routing\Matcher\UrlMatcher->matchRequest()
(vendor/symfony/routing/Router.php:188)
at Symfony\Component\Routing\Router->matchRequest()
(vendor/symfony/http-kernel/EventListener/RouterListener.php:101)
at Symfony\Component\HttpKernel\EventListener\RouterListener->onKernelRequest()
(vendor/symfony/event-dispatcher/Debug/WrappedListener.php:115)
at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
(vendor/symfony/event-dispatcher/EventDispatcher.php:206)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:56)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:126)
at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:159)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:76)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:191)
at Symfony\Component\HttpKernel\Kernel->handle()
(vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:35)
at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
(vendor/autoload_runtime.php:32)
at require_once('/var/www/vdeskbackoffice/application/releases/546/vendor/autoload_runtime.php')
(public/index.php:5)
|