https://simplymeet.secure.test.d.simplybook.ovh/panel/api/export?type=event

Exceptions

Impossible to access an attribute ("defaultOrganization") on a null variable.

Exception

Twig\Error\ RuntimeError

  1. {% set bodyClass = bodyClass ?? null %}
  2. {% set contentClass = contentClass ?? null %}
  3. {% set menuSidebarClass = menuSidebarClass ?? null %}
  4. {% set organisationUrl = null %}
  5. {% set simplypayOrganizationIntegration = null %}
  6. {% set organization = app.user.defaultOrganization %}
  7. {% if organization and organization.domain is not empty %}
  8.     {%  set organisationUrl = 'https://' ~ organization.domain %}
  9. {% elseif organization and organization.slug is not empty %}
  10.     {%  set organisationUrl = url('hrm_booking_organization_index', {'organizationSlug': organization.slug}) %}
  11. {% endif %}
  1.         // line 4
  2.         $context["organisationUrl"] = null;
  3.         // line 5
  4.         $context["simplypayOrganizationIntegration"] = null;
  5.         // line 6
  6.         $context["organization"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'6$this->source); })()), "user", [], "any"falsefalsetrue6), "defaultOrganization", [], "any"falsefalsetrue6);
  7.         // line 7
  8.         if (((isset($context["organization"]) || array_key_exists("organization"$context) ? $context["organization"] : (function () { throw new RuntimeError('Variable "organization" does not exist.'7$this->source); })()) &&  !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["organization"]) || array_key_exists("organization"$context) ? $context["organization"] : (function () { throw new RuntimeError('Variable "organization" does not exist.'7$this->source); })()), "domain", [], "any"falsefalsetrue7)))) {
  9.             // line 8
  10.             echo "    ";
  11.             $context["organisationUrl"] = ("https://" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["organization"]) || array_key_exists("organization"$context) ? $context["organization"] : (function () { throw new RuntimeError('Variable "organization" does not exist.'8$this->source); })()), "domain", [], "any"falsefalsetrue8), 8$this->source));
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
  1.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""common/error.html.twig"));
  3.         $this->parent $this->loadTemplate("base.html.twig""common/error.html.twig"1);
  4.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  5.         
  6.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  7.         
  8.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
in vendor/twig/twig/src/Template.php -> doDisplay (line 405)
  1.     }
  2.     protected function displayWithErrorHandling(array $context, array $blocks = [])
  3.     {
  4.         try {
  5.             $this->doDisplay($context$blocks);
  6.         } catch (Error $e) {
  7.             if (!$e->getSourceContext()) {
  8.                 $e->setSourceContext($this->getSourceContext());
  9.             }
in vendor/twig/twig/src/Template.php -> displayWithErrorHandling (line 378)
  1.         return $this->blocks;
  2.     }
  3.     public function display(array $context, array $blocks = [])
  4.     {
  5.         $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks$blocks));
  6.     }
  7.     public function render(array $context)
  8.     {
  9.         $level ob_get_level();
in vendor/twig/twig/src/Template.php -> display (line 390)
  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.      */
  2.     public function render(array $context = []): string
  3.     {
  4.         // using func_get_args() allows to not expose the blocks argument
  5.         // as it should only be used by internal code
  6.         return $this->template->render($context, \func_get_args()[1] ?? []);
  7.     }
  8.     /**
  9.      * Displays the template.
  10.      *
  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 = [])
  5.     {
  6.         return $this->load($name)->render($context);
  7.     }
  8.     /**
  9.      * Displays a template.
  10.      *
Environment->render() in src/Core/Response/Json/ResponseBuilder.php (line 93)
  1.             return new Response(
  2.                 $this->twig->render('common/error.html.twig', [
  3.                     'error' => $exception->getMessage(),
  4.                     'data' => $exception->getData(),
  5.                     'code' => $exception->getCode(),
  6.                     'exception' => $exception,
  7.                 ]), $exception->getCode()
  8.             );
  9.         }
  10.         return new ExceptionResponse($exception);
  11.     }
ResponseBuilder->buildExceptionResponse() in src/EventListener/ExceptionListener.php (line 76)
  1.             return;
  2.         }
  3.         if ($exception instanceof IBaseException) {
  4.             $event->setResponse($this->responseBuilder->buildExceptionResponse($exception));
  5.             return;
  6.         }
  7.         if ($exception instanceof AccessDeniedExceptionUserLoginAttempt) {
  1.         $this->called true;
  2.         $this->priority $dispatcher->getListenerPriority($eventName$this->listener);
  3.         $e $this->stopwatch->start($this->name'event_listener');
  4.         ($this->optimizedListener ?? $this->listener)($event$eventName$dispatcher);
  5.         if ($e->isStarted()) {
  6.             $e->stop();
  7.         }
  1.     {
  2.         foreach ($listeners as $listener) {
  3.             if ($event->isPropagationStopped()) {
  4.                 break;
  5.             }
  6.             $listener($event$eventName$this);
  7.         }
  8.     }
  9.     /**
  10.      * Sorts the internal list of listeners for the given event by priority.
  1.      * @param object     $event     The event object to pass to the event handlers/listeners
  2.      */
  3.     protected function callListeners(iterable $listenersstring $eventName$event)
  4.     {
  5.         if ($event instanceof Event) {
  6.             $this->doDispatch($listeners$eventName$event);
  7.             return;
  8.         }
  9.         $stoppable $event instanceof ContractsEvent || $event instanceof StoppableEventInterface;
  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.      * @throws \Exception
  2.      */
  3.     private function handleThrowable(\Throwable $eRequest $requestint $type): Response
  4.     {
  5.         $event = new ExceptionEvent($this$request$type$e);
  6.         $this->dispatcher->dispatch($eventKernelEvents::EXCEPTION);
  7.         // a listener might have replaced the exception
  8.         $e $event->getThrowable();
  9.         if (!$event->hasResponse()) {
in vendor/symfony/http-kernel/HttpKernel.php -> handleThrowable (line 92)
  1.                 $this->finishRequest($request$type);
  2.                 throw $e;
  3.             }
  4.             return $this->handleThrowable($e$request$type);
  5.         } finally {
  6.             $this->requestStack->pop();
  7.         }
  8.     }
  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.     }
Kernel->handle() in public/index.php (line 30)
  1.     Request::setTrustedHosts(explode(','$trustedHosts));
  2. }
  3. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  4. $request Request::createFromGlobals();
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Logs

Level Channel Message
INFO 17:35:58 php User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0.
{
    "exception": {}
}
INFO 17:35:58 php User Deprecated: YAML mapping driver is deprecated and will be removed in Doctrine ORM 3.0, please migrate to annotation or XML driver.
{
    "exception": {}
}
INFO 17:35:58 php User Deprecated: Using Groups is deprecated since version 2.2 and will be removed in 3.0.
{
    "exception": {}
}
INFO 17:35:58 php User Deprecated: The "Harmonizely\Model\UserInterface" interface extends "FOS\UserBundle\Model\UserInterface" that is deprecated since Symfony 4.1. Remove in Nov 2023 (End of support for security fixes SF 4.4).
{
    "exception": {}
}
INFO 17:35:58 request Matched route "_profiler".
{
    "route": "_profiler",
    "route_parameters": {
        "_route": "_profiler",
        "_controller": "web_profiler.controller.profiler::panelAction",
        "token": "1f9389"
    },
    "request_uri": "https://simplymeet.super-admin.test.d.simplybook.ovh/_profiler/1f9389?panel=exception",
    "method": "GET"
}
INFO 17:35:58 php User Deprecated: The "fos_rest.serializer.exception_normalizer.symfony" service is deprecated since FOSRestBundle 2.8.
{
    "exception": {}
}
INFO 17:35:58 php User Deprecated: The FOS\RestBundle\Serializer\Normalizer\ExceptionNormalizer class is deprecated since FOSRestBundle 2.8.
{
    "exception": {}
}
INFO 17:35:58 request Matched route "_profiler_exception_css".
{
    "route": "_profiler_exception_css",
    "route_parameters": {
        "_route": "_profiler_exception_css",
        "_controller": "web_profiler.controller.exception_panel::stylesheet",
        "token": "1f9389"
    },
    "request_uri": "https://simplymeet.super-admin.test.d.simplybook.ovh/_profiler/1f9389/exception.css",
    "method": "GET"
}
INFO 17:35:58 request Matched route "_profiler_search_bar".
{
    "route": "_profiler_search_bar",
    "route_parameters": {
        "_route": "_profiler_search_bar",
        "_controller": "web_profiler.controller.profiler::searchBarAction"
    },
    "request_uri": "https://simplymeet.super-admin.test.d.simplybook.ovh/_profiler/search_bar?panel=exception",
    "method": "GET"
}
INFO 17:35:58 request Matched route "_profiler_exception".
{
    "route": "_profiler_exception",
    "route_parameters": {
        "_route": "_profiler_exception",
        "_controller": "web_profiler.controller.exception_panel::body",
        "token": "1f9389"
    },
    "request_uri": "https://simplymeet.super-admin.test.d.simplybook.ovh/_profiler/1f9389/exception",
    "method": "GET"
}

Stack Trace

RuntimeError

Twig\Error\RuntimeError:
Impossible to access an attribute ("defaultOrganization") on a null variable.

  at templates/base.html.twig:6
  at twig_get_attribute()
     (var/cache/dev/twig/f0/f06d369d5c79e8aafaa7885bcd03dd1465cd8bdc2476e1c11c4e5b594ec261cb.php:88)
  at __TwigTemplate_ae415c228558dc33f789ab52aa6e99519f6c6c81e8e58ade9b83cce2720721c4->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (var/cache/dev/twig/86/86c42de8de03e3afd39c4883eef0ef720dadb00b333dd5a5172c29411963bc64.php:76)
  at __TwigTemplate_6ec028fe8c469d8bf6f9f39d3be7ff4a98b8cde63cdf3b71547194e4571159f0->doDisplay()
     (vendor/twig/twig/src/Template.php:405)
  at Twig\Template->displayWithErrorHandling()
     (vendor/twig/twig/src/Template.php:378)
  at Twig\Template->display()
     (vendor/twig/twig/src/Template.php:390)
  at Twig\Template->render()
     (vendor/twig/twig/src/TemplateWrapper.php:45)
  at Twig\TemplateWrapper->render()
     (vendor/twig/twig/src/Environment.php:318)
  at Twig\Environment->render()
     (src/Core/Response/Json/ResponseBuilder.php:93)
  at Harmonizely\Core\Response\Json\ResponseBuilder->buildExceptionResponse()
     (src/EventListener/ExceptionListener.php:76)
  at Harmonizely\EventListener\ExceptionListener->onKernelException()
     (vendor/symfony/event-dispatcher/Debug/WrappedListener.php:126)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:264)
  at Symfony\Component\EventDispatcher\EventDispatcher->doDispatch()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:239)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
     (vendor/symfony/event-dispatcher/EventDispatcher.php:73)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
     (vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:168)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch()
     (vendor/symfony/http-kernel/HttpKernel.php:229)
  at Symfony\Component\HttpKernel\HttpKernel->handleThrowable()
     (vendor/symfony/http-kernel/HttpKernel.php:92)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/http-kernel/Kernel.php:201)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (public/index.php:30)