Error 404 Not Found

GET https://cargopulse.srv2.nesh.pt/privacy

Exceptions

No route found for "GET https://cargopulse.srv2.nesh.pt/privacy"

Exceptions 2

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#1695
  -statusCode: 404
  -headers: []
}
  1. if ($referer = $request->headers->get('referer')) {
  2. $message .= \sprintf(' (from "%s")', $referer);
  3. }
  4. throw new NotFoundHttpException($message, $e);
  5. } catch (MethodNotAllowedException $e) {
  6. $message = \sprintf('No route found for "%s %s": Method Not Allowed (Allow: %s)', $request->getMethod(), $request->getUriForPath($request->getPathInfo()), implode(', ', $e->getAllowedMethods()));
  7. throw new MethodNotAllowedHttpException($e->getAllowedMethods(), $message, $e);
  8. }
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
  1. foreach ($listeners as $listener) {
  2. if ($stoppable && $event->isPropagationStopped()) {
  3. break;
  4. }
  5. $listener($event, $eventName, $this);
  6. }
  7. }
  8. /**
  9. * Sorts the internal list of listeners for the given event by priority.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. */
  2. private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response
  3. {
  4. // request
  5. $event = new RequestEvent($this, $request, $type);
  6. $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
  7. if ($event->hasResponse()) {
  8. return $this->filterResponse($event->getResponse(), $request, $type);
  9. }
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/miguel/sites/cargopulse/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use CTS\SkeletonCore\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Symfony\Component\Routing\Exception\ ResourceNotFoundException

No routes found for "/privacy/".

  1. if ($allowSchemes) {
  2. goto redirect_scheme;
  3. }
  4. }
  5. throw new ResourceNotFoundException(\sprintf('No routes found for "%s".', $pathinfo));
  6. }
  7. private function doMatch(string $pathinfo, array &$allow = [], array &$allowSchemes = []): array
  8. {
  9. $allow = $allowSchemes = [];
  1. $this->request = $request;
  2. $originalContext = $this->context;
  3. $this->context = (clone $originalContext)->fromRequest($request);
  4. try {
  5. return $this->match($request->getPathInfo());
  6. } finally {
  7. $this->context = $originalContext;
  8. $this->request = null;
  9. }
  10. }
in vendor/symfony/routing/Router.php -> matchRequest (line 188)
  1. if (!$matcher instanceof RequestMatcherInterface) {
  2. // fallback to the default UrlMatcherInterface
  3. return $matcher->match($request->getPathInfo());
  4. }
  5. return $matcher->matchRequest($request);
  6. }
  7. /**
  8. * Gets the UrlMatcher or RequestMatcher instance associated with this Router.
  9. */
  1. // add attributes based on the request (routing)
  2. try {
  3. // matching a request is more powerful than matching a URL path + context, so try that first
  4. if ($this->matcher instanceof RequestMatcherInterface) {
  5. $parameters = $this->matcher->matchRequest($request);
  6. } else {
  7. $parameters = $this->matcher->match($request->getPathInfo());
  8. }
  9. $this->logger?->info('Matched route "{route}".', [
  1. $this->priority ??= $dispatcher->getListenerPriority($eventName, $this->listener);
  2. $e = $this->stopwatch->start($this->name, 'event_listener');
  3. try {
  4. ($this->optimizedListener ?? $this->listener)($event, $eventName, $dispatcher);
  5. } finally {
  6. if ($e->isStarted()) {
  7. $e->stop();
  8. }
  9. }
  1. foreach ($listeners as $listener) {
  2. if ($stoppable && $event->isPropagationStopped()) {
  3. break;
  4. }
  5. $listener($event, $eventName, $this);
  6. }
  7. }
  8. /**
  9. * Sorts the internal list of listeners for the given event by priority.
  1. } else {
  2. $listeners = $this->getListeners($eventName);
  3. }
  4. if ($listeners) {
  5. $this->callListeners($listeners, $eventName, $event);
  6. }
  7. return $event;
  8. }
  1. try {
  2. $this->beforeDispatch($eventName, $event);
  3. try {
  4. $e = $this->stopwatch->start($eventName, 'section');
  5. try {
  6. $this->dispatcher->dispatch($event, $eventName);
  7. } finally {
  8. if ($e->isStarted()) {
  9. $e->stop();
  10. }
  11. }
  1. */
  2. private function handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response
  3. {
  4. // request
  5. $event = new RequestEvent($this, $request, $type);
  6. $this->dispatcher->dispatch($event, KernelEvents::REQUEST);
  7. if ($event->hasResponse()) {
  8. return $this->filterResponse($event->getResponse(), $request, $type);
  9. }
  1. $request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
  2. $this->requestStack->push($request);
  3. $response = null;
  4. try {
  5. return $response = $this->handleRaw($request, $type);
  6. } catch (\Throwable $e) {
  7. if ($e instanceof \Error && !$this->handleAllThrowables) {
  8. throw $e;
  9. }
  1. if (!$this->handlingHttpCache) {
  2. $this->resetServices = true;
  3. }
  4. try {
  5. return $this->getHttpKernel()->handle($request, $type, $catch);
  6. } finally {
  7. --$this->requestStackSize;
  8. }
  9. }
  1. ) {
  2. }
  3. public function run(): int
  4. {
  5. $response = $this->kernel->handle($this->request);
  6. if (Kernel::VERSION_ID >= 60400) {
  7. $response->send(false);
  8. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
in vendor/autoload_runtime.php -> run (line 32)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/home/miguel/sites/cargopulse/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use CTS\SkeletonCore\Kernel;
  3. require_once dirname(__DIR__).'/vendor/autoload_runtime.php';
  4. return function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 19:38:41 deprecation User Deprecated: Class "Doctrine\ORM\Proxy\Autoloader" is deprecated. Use native lazy objects instead. (Autoloader.php:74 called by DoctrineBundle.php:136, https://github.com/doctrine/orm/pull/12005, package doctrine/orm)
{
    "exception": {}
}
INFO 19:38:42 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "90bd02"
    },
    "request_uri": "https://cargopulse.srv2.nesh.pt/_profiler/90bd02",
    "method": "GET"
}
INFO 19:38:42 doctrine Connecting with parameters {params}
{
    "params": {
        "driver": "pdo_mysql",
        "idle_connection_ttl": 600,
        "host": "127.0.0.1",
        "port": 3306,
        "user": "cp_local",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": [],
        "dbname": "cp_local",
        "serverVersion": "9.7.0",
        "charset": "utf8mb4"
    }
}
DEBUG 19:38:42 doctrine Executing statement: SELECT c0_.id AS id_0, c0_.display_name AS display_name_1, c0_.legal_name AS legal_name_2, c0_.tagline AS tagline_3, c0_.logo_path AS logo_path_4, c0_.logo_light_path AS logo_light_path_5, c0_.favicon_path AS favicon_path_6, c0_.primary_color AS primary_color_7, c0_.accent_color AS accent_color_8, c0_.dark_sidebar AS dark_sidebar_9, c0_.template AS template_10, c0_.powered_by AS powered_by_11, c0_.email_from_name AS email_from_name_12, c0_.email_from_address AS email_from_address_13, c0_.email_reply_to AS email_reply_to_14, c0_.commercial_from_name AS commercial_from_name_15, c0_.commercial_from_address AS commercial_from_address_16, c0_.finance_from_name AS finance_from_name_17, c0_.finance_from_address AS finance_from_address_18, c0_.portal_from_name AS portal_from_name_19, c0_.portal_from_address AS portal_from_address_20, c0_.portal_reply_to AS portal_reply_to_21, c0_.portal_domain AS portal_domain_22, c0_.portal_domain_status AS portal_domain_status_23, c0_.portal_domain_status_message AS portal_domain_status_message_24, c0_.portal_domain_verified_at AS portal_domain_verified_at_25, c0_.portal_domain_attempted_at AS portal_domain_attempted_at_26, c0_.portal_notification_emails AS portal_notification_emails_27, c0_.email_footer_html AS email_footer_html_28, c0_.bank_accounts AS bank_accounts_29, c0_.email_transport AS email_transport_30, c0_.email_transport_config AS email_transport_config_31, c0_.login_background_path AS login_background_path_32, c0_.login_page_message AS login_page_message_33, c0_.custom_css AS custom_css_34, c0_.locale_default AS locale_default_35, c0_.timezone_default AS timezone_default_36, c0_.compliance_request_default_basis AS compliance_request_default_basis_37, c0_.notes AS notes_38, c0_.created_at AS created_at_39, c0_.updated_at AS updated_at_40, c0_.tenant_id AS tenant_id_41 FROM cp_branding c0_ INNER JOIN cp_tenants c1_ ON c0_.tenant_id = c1_.id WHERE c1_.slug = ? LIMIT 1 (parameters: {params}, types: {types})

                            
DEBUG 19:38:42 doctrine Executing statement: SELECT c0_.id AS id_0, c0_.display_name AS display_name_1, c0_.legal_name AS legal_name_2, c0_.tagline AS tagline_3, c0_.logo_path AS logo_path_4, c0_.logo_light_path AS logo_light_path_5, c0_.favicon_path AS favicon_path_6, c0_.primary_color AS primary_color_7, c0_.accent_color AS accent_color_8, c0_.dark_sidebar AS dark_sidebar_9, c0_.template AS template_10, c0_.powered_by AS powered_by_11, c0_.email_from_name AS email_from_name_12, c0_.email_from_address AS email_from_address_13, c0_.email_reply_to AS email_reply_to_14, c0_.commercial_from_name AS commercial_from_name_15, c0_.commercial_from_address AS commercial_from_address_16, c0_.finance_from_name AS finance_from_name_17, c0_.finance_from_address AS finance_from_address_18, c0_.portal_from_name AS portal_from_name_19, c0_.portal_from_address AS portal_from_address_20, c0_.portal_reply_to AS portal_reply_to_21, c0_.portal_domain AS portal_domain_22, c0_.portal_domain_status AS portal_domain_status_23, c0_.portal_domain_status_message AS portal_domain_status_message_24, c0_.portal_domain_verified_at AS portal_domain_verified_at_25, c0_.portal_domain_attempted_at AS portal_domain_attempted_at_26, c0_.portal_notification_emails AS portal_notification_emails_27, c0_.email_footer_html AS email_footer_html_28, c0_.bank_accounts AS bank_accounts_29, c0_.email_transport AS email_transport_30, c0_.email_transport_config AS email_transport_config_31, c0_.login_background_path AS login_background_path_32, c0_.login_page_message AS login_page_message_33, c0_.custom_css AS custom_css_34, c0_.locale_default AS locale_default_35, c0_.timezone_default AS timezone_default_36, c0_.compliance_request_default_basis AS compliance_request_default_basis_37, c0_.notes AS notes_38, c0_.created_at AS created_at_39, c0_.updated_at AS updated_at_40, c0_.tenant_id AS tenant_id_41 FROM cp_branding c0_ INNER JOIN cp_tenants c1_ ON c0_.tenant_id = c1_.id WHERE c1_.slug = ? LIMIT 1 (parameters: {params}, types: {types})

                            
DEBUG 19:38:42 doctrine Executing statement: SELECT t0.id AS id_1, t0.slug AS slug_2, t0.display_name AS display_name_3, t0.status AS status_4, t0.db_name AS db_name_5, t0.php_fpm_socket AS php_fpm_socket_6, t0.subdomain AS subdomain_7, t0.custom_domain AS custom_domain_8, t0.mercure_jwt_secret AS mercure_jwt_secret_9, t0.branding AS branding_10, t0.notes AS notes_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.provisioned_at AS provisioned_at_14, t0.suspended_at AS suspended_at_15, t0.archived_at AS archived_at_16, t0.license_key AS license_key_17, t0.self_organization_id AS self_organization_id_18 FROM cp_tenants t0 WHERE t0.slug = ? LIMIT 1 (parameters: {params}, types: {types})

                            
DEBUG 19:38:42 doctrine Executing statement: SELECT t0.id AS id_1, t0.slug AS slug_2, t0.display_name AS display_name_3, t0.status AS status_4, t0.db_name AS db_name_5, t0.php_fpm_socket AS php_fpm_socket_6, t0.subdomain AS subdomain_7, t0.custom_domain AS custom_domain_8, t0.mercure_jwt_secret AS mercure_jwt_secret_9, t0.branding AS branding_10, t0.notes AS notes_11, t0.created_at AS created_at_12, t0.updated_at AS updated_at_13, t0.provisioned_at AS provisioned_at_14, t0.suspended_at AS suspended_at_15, t0.archived_at AS archived_at_16, t0.license_key AS license_key_17, t0.self_organization_id AS self_organization_id_18 FROM cp_tenants t0 WHERE t0.slug = ? LIMIT 1 (parameters: {params}, types: {types})

                            

Stack Traces 2

[2/2] NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
No route found for "GET https://cargopulse.srv2.nesh.pt/privacy"

  at vendor/symfony/http-kernel/EventListener/RouterListener.php:156
  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:129)
  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:193)
  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('/home/miguel/sites/cargopulse/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/2] ResourceNotFoundException
Symfony\Component\Routing\Exception\ResourceNotFoundException:
No routes found for "/privacy/".

  at vendor/symfony/routing/Matcher/Dumper/CompiledUrlMatcherTrait.php:70
  at Symfony\Component\Routing\Matcher\CompiledUrlMatcher->match()
     (vendor/symfony/routing/Matcher/UrlMatcher.php:93)
  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:129)
  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:193)
  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('/home/miguel/sites/cargopulse/vendor/autoload_runtime.php')
     (public/index.php:5)