Error 500 Internal Server Error

GET https://skyflow.maluttebio.com/avis-clients?status=pending

Exceptions

Impossible to access an attribute ("userIdentifier") on a null variable in skyflow/layout.html.twig at line 176.

Exception

Twig\Error\ RuntimeError

Show exception properties
Twig\Error\RuntimeError {#217
  -lineno: 176
  -rawMessage: "Impossible to access an attribute ("userIdentifier") on a null variable."
  -source: Twig\Source {#956
    -code: """
      <!DOCTYPE html>\n
      <html lang="fr" class="h-full bg-slate-50">\n
      <head>\n
          <meta charset="UTF-8">\n
          <meta name="viewport" content="width=device-width, initial-scale=1.0">\n
          <title>{% block title %}SkyFlow{% endblock %}</title>\n
          <script src="https://cdn.tailwindcss.com"></script>\n
          <script>\n
              tailwind.config = {\n
                  theme: {\n
                      extend: {\n
                          fontFamily: { sans: ['Inter', 'system-ui', 'sans-serif'] },\n
                          colors: {\n
                              brand: {\n
                                  50:  '#eef2ff',\n
                                  100: '#e0e7ff',\n
                                  500: '#6366f1',\n
                                  600: '#4f46e5',\n
                                  700: '#4338ca',\n
                                  800: '#3730a3',\n
                                  900: '#312e81',\n
                              }\n
                          }\n
                      }\n
                  }\n
              }\n
          </script>\n
          <link rel="preconnect" href="https://fonts.googleapis.com">\n
          <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">\n
          <style>\n
              * { font-family: 'Inter', system-ui, sans-serif; }\n
              .scrollbar-thin::-webkit-scrollbar { height: 6px; }\n
              .scrollbar-thin::-webkit-scrollbar-track { background: #f1f5f9; }\n
              .scrollbar-thin::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }\n
          </style>\n
          {% block head %}{% endblock %}\n
      </head>\n
      <body class="h-full flex">\n
      \n
          {# ── Sidebar ──────────────────────────────────────────── #}\n
          <aside class="w-56 shrink-0 bg-slate-900 flex flex-col min-h-screen">\n
              <div class="px-5 py-5 border-b border-slate-700/60">\n
                  <a href="{{ path('products_index') }}" class="flex items-center gap-2 text-white font-bold text-lg tracking-tight">\n
                      <span class="w-7 h-7 rounded-lg bg-brand-600 flex items-center justify-center text-sm">✦</span>\n
                      SkyFlow\n
                  </a>\n
              </div>\n
      \n
              <nav class="flex-1 px-3 py-4 space-y-0.5">\n
                  <p class="text-slate-500 text-xs font-semibold uppercase tracking-widest px-3 mb-2">Menu</p>\n
      \n
                  <a href="{{ path('dashboard') }}"\n
                     class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors\n
                            {{ app.request.attributes.get('_route') == 'dashboard' ? 'bg-brand-600 text-white' : 'text-slate-400 hover:bg-slate-800 hover:text-white' }}">\n
                      <svg class="w-4 h-4 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6"/>\n
                      </svg>\n
                      Dashboard\n
                  </a>\n
      \n
                  <a href="{{ path('products_index') }}"\n
                     class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors\n
                            {{ app.request.attributes.get('_route') starts with 'product' ? 'bg-brand-600 text-white' : 'text-slate-400 hover:bg-slate-800 hover:text-white' }}">\n
                      <svg class="w-4 h-4 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10"/>\n
                      </svg>\n
                      Produits\n
                  </a>\n
      \n
                  <a href="{{ path('suppliers_index') }}"\n
                     class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors\n
                            {{ app.request.attributes.get('_route') starts with 'suppliers' ? 'bg-brand-600 text-white' : 'text-slate-400 hover:bg-slate-800 hover:text-white' }}">\n
                      <svg class="w-4 h-4 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0z"/>\n
                      </svg>\n
                      Fournisseurs\n
                  </a>\n
      \n
                  <a href="{{ path('purchase_orders_index') }}"\n
                     class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors\n
                            {{ app.request.attributes.get('_route') starts with 'purchase_order' ? 'bg-brand-600 text-white' : 'text-slate-400 hover:bg-slate-800 hover:text-white' }}">\n
                      <svg class="w-4 h-4 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"/>\n
                      </svg>\n
                      Commandes\n
                  </a>\n
      \n
                  {% set openTickets = open_ticket_count() %}\n
                  {% set inMessages = app.request.attributes.get('_route') in ['tickets_index','ticket_show','ticket_reply','ticket_status','ticket_delete','tickets_bulk','sav_tasks_index'] %}\n
                  <a href="{{ path('tickets_index') }}"\n
                     class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors\n
                            {{ inMessages ? 'bg-brand-600 text-white' : 'text-slate-400 hover:bg-slate-800 hover:text-white' }}">\n
                      <svg class="w-4 h-4 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z"/>\n
                      </svg>\n
                      Messages\n
                      {% if openTickets > 0 %}\n
                      <span class="ml-auto min-w-[1.25rem] h-5 px-1 rounded-full text-xs font-bold flex items-center justify-center\n
                                   {{ inMessages ? 'bg-white/20 text-white' : 'bg-red-500 text-white' }}">\n
                          {{ openTickets }}\n
                      </span>\n
                      {% endif %}\n
                  </a>\n
      \n
                  {% if inMessages %}\n
                  <a href="{{ path('sav_tasks_index') }}"\n
                     class="flex items-center gap-2 pl-9 pr-3 py-1.5 rounded-lg text-xs font-medium transition-colors\n
                            {{ app.request.attributes.get('_route') == 'sav_tasks_index' ? 'text-white/90 bg-white/10' : 'text-slate-500 hover:text-white hover:bg-white/10' }}">\n
                      <svg class="w-3.5 h-3.5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"/>\n
                      </svg>\n
                      À faire\n
                  </a>\n
                  {% endif %}\n
      \n
                  <a href="{{ path('tva_report_index') }}"\n
                     class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors\n
                            {{ app.request.attributes.get('_route') starts with 'tva_report' ? 'bg-brand-600 text-white' : 'text-slate-400 hover:bg-slate-800 hover:text-white' }}">\n
                      <svg class="w-4 h-4 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M9 14l6-6m-5.5.5h.01m4.99 5h.01M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16l3.5-2 3.5 2 3.5-2 3.5 2z"/>\n
                      </svg>\n
                      TVA\n
                  </a>\n
      \n
                  <a href="{{ path('reviews_index') }}"\n
                     class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors\n
                            {{ app.request.attributes.get('_route') starts with 'review' ? 'bg-brand-600 text-white' : 'text-slate-400 hover:bg-slate-800 hover:text-white' }}">\n
                      <svg class="w-4 h-4 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M11.049 2.927c.3-.921 1.603-.921 1.902 0l1.519 4.674a1 1 0 00.95.69h4.915c.969 0 1.371 1.24.588 1.81l-3.976 2.888a1 1 0 00-.363 1.118l1.518 4.674c.3.922-.755 1.688-1.538 1.118l-3.976-2.888a1 1 0 00-1.176 0l-3.976 2.888c-.783.57-1.838-.196-1.538-1.118l1.518-4.674a1 1 0 00-.363-1.118l-3.976-2.888c-.783-.57-.38-1.81.588-1.81h4.914a1 1 0 00.951-.69l1.519-4.674z"/>\n
                      </svg>\n
                      Collecte d'avis\n
                  </a>\n
      \n
                  <a href="{{ path('marketing_exploration') }}"\n
                     class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors\n
                            {{ app.request.attributes.get('_route') starts with 'marketing' ? 'bg-brand-600 text-white' : 'text-slate-400 hover:bg-slate-800 hover:text-white' }}">\n
                      <svg class="w-4 h-4 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M3 13.125C3 12.504 3.504 12 4.125 12h2.25c.621 0 1.125.504 1.125 1.125v6.75C7.5 20.496 6.996 21 6.375 21h-2.25A1.125 1.125 0 013 19.875v-6.75zM9.75 8.625c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125v11.25c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V8.625zM16.5 4.125c0-.621.504-1.125 1.125-1.125h2.25C20.496 3 21 3.504 21 4.125v15.75c0 .621-.504 1.125-1.125 1.125h-2.25a1.125 1.125 0 01-1.125-1.125V4.125z"/>\n
                      </svg>\n
                      Marketing\n
                  </a>\n
      \n
                  {% set inSeoOrBlog = app.request.attributes.get('_route') starts with 'seo' or app.request.attributes.get('_route') starts with 'blog' %}\n
                  <a href="{{ path('seo_dashboard') }}"\n
                     class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors\n
                            {{ inSeoOrBlog ? 'bg-brand-600 text-white' : 'text-slate-400 hover:bg-slate-800 hover:text-white' }}">\n
                      <svg class="w-4 h-4 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"/>\n
                      </svg>\n
                      SEO & GEO\n
                  </a>\n
                  {% if inSeoOrBlog %}\n
                  <a href="{{ path('blog_index') }}"\n
                     class="flex items-center gap-2 pl-9 pr-3 py-1.5 rounded-lg text-xs font-medium transition-colors\n
                            {{ app.request.attributes.get('_route') starts with 'blog' ? 'text-white/90 bg-white/10' : 'text-slate-500 hover:text-white hover:bg-white/10' }}">\n
                      <svg class="w-3.5 h-3.5 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M19 20H5a2 2 0 01-2-2V6a2 2 0 012-2h10a2 2 0 012 2v1m2 13a2 2 0 01-2-2V7m2 13a2 2 0 002-2V9a2 2 0 00-2-2h-2m-4-3H9M7 16h6M7 8h6v4H7V8z"/>\n
                      </svg>\n
                      Blog\n
                  </a>\n
                  {% endif %}\n
              </nav>\n
      \n
              <div class="px-3 py-4 border-t border-slate-700/60 space-y-0.5">\n
                  <a href="{{ path('company_settings') }}"\n
                     class="flex items-center gap-3 px-3 py-2 rounded-lg text-sm font-medium transition-colors\n
                            {{ app.request.attributes.get('_route') starts with 'company' or app.request.attributes.get('_route') starts with 'settings' or app.request.attributes.get('_route') starts with 'ticket_template' or app.request.attributes.get('_route') starts with 'parametres' ? 'bg-brand-600 text-white' : 'text-slate-400 hover:bg-slate-800 hover:text-white' }}">\n
                      <svg class="w-4 h-4 shrink-0" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"/>\n
                          <path stroke-linecap="round" stroke-linejoin="round" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/>\n
                      </svg>\n
                      Paramètres\n
                  </a>\n
      \n
                  <div class="px-3 py-2 flex items-center justify-between">\n
                      <span class="text-xs text-slate-500 truncate">{{ app.user.name ?? app.user.userIdentifier }}</span>\n
                      <a href="{{ path('logout') }}" title="Déconnexion"\n
                         class="text-slate-500 hover:text-red-400 transition-colors ml-2 shrink-0">\n
                          <svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">\n
                              <path stroke-linecap="round" stroke-linejoin="round" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"/>\n
                          </svg>\n
                      </a>\n
                  </div>\n
              </div>\n
      \n
          </aside>\n
      \n
          {# ── Main ─────────────────────────────────────────────── #}\n
          <div class="flex-1 flex flex-col min-h-screen overflow-hidden">\n
              {% block content %}{% endblock %}\n
          </div>\n
      \n
      </body>\n
      </html>\n
      """
    -name: "skyflow/layout.html.twig"
    -path: "/var/www/skyflow/templates/skyflow/layout.html.twig"
  }
  -phpFile: "/var/www/skyflow/vendor/twig/twig/src/Extension/CoreExtension.php"
  -phpLine: 1749
}
  1. </svg>
  2. Paramètres
  3. </a>
  4. <div class="px-3 py-2 flex items-center justify-between">
  5. <span class="text-xs text-slate-500 truncate">{{ app.user.name ?? app.user.userIdentifier }}</span>
  6. <a href="{{ path('logout') }}" title="Déconnexion"
  7. class="text-slate-500 hover:text-red-400 transition-colors ml-2 shrink-0">
  8. <svg class="w-4 h-4" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="1.8">
  9. <path stroke-linecap="round" stroke-linejoin="round" d="M17 16l4-4m0 0l-4-4m4 4H7m6 4v1a3 3 0 01-3 3H6a3 3 0 01-3-3V7a3 3 0 013-3h4a3 3 0 013 3v1"/>
  10. </svg>
  1. </a>
  2. <div class=\"px-3 py-2 flex items-center justify-between\">
  3. <span class=\"text-xs text-slate-500 truncate\">";
  4. // line 176
  5. yield (((CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["app"] ?? null), "user", [], "any", false, true, false, 176), "name", [], "any", true, true, false, 176) && !(null === CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 176, $this->source); })()), "user", [], "any", false, false, false, 176), "name", [], "any", false, false, false, 176)))) ? ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 176, $this->source); })()), "user", [], "any", false, false, false, 176), "name", [], "any", false, false, false, 176), "html", null, true)) : ($this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 176, $this->source); })()), "user", [], "any", false, false, false, 176), "userIdentifier", [], "any", false, false, false, 176), "html", null, true)));
  6. yield "</span>
  7. <a href=\"";
  8. // line 177
  9. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("logout");
  10. yield "\" title=\"Déconnexion\"
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", "skyflow/reviews.html.twig"));
  3. $this->parent = $this->load("skyflow/layout.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(static 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/ReviewController.php (line 55)
  1. ->select('COUNT(r.id)')->from(ReviewSubmission::class, 'r')
  2. ->where('r.status = :s')->setParameter('s', $s)
  3. ->getQuery()->getSingleScalarResult();
  4. }
  5. return $this->render('skyflow/reviews.html.twig', [
  6. 'reviews' => $paginator,
  7. 'currentStatus' => $status,
  8. 'counts' => $counts,
  9. 'page' => $page,
  10. 'pages' => $pages,
  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/skyflow/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 11:03:23 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "373d8b"
    },
    "request_uri": "https://skyflow.maluttebio.com/_profiler/373d8b",
    "method": "GET"
}
INFO 11:03:23 deprecation User Deprecated: Support for MySQL < 8 is deprecated and will be removed in DBAL 5 (AbstractMySQLDriver.php:75 called by AbstractDriverMiddleware.php:32, https://github.com/doctrine/dbal/pull/6343, package doctrine/dbal)
{
    "exception": {}
}

Stack Trace

RuntimeError
Twig\Error\RuntimeError:
Impossible to access an attribute ("userIdentifier") on a null variable in "skyflow/layout.html.twig" at line 176.

  at templates/skyflow/layout.html.twig:176
  at Twig\Extension\CoreExtension::getAttribute()
     (var/cache/dev/twig/64/64c7a784f0fe7c554482a8c39eb753c6.php:335)
  at __TwigTemplate_54ff3d4458c71252e0bfd059e48903be->doDisplay()
     (vendor/twig/twig/src/Template.php:402)
  at Twig\Template->yield()
     (var/cache/dev/twig/4e/4e75a9b87b644706b475f70d171e4ea9.php:54)
  at __TwigTemplate_b126eec304ac421d4f71d2e6bf7ba25d->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:467)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:472)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender()
     (vendor/symfony/framework-bundle/Controller/AbstractController.php:284)
  at Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render()
     (src/Controller/ReviewController.php:55)
  at App\Controller\ReviewController->index()
     (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/skyflow/vendor/autoload_runtime.php')
     (public/index.php:5)