<p>
{{ product.description|raw }}
</p>
</div>
</section>
{{ render(url('app_product_purchase', {'productCode': product.code})) }}
{{ render(url('app_product_negotiate', {'productCode': product.code})) }}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
";
// line 12
$this->loadTemplate("shop/Product/Show/_attributes.html.twig", "shop/Product/show.html.twig", 12)->display($context);
// line 13
echo " ";
$this->loadTemplate("shop/Product/Show/_details.html.twig", "shop/Product/show.html.twig", 13)->display($context);
// line 14
echo " </section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.move_back"), "html", null, true);
echo "</a>
";
// line 14
$this->displayBlock('details', $context, $blocks);
// line 16
echo " </div>
</main>
";
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
$this->displayBlock('header', $context, $blocks);
// line 71
echo "
";
// line 72
$this->displayBlock('content', $context, $blocks);
// line 74
echo "
";
// line 75
$this->displayBlock('flashes', $context, $blocks);
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
// line 3
$context["referer"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 3), "server", [], "any", false, true, false, 3), "get", [0 => "HTTP_REFERER"], "method", true, true, false, 3)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 3), "server", [], "any", false, true, false, 3), "get", [0 => "HTTP_REFERER"], "method", false, false, false, 3), "/")) : ("/"));
// line 1
$this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "shop/Product/layout.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "shop/Product/show.html.twig"));
$this->parent = $this->loadTemplate("shop/Product/layout.html.twig", "shop/Product/show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
*/
public function render(array $context = []): string
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
return $this->template->render($context, \func_get_args()[1] ?? []);
}
/**
* Displays the template.
*
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = [])
{
return $this->load($name)->render($context);
}
/**
* Displays a template.
*
if ($this->container->has('templating')) {
@trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
}
if (null === $response) {
if ($configuration->isHtmlRequest()) {
return $this->render($configuration->getTemplate(ResourceActions::SHOW . '.html'), [
'configuration' => $configuration,
'metadata' => $this->metadata,
'resource' => $resource,
$this->metadata->getName() => $resource,
]);
}
return $this->createRestView($configuration, $resource);
}
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
Request::setTrustedHosts([$trustedHosts]);
}
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
* @return int|false
*/
#[\ReturnTypeWillChange]
public function gc($maxlifetime)
{
return $this->handler->gc($maxlifetime);
}
}
* @return int|false
*/
#[\ReturnTypeWillChange]
public function gc($maxlifetime)
{
return $this->handler->gc($maxlifetime);
}
/**
* @return bool
*/
if (filter_var(ini_get('session.use_cookies'), \FILTER_VALIDATE_BOOLEAN) && headers_sent($file, $line)) {
throw new \RuntimeException(sprintf('Failed to start the session because headers have already been sent by "%s" at line %d.', $file, $line));
}
// ok to try and start the session
if (!session_start()) {
throw new \RuntimeException('Failed to start the session.');
}
if (null !== $this->emulateSameSite) {
$originalCookie = SessionUtils::popSessionCookie(session_name(), session_id());
/**
* {@inheritdoc}
*/
public function start()
{
return $this->storage->start();
}
/**
* {@inheritdoc}
*/
*/
public function hasToken(string $tokenId)
{
$session = $this->getSession();
if (!$session->isStarted()) {
$session->start();
}
return $session->has($this->namespace.'/'.$tokenId);
}
* {@inheritdoc}
*/
public function getToken(string $tokenId)
{
$namespacedId = $this->getNamespace().$tokenId;
if ($this->storage->hasToken($namespacedId)) {
$value = $this->storage->getToken($namespacedId);
} else {
$value = $this->generator->generateToken();
$this->storage->setToken($namespacedId, $value);
public function finishView(FormView $view, FormInterface $form, array $options)
{
if ($options['csrf_protection'] && !$view->parent && $options['compound']) {
$factory = $form->getConfig()->getFormFactory();
$tokenId = $options['csrf_token_id'] ?: ($form->getName() ?: \get_class($form->getConfig()->getType()->getInnerType()));
$data = (string) $options['csrf_token_manager']->getToken($tokenId);
$csrfForm = $factory->createNamed($options['csrf_field_name'], HiddenType::class, $data, [
'block_prefix' => 'csrf_token',
'mapped' => false,
]);
$this->innerType->finishView($view, $form, $options);
foreach ($this->typeExtensions as $extension) {
/* @var FormTypeExtensionInterface $extension */
$extension->finishView($view, $form, $options);
}
}
/**
* {@inheritdoc}
* {@inheritdoc}
*/
public function finishView(FormView $view, FormInterface $form, array $options)
{
if (null !== $this->parent) {
$this->parent->finishView($view, $form, $options);
}
$this->innerType->finishView($view, $form, $options);
foreach ($this->typeExtensions as $extension) {
$view->children[$name] = $child->createView($view);
}
$this->sort($view->children);
$type->finishView($view, $this, $options);
return $view;
}
/**
return $this->render($configuration->getTemplate(ResourceActions::CREATE . '.html'), [
'configuration' => $configuration,
'metadata' => $this->metadata,
'resource' => $newResource,
$this->metadata->getName() => $newResource,
'form' => $form->createView(),
]);
}
public function updateAction(Request $request): Response
{
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
if (!IpUtils::checkIp('127.0.0.1', $trustedProxies)) {
Request::setTrustedProxies(array_merge($trustedProxies, ['127.0.0.1']), Request::getTrustedHeaderSet());
}
try {
return $kernel->handle($request, $type, $catch);
} finally {
// restore global state
Request::setTrustedProxies($trustedProxies, $trustedHeaderSet);
}
}
$subRequest->attributes->add($reference->attributes);
}
$level = ob_get_level();
try {
return SubRequestHandler::handle($this->kernel, $subRequest, HttpKernelInterface::SUB_REQUEST, false);
} catch (\Exception $e) {
// we dispatch the exception event to trigger the logging
// the response that comes back is ignored
if (isset($options['ignore_errors']) && $options['ignore_errors'] && $this->dispatcher) {
$event = new ExceptionEvent($this->kernel, $request, HttpKernelInterface::SUB_REQUEST, $e);
if (!$request = $this->requestStack->getCurrentRequest()) {
throw new \LogicException('Rendering a fragment can only be done when handling a Request.');
}
return $this->deliver($this->renderers[$renderer]->render($uri, $request, $options));
}
/**
* Delivers the Response as a string.
*
if (!isset($this->initialized[$renderer]) && $this->container->has($renderer)) {
$this->addRenderer($this->container->get($renderer));
$this->initialized[$renderer] = true;
}
return parent::render($uri, $renderer, $options);
}
}
public function renderFragment($uri, array $options = []): string
{
$strategy = $options['strategy'] ?? 'inline';
unset($options['strategy']);
return $this->handler->render($uri, $strategy, $options);
}
/**
* Renders a fragment.
*
</p>
</div>
</section>
";
// line 30
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_product_purchase", ["productCode" => twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 30, $this->source); })()), "code", [], "any", false, false, false, 30)]));
echo "
";
// line 31
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("app_product_negotiate", ["productCode" => twig_get_attribute($this->env, $this->source, (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError('Variable "product" does not exist.', 31, $this->source); })()), "code", [], "any", false, false, false, 31)]));
echo "
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
";
// line 12
$this->loadTemplate("shop/Product/Show/_attributes.html.twig", "shop/Product/show.html.twig", 12)->display($context);
// line 13
echo " ";
$this->loadTemplate("shop/Product/Show/_details.html.twig", "shop/Product/show.html.twig", 13)->display($context);
// line 14
echo " </section>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("app.ui.move_back"), "html", null, true);
echo "</a>
";
// line 14
$this->displayBlock('details', $context, $blocks);
// line 16
echo " </div>
</main>
";
throw new \LogicException('A block must be a method on a \Twig\Template instance.');
}
if (null !== $template) {
try {
$template->$block($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($template->getSourceContext());
}
$this->displayBlock('header', $context, $blocks);
// line 71
echo "
";
// line 72
$this->displayBlock('content', $context, $blocks);
// line 74
echo "
";
// line 75
$this->displayBlock('flashes', $context, $blocks);
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
// line 3
$context["referer"] = ((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 3), "server", [], "any", false, true, false, 3), "get", [0 => "HTTP_REFERER"], "method", true, true, false, 3)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["app"] ?? null), "request", [], "any", false, true, false, 3), "server", [], "any", false, true, false, 3), "get", [0 => "HTTP_REFERER"], "method", false, false, false, 3), "/")) : ("/"));
// line 1
$this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "shop/Product/layout.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
$macros = $this->macros;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "shop/Product/show.html.twig"));
$this->parent = $this->loadTemplate("shop/Product/layout.html.twig", "shop/Product/show.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
}
protected function displayWithErrorHandling(array $context, array $blocks = [])
{
try {
$this->doDisplay($context, $blocks);
} catch (Error $e) {
if (!$e->getSourceContext()) {
$e->setSourceContext($this->getSourceContext());
}
return $this->blocks;
}
public function display(array $context, array $blocks = [])
{
$this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
}
public function render(array $context)
{
$level = ob_get_level();
ob_start();
} else {
ob_start(function () { return ''; });
}
try {
$this->display($context);
} catch (\Throwable $e) {
while (ob_get_level() > $level) {
ob_end_clean();
}
*/
public function render(array $context = []): string
{
// using func_get_args() allows to not expose the blocks argument
// as it should only be used by internal code
return $this->template->render($context, \func_get_args()[1] ?? []);
}
/**
* Displays the template.
*
* @throws SyntaxError When an error occurred during compilation
* @throws RuntimeError When an error occurred during rendering
*/
public function render($name, array $context = [])
{
return $this->load($name)->render($context);
}
/**
* Displays a template.
*
if ($this->container->has('templating')) {
@trigger_error('Using the "templating" service is deprecated since version 4.3 and will be removed in 5.0; use Twig instead.', \E_USER_DEPRECATED);
$content = $this->container->get('templating')->render($view, $parameters);
} elseif ($this->container->has('twig')) {
$content = $this->container->get('twig')->render($view, $parameters);
} else {
throw new \LogicException('You can not use the "render" method if the Templating Component or the Twig Bundle are not available. Try running "composer require symfony/twig-bundle".');
}
if (null === $response) {
if ($configuration->isHtmlRequest()) {
return $this->render($configuration->getTemplate(ResourceActions::SHOW . '.html'), [
'configuration' => $configuration,
'metadata' => $this->metadata,
'resource' => $resource,
$this->metadata->getName() => $resource,
]);
}
return $this->createRestView($configuration, $resource);
}
$this->dispatcher->dispatch($event, KernelEvents::CONTROLLER_ARGUMENTS);
$controller = $event->getController();
$arguments = $event->getArguments();
// call controller
$response = $controller(...$arguments);
// view
if (!$response instanceof Response) {
$event = new ViewEvent($this, $request, $type, $response);
$this->dispatcher->dispatch($event, KernelEvents::VIEW);
public function handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true)
{
$request->headers->set('X-Php-Ob-Level', (string) ob_get_level());
try {
return $this->handleRaw($request, $type);
} catch (\Exception $e) {
if ($e instanceof RequestExceptionInterface) {
$e = new BadRequestHttpException($e->getMessage(), $e);
}
if (false === $catch) {
$this->boot();
++$this->requestStackSize;
$this->resetServices = true;
try {
return $this->getHttpKernel()->handle($request, $type, $catch);
} finally {
--$this->requestStackSize;
}
}
Request::setTrustedHosts([$trustedHosts]);
}
$kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();
$kernel->terminate($request, $response);
No log messages
[2/2]
RuntimeError
|
---|
Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13)"). at templates/shop/Product/Show/_details.html.twig:30 at Twig\Template->displayWithErrorHandling() (vendor/twig/twig/src/Template.php:378) at Twig\Template->display() (var/cache/prod/twig/41/415c0e28f89b70caf201ac0c37a7f430d934b212d60491cd1423ecf33579c29f.php:93) at __TwigTemplate_971e1fc9611e83cda06a30ef8a0985788fcf9d8bf0f64406477b0d6b9e6f25ad->block_details() (vendor/twig/twig/src/Template.php:182) at Twig\Template->displayBlock() (var/cache/prod/twig/6e/6e9947e1f3f8b7da69dae108f9c1aebf1e18aa4a2d3b5cb33034d67f9b21c0b3.php:81) at __TwigTemplate_006de51eb5309fea58232521e4c53d5edac4809877cf0ad4e1f6e10b025e3fe2->block_content() (vendor/twig/twig/src/Template.php:182) at Twig\Template->displayBlock() (var/cache/prod/twig/9d/9de535c473f285ba9ac0eca00144bcaaa1de17ae7e4e581e8b772e520458c8d0.php:144) at __TwigTemplate_73dc13300aa4a596189c4e55d982fe2b2cd07ba0155ba3839d2ef97d76c93c97->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/prod/twig/6e/6e9947e1f3f8b7da69dae108f9c1aebf1e18aa4a2d3b5cb33034d67f9b21c0b3.php:50) at __TwigTemplate_006de51eb5309fea58232521e4c53d5edac4809877cf0ad4e1f6e10b025e3fe2->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/prod/twig/41/415c0e28f89b70caf201ac0c37a7f430d934b212d60491cd1423ecf33579c29f.php:46) at __TwigTemplate_971e1fc9611e83cda06a30ef8a0985788fcf9d8bf0f64406477b0d6b9e6f25ad->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() (vendor/sylius/resource-bundle/src/Bundle/Controller/ControllerTrait.php:235) at Sylius\Bundle\ResourceBundle\Controller\ResourceController->render() (vendor/sylius/resource-bundle/src/Bundle/Controller/ResourceController.php:143) at Sylius\Bundle\ResourceBundle\Controller\ResourceController->showAction() (vendor/symfony/http-kernel/HttpKernel.php:156) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:78) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:199) at Symfony\Component\HttpKernel\Kernel->handle() (public/index.php:25) |
[1/2]
ErrorException
|
---|
ErrorException: Notice: SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) at vendor/symfony/http-foundation/Session/Storage/Handler/StrictSessionHandler.php:106 at Symfony\Component\HttpFoundation\Session\Storage\Handler\StrictSessionHandler->gc() (vendor/symfony/http-foundation/Session/Storage/Proxy/SessionHandlerProxy.php:89) at Symfony\Component\HttpFoundation\Session\Storage\Proxy\SessionHandlerProxy->gc() at session_start() (vendor/symfony/http-foundation/Session/Storage/NativeSessionStorage.php:156) at Symfony\Component\HttpFoundation\Session\Storage\NativeSessionStorage->start() (vendor/symfony/http-foundation/Session/Session.php:59) at Symfony\Component\HttpFoundation\Session\Session->start() (vendor/symfony/security-csrf/TokenStorage/SessionTokenStorage.php:98) at Symfony\Component\Security\Csrf\TokenStorage\SessionTokenStorage->hasToken() (vendor/symfony/security-csrf/CsrfTokenManager.php:72) at Symfony\Component\Security\Csrf\CsrfTokenManager->getToken() (vendor/symfony/form/Extension/Csrf/Type/FormTypeCsrfExtension.php:78) at Symfony\Component\Form\Extension\Csrf\Type\FormTypeCsrfExtension->finishView() (vendor/symfony/form/ResolvedFormType.php:167) at Symfony\Component\Form\ResolvedFormType->finishView() (vendor/symfony/form/ResolvedFormType.php:160) at Symfony\Component\Form\ResolvedFormType->finishView() (vendor/symfony/form/Form.php:1070) at Symfony\Component\Form\Form->createView() (vendor/sylius/resource-bundle/src/Bundle/Controller/ResourceController.php:240) at Sylius\Bundle\ResourceBundle\Controller\ResourceController->createAction() (vendor/symfony/http-kernel/HttpKernel.php:156) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:78) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:85) at Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle() (vendor/symfony/http-kernel/Fragment/InlineFragmentRenderer.php:80) at Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer->render() (vendor/symfony/http-kernel/Fragment/FragmentHandler.php:85) at Symfony\Component\HttpKernel\Fragment\FragmentHandler->render() (vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php:45) at Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler->render() (vendor/symfony/twig-bridge/Extension/HttpKernelRuntime.php:46) at Symfony\Bridge\Twig\Extension\HttpKernelRuntime->renderFragment() (var/cache/prod/twig/08/08abaa076053bc4e7843b054de5bac6cb4225b78898592ddcca1db62600a3e74.php:102) at __TwigTemplate_f727fc894aefca9e0193b26047d5f306d7455f788ebb3394a2654d3be4c8bb7c->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/prod/twig/41/415c0e28f89b70caf201ac0c37a7f430d934b212d60491cd1423ecf33579c29f.php:93) at __TwigTemplate_971e1fc9611e83cda06a30ef8a0985788fcf9d8bf0f64406477b0d6b9e6f25ad->block_details() (vendor/twig/twig/src/Template.php:182) at Twig\Template->displayBlock() (var/cache/prod/twig/6e/6e9947e1f3f8b7da69dae108f9c1aebf1e18aa4a2d3b5cb33034d67f9b21c0b3.php:81) at __TwigTemplate_006de51eb5309fea58232521e4c53d5edac4809877cf0ad4e1f6e10b025e3fe2->block_content() (vendor/twig/twig/src/Template.php:182) at Twig\Template->displayBlock() (var/cache/prod/twig/9d/9de535c473f285ba9ac0eca00144bcaaa1de17ae7e4e581e8b772e520458c8d0.php:144) at __TwigTemplate_73dc13300aa4a596189c4e55d982fe2b2cd07ba0155ba3839d2ef97d76c93c97->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/prod/twig/6e/6e9947e1f3f8b7da69dae108f9c1aebf1e18aa4a2d3b5cb33034d67f9b21c0b3.php:50) at __TwigTemplate_006de51eb5309fea58232521e4c53d5edac4809877cf0ad4e1f6e10b025e3fe2->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/prod/twig/41/415c0e28f89b70caf201ac0c37a7f430d934b212d60491cd1423ecf33579c29f.php:46) at __TwigTemplate_971e1fc9611e83cda06a30ef8a0985788fcf9d8bf0f64406477b0d6b9e6f25ad->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() (vendor/sylius/resource-bundle/src/Bundle/Controller/ControllerTrait.php:235) at Sylius\Bundle\ResourceBundle\Controller\ResourceController->render() (vendor/sylius/resource-bundle/src/Bundle/Controller/ResourceController.php:143) at Sylius\Bundle\ResourceBundle\Controller\ResourceController->showAction() (vendor/symfony/http-kernel/HttpKernel.php:156) at Symfony\Component\HttpKernel\HttpKernel->handleRaw() (vendor/symfony/http-kernel/HttpKernel.php:78) at Symfony\Component\HttpKernel\HttpKernel->handle() (vendor/symfony/http-kernel/Kernel.php:199) at Symfony\Component\HttpKernel\Kernel->handle() (public/index.php:25) |