Error 404 Not Found

GET https://novaerp.watys.fr/assets/js/qr_modal.js

Exceptions

Asset with public path "/assets/js/qr_modal.js" not found.

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

Show exception properties
Symfony\Component\HttpKernel\Exception\NotFoundHttpException {#494
  -statusCode: 404
  -headers: []
}
  1. }
  2. $asset = $this->findAssetFromCache($pathInfo);
  3. if (!$asset) {
  4. throw new NotFoundHttpException(\sprintf('Asset with public path "%s" not found.', $pathInfo));
  5. }
  6. $this->profiler?->disable();
  7. if (null !== $asset->content) {
  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. $response->send(false);
  7. if (\function_exists('fastcgi_finish_request') && !$this->debug) {
  8. fastcgi_finish_request();
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/app/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 static function (array $context) {
  5. return new Kernel($context['APP_ENV'], (bool) $context['APP_DEBUG']);
  6. };

Logs

Level Channel Message
INFO 01:13:25 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "bbc3de"
    },
    "request_uri": "https://novaerp.watys.fr/_profiler/bbc3de?panel=exception&type=request",
    "method": "GET"
}
INFO 01:13:25 deprecation User Deprecated: Passing string as $order to Doctrine\ORM\QueryBuilder::orderBy() is deprecated, use an instance of SortDirection instead. (QueryBuilder.php:1518 called by QueryBuilder.php:1235, https://github.com/doctrine/orm/issues/11313, package doctrine/orm)
{
    "exception": {}
}
INFO 01:13:25 doctrine Connecting with parameters {params}
{
    "params": {
        "driver": "pdo_pgsql",
        "idle_connection_ttl": 600,
        "host": "127.0.0.1",
        "port": 5432,
        "user": "novaerp",
        "password": "<redacted>",
        "driverOptions": [],
        "defaultTableOptions": [],
        "dbname": "novaerp",
        "serverVersion": "17",
        "charset": "utf8"
    }
}
DEBUG 01:13:25 doctrine Executing query: SELECT s0_.id AS id_0, s0_.code AS code_1, s0_.label AS label_2, s0_.item_type AS item_type_3, s0_.url AS url_4, s0_.icon AS icon_5, s0_.sort_order AS sort_order_6, s0_.is_active AS is_active_7, s0_.requires_published_entity AS requires_published_entity_8, s1_.id AS id_9, s1_.code AS code_10, s1_.label AS label_11, s1_.description AS description_12, s1_.icon AS icon_13, s1_.sort_order AS sort_order_14, s1_.is_system AS is_system_15, s1_.is_active AS is_active_16, s2_.id AS id_17, s2_.code AS code_18, s2_.table_name AS table_name_19, s2_.label AS label_20, s2_.label_plural AS label_plural_21, s2_.description AS description_22, s2_.soft_delete AS soft_delete_23, s2_.audited AS audited_24, s2_.company_scoped AS company_scoped_25, s2_.site_scoped AS site_scoped_26, s2_.api_enabled AS api_enabled_27, s2_.ui_enabled AS ui_enabled_28, s2_.is_active AS is_active_29, s2_.status AS status_30, s2_.published_version AS published_version_31, s2_.created_at AS created_at_32, s2_.updated_at AS updated_at_33, s3_.id AS id_34, s3_.code AS code_35, s3_.label AS label_36, s3_.item_type AS item_type_37, s3_.url AS url_38, s3_.icon AS icon_39, s3_.sort_order AS sort_order_40, s3_.is_active AS is_active_41, s3_.requires_published_entity AS requires_published_entity_42, s0_.module_id AS module_id_43, s0_.parent_id AS parent_id_44, s0_.entity_id AS entity_id_45, s2_.module_id AS module_id_46, s3_.module_id AS module_id_47, s3_.parent_id AS parent_id_48, s3_.entity_id AS entity_id_49 FROM studio_menu_item s0_ LEFT JOIN studio_module s1_ ON s0_.module_id = s1_.id LEFT JOIN studio_entity s2_ ON s0_.entity_id = s2_.id LEFT JOIN studio_menu_item s3_ ON s0_.parent_id = s3_.id ORDER BY s0_.sort_order ASC, s0_.label ASC
{
    "sql": "SELECT s0_.id AS id_0, s0_.code AS code_1, s0_.label AS label_2, s0_.item_type AS item_type_3, s0_.url AS url_4, s0_.icon AS icon_5, s0_.sort_order AS sort_order_6, s0_.is_active AS is_active_7, s0_.requires_published_entity AS requires_published_entity_8, s1_.id AS id_9, s1_.code AS code_10, s1_.label AS label_11, s1_.description AS description_12, s1_.icon AS icon_13, s1_.sort_order AS sort_order_14, s1_.is_system AS is_system_15, s1_.is_active AS is_active_16, s2_.id AS id_17, s2_.code AS code_18, s2_.table_name AS table_name_19, s2_.label AS label_20, s2_.label_plural AS label_plural_21, s2_.description AS description_22, s2_.soft_delete AS soft_delete_23, s2_.audited AS audited_24, s2_.company_scoped AS company_scoped_25, s2_.site_scoped AS site_scoped_26, s2_.api_enabled AS api_enabled_27, s2_.ui_enabled AS ui_enabled_28, s2_.is_active AS is_active_29, s2_.status AS status_30, s2_.published_version AS published_version_31, s2_.created_at AS created_at_32, s2_.updated_at AS updated_at_33, s3_.id AS id_34, s3_.code AS code_35, s3_.label AS label_36, s3_.item_type AS item_type_37, s3_.url AS url_38, s3_.icon AS icon_39, s3_.sort_order AS sort_order_40, s3_.is_active AS is_active_41, s3_.requires_published_entity AS requires_published_entity_42, s0_.module_id AS module_id_43, s0_.parent_id AS parent_id_44, s0_.entity_id AS entity_id_45, s2_.module_id AS module_id_46, s3_.module_id AS module_id_47, s3_.parent_id AS parent_id_48, s3_.entity_id AS entity_id_49 FROM studio_menu_item s0_ LEFT JOIN studio_module s1_ ON s0_.module_id = s1_.id LEFT JOIN studio_entity s2_ ON s0_.entity_id = s2_.id LEFT JOIN studio_menu_item s3_ ON s0_.parent_id = s3_.id ORDER BY s0_.sort_order ASC, s0_.label ASC"
}

Stack Trace

NotFoundHttpException
Symfony\Component\HttpKernel\Exception\NotFoundHttpException:
Asset with public path "/assets/js/qr_modal.js" not found.

  at vendor/symfony/asset-mapper/AssetMapperDevServerSubscriber.php:130
  at Symfony\Component\AssetMapper\AssetMapperDevServerSubscriber->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:171)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/http-kernel/HttpKernel.php:77)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:205)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (vendor/symfony/runtime/Runner/Symfony/HttpKernelRunner.php:34)
  at Symfony\Component\Runtime\Runner\Symfony\HttpKernelRunner->run()
     (vendor/autoload_runtime.php:32)
  at require_once('/var/www/app/vendor/autoload_runtime.php')
     (public/index.php:5)