Error 500 Internal Server Error

GET https://break-dev.com/app/listing/new

Forwarded to ErrorController (1580a8)

Exceptions

Exceptions 2

Twig\Error\ RuntimeError

Show exception properties
Twig\Error\RuntimeError {#902
  -lineno: 4
  -rawMessage: "An exception has been thrown during the rendering of a template ("Could not find the entry "css_listing_new" in "/var/www/dev/break/public/build/entrypoints.json". Found: js_util, js_app_tab, js_payments, js_profile, js_infos, js_taxation, js_listing_new, js_listing_edit_nav, js_listing_edit_update, js_listing_edit_photos, js_listing_edit_calendar, js_message, js_app_message_guest_modification, js_app_message_guest_payment, js_app_message_guest_litigation, js_app_message_guest_cancel, js_app_message_host_modification, js_app_message_host_cancel, js_exposed_listing_detail, js_exposed_listing_detail_contact, js_exposed_signup, js_header_footer, js_home_autocomplete, js_listing_map, css_global_desktop, css_global_mobile, css_flatpickr, css_account, css_payment, css_taxation, css_infos, css_profile, css_app_tab, css_listing_index, css_listing_edit, css_listing_edit_photos, css_listing_edit_calendar, css_listing_calendars, css_messages, css_message, css_message_guest_modification, css_home, css_listing, css_listing_details, css_listing_details_contact, css_login_signup.")."
  -source: Twig\Source {#903
    -code: """
      {% extends 'base.app.html.twig' %}\n
      {% block title %}Break ! Listing{% endblock %}\n
      {% block stylesheets %}\n
          {{ encore_entry_link_tags('css_listing_new') }}\n
      {% endblock %}\n
      \n
      {% block appTitle %}Création d'annonce{% endblock %}\n
      {% block appSubTitle %}Première étape{% endblock %}\n
      \n
      \n
      \n
          {% block body %}\n
      \n
              {% for type in ['success', 'error'] %}\n
                  {% for message in app.flashes(type) %}\n
                      <div class="alert {{ type == 'error' ? 'notification-nok' : 'notification-ok' }} message mb-20">{{ message }}</div>\n
                  {% endfor %}\n
              {% endfor %}\n
      \n
      \n
              <form method="post" action="{{ path('api_listing_new') }}">\n
      \n
                  <h2>Informations principales</h2>\n
                  <div class="floating-label">\n
                      <input\n
                              type="text"\n
                              id="title"\n
                              name="title"\n
                              placeholder=" "\n
                              value="{{ app.request.query.get('title') }}"\n
                      >\n
                      <label for="address">Titre de votre annonce</label>\n
                  </div>\n
      \n
      \n
      \n
      \n
                  <div class="floating-label">\n
                      <input\n
                              type="text"\n
                              id="address"\n
                              name="address"\n
                              placeholder=" "\n
                              value="{{ app.request.query.get('address') }}"\n
                      >\n
                      <label for="address">Adresse de votre annonce</label>\n
                      <p class="form-field-infos"></p>\n
                  </div>\n
      \n
                  <div class="floating-label">\n
                      <input type="text" id="night_price" name="night_price" class="price" value="{{ app.request.query.get('night_price') }}">\n
                      <label for="night_price">Prix par nuit :</label>\n
                  </div>\n
      \n
                  <div class="floating-label">\n
                      <input type="text" id="night_price_we"  class="price" name="night_price_we" value="{{ app.request.query.get('night_price_we') }}">\n
                      <label for="night_price_we">Prix par nuit le week-end (vendredi et samedi) :</label>\n
                  </div>\n
      \n
      \n
                  <!-- Champs cachés -->\n
                  <input type="hidden" id="city" name="city" value="{{ app.request.query.get('city') }}">\n
                  <input type="hidden" id="postal_code" name="postal_code" value="{{ app.request.query.get('postal_code') }}">\n
                  <input type="hidden" id="country_code" name="country_code" value="{{ app.request.query.get('country_code') }}">\n
                  <input type="hidden" id="latitude" name="latitude" value="{{ app.request.query.get('latitude') }}">\n
                  <input type="hidden" id="longitude" name="longitude" value="{{ app.request.query.get('longitude') }}">\n
      \n
      \n
                  <div class="floating-label">\n
                      <select id="max_guests" name="max_guests">\n
                          <option value="" disabled selected hidden></option>\n
                          {% for i in 1..30 %}\n
                              <option value="{{ i }}" {% if app.request.query.get('max_guests') == i %}selected{% endif%} >{{ i }}</option>\n
                          {% endfor %}\n
                      </select>\n
                      <label for="max_guests">Nombre maximum de voyageurs</label>\n
                  </div>\n
      \n
                  <!-- Type de logement -->\n
                  <h2>Type de logement</h2>\n
                  <div class="radio-group">\n
                      <label class="radio-option">\n
                          <input type="radio" name="accommodation" value="entire_home" required checked>\n
                          <span class="radio-label">Logement entier</span>\n
                      </label>\n
      \n
                      <label class="radio-option">\n
                          <input type="radio" name="accommodation" value="room">\n
                          <span class="radio-label">Chambre</span>\n
                      </label>\n
      \n
                      <label class="radio-option">\n
                          <input type="radio" name="accommodation" value="shared_room">\n
                          <span class="radio-label">Chambre partagée</span>\n
                      </label>\n
      \n
                  </div>\n
      \n
      \n
      \n
                  <!-- Type de logement -->\n
                  <h2>Type de logement</h2>\n
                  <div class="radio-group">\n
                      {% set registrationTypes = {\n
                          'secondary_residence': {\n
                              label: "Vous accueillez des voyageurs dans une résidence secondaire",\n
                              description: "Par exemple, un logement de vacances ou un pied-à-terre. Dans certaines villes, cela peut nécessiter un « changement d'usage » préalable."\n
                          },\n
                          'main_residence_full': {\n
                              label: "Vous accueillez des voyageurs dans une résidence principale (logement entier)",\n
                              description: "En France, les résidences principales peuvent être louées jusqu'à 120 jours par an ou 90 dans certaines villes (pour une durée de location étendue des exceptions existent, comme en cas de problèmes de santé, déplacements professionnels, cas de force majeure ou location d'une chambre privée)."\n
                          },\n
                          'main_residence_room': {\n
                              label: "Vous accueillez des voyageurs dans une résidence principale (chambre chez l'habitant)",\n
                              description: "Les voyageurs reçoivent un remboursement intégral en cas d'annulation jusqu'à 5 jours avant l'arrivée."\n
                          },\n
                          'non_residential_accommodation': {\n
                              label: "Vous accueillez des voyageurs dans un hébergement non résidentiel",\n
                              description: "Par exemple, un gîte ou une chambre d'hôtes."\n
                          }\n
                      } %}\n
      \n
                      {% for key, item in registrationTypes %}\n
                          <label class="radio-option">\n
                              <input type="radio"\n
                                     name="registration_type"\n
                                     id="registration_{{ key }}"\n
                                     value="{{ key }}"\n
                                     required {% if key == 'secondary_residence'  %}checked{% endif %}>\n
                              <span class="radio-label">{{ item.label }}</span>\n
                              <p class="radio-description">{{ item.description }}</p>\n
                          </label>\n
                      {% endfor %}\n
                  </div>\n
      \n
                  <button type="submit" class="btn mb-0 w-100">Créer mon annonce</button>\n
              </form>\n
      \n
      \n
      \n
              <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAHhKy-B-WIy5-GYlLQu09J1bh1ckxw2VU&libraries=places"></script>\n
              {{ encore_entry_script_tags('js_listing_new') }}\n
      \n
              <script>\n
      \n
              </script>\n
      \n
          {% endblock %}\n
      """
    -name: "app/listing.new.twig"
    -path: "/var/www/dev/break/templates/app/listing.new.twig"
  }
  -phpFile: "/var/www/dev/break/vendor/twig/twig/src/Template.php"
  -phpLine: 460
}
  1. {% extends 'base.app.html.twig' %}
  2. {% block title %}Break ! Listing{% endblock %}
  3. {% block stylesheets %}
  4. {{ encore_entry_link_tags('css_listing_new') }}
  5. {% endblock %}
  6. {% block appTitle %}Création d'annonce{% endblock %}
  7. {% block appSubTitle %}Première étape{% endblock %}
  1. // line 13
  2. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("js_app_tab");
  3. yield "
  4. ";
  5. // line 14
  6. yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
  7. // line 16
  8. yield " ";
  9. yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  10. // line 17
  11. yield "</head>
in vendor/twig/twig/src/Template.php -> doDisplay (line 402)
  1. {
  2. $context += $this->env->getGlobals();
  3. $blocks = array_merge($this->blocks, $blocks);
  4. try {
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "app/listing.new.twig"));
  3. $this->parent = $this->load("base.app.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 402)
  1. {
  2. $context += $this->env->getGlobals();
  3. $blocks = array_merge($this->blocks, $blocks);
  4. try {
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. return $this->blocks;
  2. }
  3. public function display(array $context, array $blocks = []): void
  4. {
  5. foreach ($this->yield($context, $blocks) as $data) {
  6. echo $data;
  7. }
  8. }
  9. public function render(array $context): string
in vendor/twig/twig/src/Template.php -> display (line 373)
  1. ob_start();
  2. } else {
  3. ob_start(function () { return ''; });
  4. }
  5. try {
  6. $this->display($context);
  7. } catch (\Throwable $e) {
  8. while (ob_get_level() > $level) {
  9. ob_end_clean();
  10. }
  1. yield from $this->template->yieldBlock($name, $context);
  2. }
  3. public function render(array $context = []): string
  4. {
  5. return $this->template->render($context);
  6. }
  7. /**
  8. * @return void
  9. */
  1. * @throws SyntaxError When an error occurred during compilation
  2. * @throws RuntimeError When an error occurred during rendering
  3. */
  4. public function render($name, array $context = []): string
  5. {
  6. return $this->load($name)->render($context);
  7. }
  8. /**
  9. * Displays a template.
  10. *
  1. if (null !== $block) {
  2. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  3. }
  4. return $this->container->get('twig')->render($view, $parameters);
  5. }
  6. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  7. {
  8. $content = $this->doRenderView($view, $block, $parameters, $method);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/Front/App/ListingManageController.php (line 53)
  1. public function new(
  2. Request $request
  3. ): Response
  4. {
  5. return $this->render('app/listing.new.twig', [
  6. ]);
  7. }
  8. /*
  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. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  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 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/dev/break/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. };

Symfony\WebpackEncoreBundle\Exception\ EntrypointNotFoundException

Could not find the entry "css_listing_new" in "/var/www/dev/break/public/build/entrypoints.json". Found: js_util, js_app_tab, js_payments, js_profile, js_infos, js_taxation, js_listing_new, js_listing_edit_nav, js_listing_edit_update, js_listing_edit_photos, js_listing_edit_calendar, js_message, js_app_message_guest_modification, js_app_message_guest_payment, js_app_message_guest_litigation, js_app_message_guest_cancel, js_app_message_host_modification, js_app_message_host_cancel, js_exposed_listing_detail, js_exposed_listing_detail_contact, js_exposed_signup, js_header_footer, js_home_autocomplete, js_listing_map, css_global_desktop, css_global_mobile, css_flatpickr, css_account, css_payment, css_taxation, css_infos, css_profile, css_app_tab, css_listing_index, css_listing_edit, css_listing_edit_photos, css_listing_edit_calendar, css_listing_calendars, css_messages, css_message, css_message_guest_modification, css_home, css_listing, css_listing_details, css_listing_details_contact, css_login_signup.

  1. if (isset($entriesData['entrypoints'][$withoutExtension])) {
  2. throw new EntrypointNotFoundException(\sprintf('Could not find the entry "%s". Try "%s" instead (without the extension).', $entryName, $withoutExtension));
  3. }
  4. throw new EntrypointNotFoundException(\sprintf('Could not find the entry "%s" in "%s". Found: %s.', $entryName, $this->entrypointJsonPath, implode(', ', array_keys($entriesData['entrypoints']))));
  5. }
  6. }
  7. private function getEntriesData(): array
  8. {
  1. $this->returnedFiles = [];
  2. }
  3. private function getEntryFiles(string $entryName, string $key): array
  4. {
  5. $this->validateEntryName($entryName);
  6. $entriesData = $this->getEntriesData();
  7. $entryData = $entriesData['entrypoints'][$entryName] ?? [];
  8. if (!isset($entryData[$key])) {
  9. // If we don't find the file type then just send back nothing.
  1. return $this->getEntryFiles($entryName, 'js');
  2. }
  3. public function getCssFiles(string $entryName): array
  4. {
  5. return $this->getEntryFiles($entryName, 'css');
  6. }
  7. public function getIntegrityData(): array
  8. {
  9. $entriesData = $this->getEntriesData();
  1. $entrypointName = $entrypointName ?: '_default';
  2. $scriptTags = [];
  3. $entryPointLookup = $this->getEntrypointLookup($entrypointName);
  4. $integrityHashes = ($entryPointLookup instanceof IntegrityDataProviderInterface) ? $entryPointLookup->getIntegrityData() : [];
  5. foreach ($entryPointLookup->getCssFiles($entryName) as $filename) {
  6. $attributes = [];
  7. $attributes['rel'] = 'stylesheet';
  8. $attributes['href'] = $this->getAssetPath($filename, $packageName);
  9. $attributes = array_merge($attributes, $this->defaultAttributes, $this->defaultLinkAttributes, $extraAttributes);
  1. }
  2. public function renderWebpackLinkTags(string $entryName, ?string $packageName = null, string $entrypointName = '_default', array $attributes = []): string
  3. {
  4. return $this->getTagRenderer()
  5. ->renderWebpackLinkTags($entryName, $packageName, $entrypointName, $attributes);
  6. }
  7. public function entryExists(string $entryName, string $entrypointName = '_default'): bool
  8. {
  9. $entrypointLookup = $this->getEntrypointLookup($entrypointName);
  1. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  3. // line 4
  4. yield " ";
  5. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackLinkTags("css_listing_new");
  6. yield "
  7. ";
  8. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> block_stylesheets (line 446)
  1. throw new \LogicException('A block must be a method on a \Twig\Template instance.');
  2. }
  3. if (null !== $template) {
  4. try {
  5. yield from $template->$block($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($template->getSourceContext());
  9. }
  1. // line 13
  2. yield $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("js_app_tab");
  3. yield "
  4. ";
  5. // line 14
  6. yield from $this->unwrap()->yieldBlock('stylesheets', $context, $blocks);
  7. // line 16
  8. yield " ";
  9. yield from $this->unwrap()->yieldBlock('javascripts', $context, $blocks);
  10. // line 17
  11. yield "</head>
in vendor/twig/twig/src/Template.php -> doDisplay (line 402)
  1. {
  2. $context += $this->env->getGlobals();
  3. $blocks = array_merge($this->blocks, $blocks);
  4. try {
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "app/listing.new.twig"));
  3. $this->parent = $this->load("base.app.html.twig", 1);
  4. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  5. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  6. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 402)
  1. {
  2. $context += $this->env->getGlobals();
  3. $blocks = array_merge($this->blocks, $blocks);
  4. try {
  5. yield from $this->doDisplay($context, $blocks);
  6. } catch (Error $e) {
  7. if (!$e->getSourceContext()) {
  8. $e->setSourceContext($this->getSourceContext());
  9. }
  1. return $this->blocks;
  2. }
  3. public function display(array $context, array $blocks = []): void
  4. {
  5. foreach ($this->yield($context, $blocks) as $data) {
  6. echo $data;
  7. }
  8. }
  9. public function render(array $context): string
in vendor/twig/twig/src/Template.php -> display (line 373)
  1. ob_start();
  2. } else {
  3. ob_start(function () { return ''; });
  4. }
  5. try {
  6. $this->display($context);
  7. } catch (\Throwable $e) {
  8. while (ob_get_level() > $level) {
  9. ob_end_clean();
  10. }
  1. yield from $this->template->yieldBlock($name, $context);
  2. }
  3. public function render(array $context = []): string
  4. {
  5. return $this->template->render($context);
  6. }
  7. /**
  8. * @return void
  9. */
  1. * @throws SyntaxError When an error occurred during compilation
  2. * @throws RuntimeError When an error occurred during rendering
  3. */
  4. public function render($name, array $context = []): string
  5. {
  6. return $this->load($name)->render($context);
  7. }
  8. /**
  9. * Displays a template.
  10. *
  1. if (null !== $block) {
  2. return $this->container->get('twig')->load($view)->renderBlock($block, $parameters);
  3. }
  4. return $this->container->get('twig')->render($view, $parameters);
  5. }
  6. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  7. {
  8. $content = $this->doRenderView($view, $block, $parameters, $method);
  1. return $this->container->get('twig')->render($view, $parameters);
  2. }
  3. private function doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response
  4. {
  5. $content = $this->doRenderView($view, $block, $parameters, $method);
  6. $response ??= new Response();
  7. if (200 === $response->getStatusCode()) {
  8. foreach ($parameters as $v) {
  9. if ($v instanceof FormInterface && $v->isSubmitted() && !$v->isValid()) {
  1. * If an invalid form is found in the list of parameters, a 422 status code is returned.
  2. * Forms found in parameters are auto-cast to form views.
  3. */
  4. protected function render(string $view, array $parameters = [], ?Response $response = null): Response
  5. {
  6. return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
  7. }
  8. /**
  9. * Renders a block in a view.
  10. *
AbstractController->render() in src/Controller/Front/App/ListingManageController.php (line 53)
  1. public function new(
  2. Request $request
  3. ): Response
  4. {
  5. return $this->render('app/listing.new.twig', [
  6. ]);
  7. }
  8. /*
  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. $this->boot();
  2. ++$this->requestStackSize;
  3. $this->resetServices = true;
  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 29)
  1. $app = $app(...$args);
  2. exit(
  3. $runtime
  4. ->getRunner($app)
  5. ->run()
  6. );
require_once('/var/www/dev/break/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 21:51:39 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "latest"
    },
    "request_uri": "http://57.128.16.253/_profiler/latest?ip=20.171.207.19&type=request",
    "method": "GET"
}
INFO 21:51:39 deprecation Deprecated: str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated
{
    "exception": {}
}
INFO 21:51:39 deprecation Deprecated: str_starts_with(): Passing null to parameter #1 ($haystack) of type string is deprecated
{
    "exception": {}
}

Stack Traces 2

[2/2] RuntimeError
Twig\Error\RuntimeError:
An exception has been thrown during the rendering of a template ("Could not find the entry "css_listing_new" in "/var/www/dev/break/public/build/entrypoints.json". Found: js_util, js_app_tab, js_payments, js_profile, js_infos, js_taxation, js_listing_new, js_listing_edit_nav, js_listing_edit_update, js_listing_edit_photos, js_listing_edit_calendar, js_message, js_app_message_guest_modification, js_app_message_guest_payment, js_app_message_guest_litigation, js_app_message_guest_cancel, js_app_message_host_modification, js_app_message_host_cancel, js_exposed_listing_detail, js_exposed_listing_detail_contact, js_exposed_signup, js_header_footer, js_home_autocomplete, js_listing_map, css_global_desktop, css_global_mobile, css_flatpickr, css_account, css_payment, css_taxation, css_infos, css_profile, css_app_tab, css_listing_index, css_listing_edit, css_listing_edit_photos, css_listing_edit_calendar, css_listing_calendars, css_messages, css_message, css_message_guest_modification, css_home, css_listing, css_listing_details, css_listing_details_contact, css_login_signup.") in "app/listing.new.twig" at line 4.

  at templates/app/listing.new.twig:4
  at Twig\Template->yieldBlock()
     (var/cache/dev/twig/ab/ab4d17ad04231f7bc7ea6c598bb8c15e.php:91)
  at __TwigTemplate_8759675bea0e012ebba555e8b6f1f5d8->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/a2/a2741cebfd54eec24f38f9708d189fb0.php:57)
  at __TwigTemplate_792631b49702dddb98bc3893c583f477->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (vendor/twig/twig/src/Template.php:358)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:373)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:333)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:431)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:436)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:250)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/Front/App/ListingManageController.php:53)
  at App\Controller\Front\App\ListingManageController->new()
     (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:182)
  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:29)
  at require_once('/var/www/dev/break/vendor/autoload_runtime.php')
     (public/index.php:5)                
[1/2] EntrypointNotFoundException
Symfony\WebpackEncoreBundle\Exception\EntrypointNotFoundException:
Could not find the entry "css_listing_new" in "/var/www/dev/break/public/build/entrypoints.json". Found: js_util, js_app_tab, js_payments, js_profile, js_infos, js_taxation, js_listing_new, js_listing_edit_nav, js_listing_edit_update, js_listing_edit_photos, js_listing_edit_calendar, js_message, js_app_message_guest_modification, js_app_message_guest_payment, js_app_message_guest_litigation, js_app_message_guest_cancel, js_app_message_host_modification, js_app_message_host_cancel, js_exposed_listing_detail, js_exposed_listing_detail_contact, js_exposed_signup, js_header_footer, js_home_autocomplete, js_listing_map, css_global_desktop, css_global_mobile, css_flatpickr, css_account, css_payment, css_taxation, css_infos, css_profile, css_app_tab, css_listing_index, css_listing_edit, css_listing_edit_photos, css_listing_edit_calendar, css_listing_calendars, css_messages, css_message, css_message_guest_modification, css_home, css_listing, css_listing_details, css_listing_details_contact, css_login_signup.

  at vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookup.php:109
  at Symfony\WebpackEncoreBundle\Asset\EntrypointLookup->validateEntryName()
     (vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookup.php:82)
  at Symfony\WebpackEncoreBundle\Asset\EntrypointLookup->getEntryFiles()
     (vendor/symfony/webpack-encore-bundle/src/Asset/EntrypointLookup.php:58)
  at Symfony\WebpackEncoreBundle\Asset\EntrypointLookup->getCssFiles()
     (vendor/symfony/webpack-encore-bundle/src/Asset/TagRenderer.php:99)
  at Symfony\WebpackEncoreBundle\Asset\TagRenderer->renderWebpackLinkTags()
     (vendor/symfony/webpack-encore-bundle/src/Twig/EntryFilesTwigExtension.php:62)
  at Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension->renderWebpackLinkTags()
     (var/cache/dev/twig/a2/a2741cebfd54eec24f38f9708d189fb0.php:104)
  at __TwigTemplate_792631b49702dddb98bc3893c583f477->block_stylesheets()
     (vendor/twig/twig/src/Template.php:446)
  at Twig\Template->yieldBlock()
     (var/cache/dev/twig/ab/ab4d17ad04231f7bc7ea6c598bb8c15e.php:91)
  at __TwigTemplate_8759675bea0e012ebba555e8b6f1f5d8->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/a2/a2741cebfd54eec24f38f9708d189fb0.php:57)
  at __TwigTemplate_792631b49702dddb98bc3893c583f477->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (vendor/twig/twig/src/Template.php:358)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:373)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:51)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:333)
  at Twig\Environment->render()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:431)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:436)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:250)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/Front/App/ListingManageController.php:53)
  at App\Controller\Front\App\ListingManageController->new()
     (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:182)
  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:29)
  at require_once('/var/www/dev/break/vendor/autoload_runtime.php')
     (public/index.php:5)