Error 404 Not Found

GET https://51.75.251.170/actuator/gateway/routes

Forwarded to ErrorController (0ed102)

Exceptions

Produit non disponible.

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#1418
  -statusCode: 404
  -headers: []
}
  1. *
  2. * throw $this->createNotFoundException('Page not found!');
  3. */
  4. protected function createNotFoundException(string $message = 'Not Found', ?\Throwable $previous = null): NotFoundHttpException
  5. {
  6. return new NotFoundHttpException($message, $previous);
  7. }
  8. /**
  9. * Returns an AccessDeniedException.
  10. *
AbstractController->createNotFoundException() in src/Controller/CatalogController.php (line 224)
  1. ?string $subcategory = null,
  2. ?string $size = null,
  3. ): Response {
  4. $product = $repo->findActiveBySlug($slug);
  5. if (!$product) {
  6. throw $this->createNotFoundException('Produit non disponible.');
  7. }
  8. // Planche size selection lives in the path (/nos-planches/agora/moyenne).
  9. // A legacy ?size= still resolves, then 301s to the pretty path below.
  10. // L'URL expose le code en minuscules (slug-friendly) mais les codes AV
  1. $this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
  2. $controller = $event->getController();
  3. $arguments = $event->getArguments();
  4. // call controller
  5. $response = $controller(...$arguments);
  6. // view
  7. if (!$response instanceof Response) {
  8. $event = new ViewEvent($this, $request, $type, $response, $event);
  9. $this->dispatcher->dispatch($event, KernelEvents::VIEW);
  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('/var/www/aperitiu-staging/vendor/autoload_runtime.php') in public/index.php (line 5)
  1. <?php
  2. use App\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 10:26:13 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 10:26:13 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "latest"
    },
    "request_uri": "https://aperitiu.vultek.fr/_profiler/latest?ip=216.73.216.86&type=request",
    "method": "GET"
}
INFO 10:26:13 doctrine Connecting with parameters {params}
{
    "params": {
        "use_savepoints": true,
        "driver": "pdo_mysql",
        "idle_connection_ttl": 600,
        "host": "127.0.0.1",
        "port": 3306,
        "user": "dallvince",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": [],
        "dbname": "aperitiu-staging",
        "serverVersion": "mariadb-11.4.0",
        "charset": "utf8mb4"
    }
}
DEBUG 10:26:13 doctrine Executing query: SELECT s0_.id AS id_0, s0_.uuid AS uuid_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.site_name AS site_name_4, s0_.address AS address_5, s0_.address_complement AS address_complement_6, s0_.postal_code AS postal_code_7, s0_.city AS city_8, s0_.country AS country_9, s0_.google_maps_embed_url AS google_maps_embed_url_10, s0_.contact_email AS contact_email_11, s0_.email_contact_gmail AS email_contact_gmail_12, s0_.phone AS phone_13, s0_.website AS website_14, s0_.siret AS siret_15, s0_.sku_company_code AS sku_company_code_16, s0_.logo AS logo_17, s0_.favicon AS favicon_18, s0_.tagline AS tagline_19, s0_.password_change_ttl AS password_change_ttl_20, s0_.email_change_ttl AS email_change_ttl_21, s0_.reset_password_token_ttl AS reset_password_token_ttl_22, s0_.verification_token_ttl AS verification_token_ttl_23, s0_.maintenance_mode AS maintenance_mode_24, s0_.registration_enabled AS registration_enabled_25, s0_.forgot_password_enabled AS forgot_password_enabled_26, s0_.idle_logout_enabled AS idle_logout_enabled_27, s0_.idle_logout_ttl AS idle_logout_ttl_28, s0_.social_networks_enabled AS social_networks_enabled_29, s0_.monday_hours AS monday_hours_30, s0_.tuesday_hours AS tuesday_hours_31, s0_.wednesday_hours AS wednesday_hours_32, s0_.thursday_hours AS thursday_hours_33, s0_.friday_hours AS friday_hours_34, s0_.saturday_hours AS saturday_hours_35, s0_.sunday_hours AS sunday_hours_36, s0_.max_shipping_addresses AS max_shipping_addresses_37, s0_.catalog_page_size AS catalog_page_size_38, s0_.cart_max_items AS cart_max_items_39, s0_.product_images_limit AS product_images_limit_40, s0_.delivery_cutoff_time AS delivery_cutoff_time_41, s0_.click_collect_lead_hours AS click_collect_lead_hours_42, s0_.delivery_max_per_slot AS delivery_max_per_slot_43, s0_.delivery_max_per_day AS delivery_max_per_day_44, s0_.click_collect_max_per_slot AS click_collect_max_per_slot_45, s0_.click_collect_max_per_day AS click_collect_max_per_day_46, s0_.delivery_enabled_weekdays AS delivery_enabled_weekdays_47, s0_.click_collect_enabled_weekdays AS click_collect_enabled_weekdays_48, s0_.delivery_calendar_weeks AS delivery_calendar_weeks_49, s0_.click_collect_same_day_confirm_required AS click_collect_same_day_confirm_required_50, s0_.twitter_handle AS twitter_handle_51, s0_.cookie_consent_enabled AS cookie_consent_enabled_52, s0_.cookie_banner_title AS cookie_banner_title_53, s0_.cookie_banner_text AS cookie_banner_text_54, s0_.cookie_banner_position AS cookie_banner_position_55, s0_.cookie_banner_show_refuse AS cookie_banner_show_refuse_56 FROM site_parameter s0_ LIMIT 1
{
    "sql": "SELECT s0_.id AS id_0, s0_.uuid AS uuid_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.site_name AS site_name_4, s0_.address AS address_5, s0_.address_complement AS address_complement_6, s0_.postal_code AS postal_code_7, s0_.city AS city_8, s0_.country AS country_9, s0_.google_maps_embed_url AS google_maps_embed_url_10, s0_.contact_email AS contact_email_11, s0_.email_contact_gmail AS email_contact_gmail_12, s0_.phone AS phone_13, s0_.website AS website_14, s0_.siret AS siret_15, s0_.sku_company_code AS sku_company_code_16, s0_.logo AS logo_17, s0_.favicon AS favicon_18, s0_.tagline AS tagline_19, s0_.password_change_ttl AS password_change_ttl_20, s0_.email_change_ttl AS email_change_ttl_21, s0_.reset_password_token_ttl AS reset_password_token_ttl_22, s0_.verification_token_ttl AS verification_token_ttl_23, s0_.maintenance_mode AS maintenance_mode_24, s0_.registration_enabled AS registration_enabled_25, s0_.forgot_password_enabled AS forgot_password_enabled_26, s0_.idle_logout_enabled AS idle_logout_enabled_27, s0_.idle_logout_ttl AS idle_logout_ttl_28, s0_.social_networks_enabled AS social_networks_enabled_29, s0_.monday_hours AS monday_hours_30, s0_.tuesday_hours AS tuesday_hours_31, s0_.wednesday_hours AS wednesday_hours_32, s0_.thursday_hours AS thursday_hours_33, s0_.friday_hours AS friday_hours_34, s0_.saturday_hours AS saturday_hours_35, s0_.sunday_hours AS sunday_hours_36, s0_.max_shipping_addresses AS max_shipping_addresses_37, s0_.catalog_page_size AS catalog_page_size_38, s0_.cart_max_items AS cart_max_items_39, s0_.product_images_limit AS product_images_limit_40, s0_.delivery_cutoff_time AS delivery_cutoff_time_41, s0_.click_collect_lead_hours AS click_collect_lead_hours_42, s0_.delivery_max_per_slot AS delivery_max_per_slot_43, s0_.delivery_max_per_day AS delivery_max_per_day_44, s0_.click_collect_max_per_slot AS click_collect_max_per_slot_45, s0_.click_collect_max_per_day AS click_collect_max_per_day_46, s0_.delivery_enabled_weekdays AS delivery_enabled_weekdays_47, s0_.click_collect_enabled_weekdays AS click_collect_enabled_weekdays_48, s0_.delivery_calendar_weeks AS delivery_calendar_weeks_49, s0_.click_collect_same_day_confirm_required AS click_collect_same_day_confirm_required_50, s0_.twitter_handle AS twitter_handle_51, s0_.cookie_consent_enabled AS cookie_consent_enabled_52, s0_.cookie_banner_title AS cookie_banner_title_53, s0_.cookie_banner_text AS cookie_banner_text_54, s0_.cookie_banner_position AS cookie_banner_position_55, s0_.cookie_banner_show_refuse AS cookie_banner_show_refuse_56 FROM site_parameter s0_ LIMIT 1"
}
DEBUG 10:26:13 doctrine Executing query: SELECT s0_.id AS id_0, s0_.uuid AS uuid_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.mailer_dsn AS mailer_dsn_4, s0_.mailer_sender_email AS mailer_sender_email_5, s0_.mailer_sender_name AS mailer_sender_name_6, s0_.google_auth_enabled AS google_auth_enabled_7, s0_.google_client_id AS google_client_id_8, s0_.google_client_secret AS google_client_secret_9, s0_.mypos_enabled AS mypos_enabled_10, s0_.mypos_configuration_package AS mypos_configuration_package_11, s0_.mypos_ipc_url AS mypos_ipc_url_12, s0_.mypos_test_mode AS mypos_test_mode_13 FROM site_integration s0_ LIMIT 1
{
    "sql": "SELECT s0_.id AS id_0, s0_.uuid AS uuid_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.mailer_dsn AS mailer_dsn_4, s0_.mailer_sender_email AS mailer_sender_email_5, s0_.mailer_sender_name AS mailer_sender_name_6, s0_.google_auth_enabled AS google_auth_enabled_7, s0_.google_client_id AS google_client_id_8, s0_.google_client_secret AS google_client_secret_9, s0_.mypos_enabled AS mypos_enabled_10, s0_.mypos_configuration_package AS mypos_configuration_package_11, s0_.mypos_ipc_url AS mypos_ipc_url_12, s0_.mypos_test_mode AS mypos_test_mode_13 FROM site_integration s0_ LIMIT 1"
}
DEBUG 10:26:13 doctrine Executing query: SELECT s0_.id AS id_0, s0_.uuid AS uuid_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.title AS title_4, s0_.icon AS icon_5, s0_.url AS url_6, s0_.position AS position_7, s0_.is_active AS is_active_8 FROM social_network s0_ WHERE s0_.is_active = 1 ORDER BY s0_.position ASC
{
    "sql": "SELECT s0_.id AS id_0, s0_.uuid AS uuid_1, s0_.created_at AS created_at_2, s0_.updated_at AS updated_at_3, s0_.title AS title_4, s0_.icon AS icon_5, s0_.url AS url_6, s0_.position AS position_7, s0_.is_active AS is_active_8 FROM social_network s0_ WHERE s0_.is_active = 1 ORDER BY s0_.position ASC"
}
DEBUG 10:26:13 doctrine Executing query: SELECT c0_.id AS id_0, c0_.uuid AS uuid_1, c0_.created_at AS created_at_2, c0_.updated_at AS updated_at_3, c0_.title AS title_4, c0_.slug AS slug_5, c0_.type AS type_6, c0_.code AS code_7, c0_.image AS image_8, c0_.is_active AS is_active_9, c0_.position AS position_10, c0_.parent_id AS parent_id_11 FROM category c0_ WHERE c0_.parent_id IS NULL AND c0_.is_active = 1 ORDER BY c0_.position ASC, c0_.id ASC
{
    "sql": "SELECT c0_.id AS id_0, c0_.uuid AS uuid_1, c0_.created_at AS created_at_2, c0_.updated_at AS updated_at_3, c0_.title AS title_4, c0_.slug AS slug_5, c0_.type AS type_6, c0_.code AS code_7, c0_.image AS image_8, c0_.is_active AS is_active_9, c0_.position AS position_10, c0_.parent_id AS parent_id_11 FROM category c0_ WHERE c0_.parent_id IS NULL AND c0_.is_active = 1 ORDER BY c0_.position ASC, c0_.id ASC"
}
DEBUG 10:26:13 doctrine Executing query: SELECT c0_.id AS id_0, c0_.uuid AS uuid_1, c0_.created_at AS created_at_2, c0_.updated_at AS updated_at_3, c0_.name AS name_4, c0_.slug AS slug_5, c0_.description AS description_6, c0_.is_required AS is_required_7, c0_.is_enabled AS is_enabled_8, c0_.display_order AS display_order_9 FROM cookie_category c0_ WHERE c0_.is_enabled = 1 ORDER BY c0_.display_order ASC
{
    "sql": "SELECT c0_.id AS id_0, c0_.uuid AS uuid_1, c0_.created_at AS created_at_2, c0_.updated_at AS updated_at_3, c0_.name AS name_4, c0_.slug AS slug_5, c0_.description AS description_6, c0_.is_required AS is_required_7, c0_.is_enabled AS is_enabled_8, c0_.display_order AS display_order_9 FROM cookie_category c0_ WHERE c0_.is_enabled = 1 ORDER BY c0_.display_order ASC"
}
DEBUG 10:26:13 doctrine Executing statement: SELECT COUNT(*) FROM contact_message t0 WHERE t0.is_read = ? (parameters: {params}, types: {types})

                            
DEBUG 10:26:13 doctrine Executing query: SELECT t0.id AS id_1, t0.uuid AS uuid_2, t0.action AS action_3, t0.category AS category_4, t0.description AS description_5, t0.performed_by AS performed_by_6, t0.created_at AS created_at_7 FROM activity_log t0 ORDER BY t0.created_at DESC LIMIT 5
{
    "sql": "SELECT t0.id AS id_1, t0.uuid AS uuid_2, t0.action AS action_3, t0.category AS category_4, t0.description AS description_5, t0.performed_by AS performed_by_6, t0.created_at AS created_at_7 FROM activity_log t0 ORDER BY t0.created_at DESC LIMIT 5"
}

Stack Trace

NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Produit non disponible.

  at vendor/symfony/framework-bundle/Controller/AbstractController.php:331
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->createNotFoundException()
     (src/Controller/CatalogController.php:224)
  at App\Controller\CatalogController->show()
     (vendor/symfony/http-kernel/HttpKernel.php:183)
  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('/var/www/aperitiu-staging/vendor/autoload_runtime.php')
     (public/index.php:5)