Découvrez la boîte à histoires !

La boîte à histoires MAX inclut plus de 4 heures de contenus audio embarqués et des centaines d’autres à télécharger depuis ce site. Et avec le casque et la banane MAX c’est encore plus facile de profiter de ses histoires !

Les nouveaux packs Voir le catalogue

Découvrez nos coups de cœur Voir le catalogue

Les actualités MAX Voir toutes les actualités

Les histoires audio déjà enregistrées sur MAX
Les histoires audio déjà enregistrées sur MAX
Plongez dans votre bibliothèque MAX regorgeant de livres audio captivants. Dès l’achat, vous disposez de plus de 4 heures de cont...
Les abonnements-livres de l'école des loisirs  :  toute une année pour lire et s'amuser !
Les abonnements-livres de l'école des loisirs....
En 1981, une petite révolution est en route, Kilimax le premier club d’abonnements de livres dans les écoles est lancé ...
En classe, écouter, imaginer, rêver, c’est aussi lire !
En classe, écouter, imaginer, rêver, c’est au....
Faites entrer les histoires audio dans la bibliothèque de votre classe ! Quel plaisir, quelle émotion de s’immerger dans son livr...

Expertise & Savoir-faire

Le meilleur de la littérature jeunesse reconnue par les parents et les enseignants
Le meilleur de la littérature jeunesse reconnue par les parents et les enseignants
La passion et l’exigence au service des enfants
La passion et l’exigence au service des enfants
Des maisons indépendantes et familiales au savoir-faire français
Des maisons indépendantes et familiales au savoir-faire français​
Loading…
Loading the web debug toolbar…
Attempt #
Notice: fwrite(): Write of 315 bytes failed with errno=28 No space left on device (500 Internal Server Error)

Symfony Exception

RuntimeException ErrorException

HTTP 500 Internal Server Error

Notice: fwrite(): Write of 315 bytes failed with errno=28 No space left on device

Exceptions 2

ErrorException

  1.      *
  2.      * @phpstan-param FormattedRecord $record
  3.      */
  4.     protected function streamWrite($stream, array $record): void
  5.     {
  6.         fwrite($stream, (string) $record['formatted']);
  7.     }
  8.     private function customErrorHandler(int $codestring $msg): bool
  9.     {
  10.         $this->errorMessage preg_replace('{^(fopen|mkdir)\(.*?\): }'''$msg);
  1.         if ($this->useLocking) {
  2.             // ignoring errors here, there's not much we can do about them
  3.             flock($streamLOCK_EX);
  4.         }
  5.         $this->streamWrite($stream$record);
  6.         if ($this->useLocking) {
  7.             flock($streamLOCK_UN);
  8.         }
  9.     }
  1.             $record $this->processRecord($record);
  2.         }
  3.         $record['formatted'] = $this->getFormatter()->format($record);
  4.         $this->write($record);
  5.         return false === $this->bubble;
  6.     }
  7.     /**
  1.                     }
  2.                 }
  3.                 // once the record exists, send it to all handlers as long as the bubbling chain is not interrupted
  4.                 try {
  5.                     if (true === $handler->handle($record)) {
  6.                         break;
  7.                     }
  8.                 } catch (Throwable $e) {
  9.                     $this->handleException($e$record);
  1.      * @param string|Stringable $message The log message
  2.      * @param mixed[]           $context The log context
  3.      */
  4.     public function debug($message, array $context = []): void
  5.     {
  6.         $this->addRecord(static::DEBUG, (string) $message$context);
  7.     }
  8.     /**
  9.      * Adds a log record at the INFO level.
  10.      *
  1.                 $context = ['event' => $eventName'listener' => $listener->getPretty()];
  2.             }
  3.             if ($listener->wasCalled()) {
  4.                 if (null !== $this->logger) {
  5.                     $this->logger->debug('Notified event "{event}" to listener "{listener}".'$context);
  6.                 }
  7.             } else {
  8.                 $this->callStack->detach($listener);
  9.             }
  1.             } finally {
  2.                 $this->afterDispatch($eventName$event);
  3.             }
  4.         } finally {
  5.             $this->currentRequestHash $currentRequestHash;
  6.             $this->postProcess($eventName);
  7.         }
  8.         return $event;
  9.     }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function terminate(Request $requestResponse $response)
  5.     {
  6.         $this->dispatcher->dispatch(new TerminateEvent($this$request$response), KernelEvents::TERMINATE);
  7.     }
  8.     /**
  9.      * @internal
  10.      */
  1.         if (false === $this->booted) {
  2.             return;
  3.         }
  4.         if ($this->getHttpKernel() instanceof TerminableInterface) {
  5.             $this->getHttpKernel()->terminate($request$response);
  6.         }
  7.     }
  8.     /**
  9.      * {@inheritdoc}
Kernel->terminate(object(Request), object(Response)) in /var/www/html/public/index.php (line 27)
  1. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  2. $request Request::createFromGlobals();
  3. $response $kernel->handle($request);
  4. $response->send();
  5. $kernel->terminate($request$response);

RuntimeException

Failed to write cache file "/var/www/html/var/cache/dev/twig/79/79b69abb3f6ce4931e0fc2eb0402fe192dbff30c9ba2d0a5230eb22d9fbc9025.php".

  1.             }
  2.             return;
  3.         }
  4.         throw new \RuntimeException(sprintf('Failed to write cache file "%s".'$key));
  5.     }
  6.     public function getTimestamp($key)
  7.     {
  8.         if (!file_exists($key)) {
  1.             $source null;
  2.             if (!class_exists($clsfalse)) {
  3.                 $source $this->getLoader()->getSourceContext($name);
  4.                 $content $this->compileSource($source);
  5.                 $this->cache->write($key$content);
  6.                 $this->cache->load($key);
  7.                 if (!class_exists($mainClsfalse)) {
  8.                     /* Last line of defense if either $this->bcWriteCacheFile was used,
  9.                      * $this->cache is implemented as a no-op or we have a race condition
  1.      *
  2.      * @internal
  3.      */
  4.     public function loadTemplate($name$index null)
  5.     {
  6.         return $this->loadClass($this->getTemplateClass($name), $name$index);
  7.     }
  8.     /**
  9.      * @internal
  10.      */
  1.             @trigger_error('Passing a \Twig\Template instance to '.__METHOD__.' is deprecated since Twig 2.7.0, use \Twig\TemplateWrapper instead.'\E_USER_DEPRECATED);
  2.             return new TemplateWrapper($this$name);
  3.         }
  4.         return new TemplateWrapper($this$this->loadTemplate($name));
  5.     }
  6.     /**
  7.      * Loads a template internal representation.
  8.      *
  1.         }
  2.         $templateFinder = function (Profile $profile) use (&$templateFinder) {
  3.             if ($profile->isTemplate()) {
  4.                 try {
  5.                     $template $this->twig->load($name $profile->getName());
  6.                 } catch (LoaderError $e) {
  7.                     $template null;
  8.                 }
  9.                 if (null !== $template && '' !== $path $template->getSourceContext()->getPath()) {
in /var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php -> Symfony\Bridge\Twig\DataCollector\{closure} (line 84)
  1.                     $this->data['template_paths'][$name] = $path;
  2.                 }
  3.             }
  4.             foreach ($profile as $p) {
  5.                 $templateFinder($p);
  6.             }
  7.         };
  8.         $templateFinder($this->profile);
  9.     }
in /var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php -> Symfony\Bridge\Twig\DataCollector\{closure} (line 84)
  1.                     $this->data['template_paths'][$name] = $path;
  2.                 }
  3.             }
  4.             foreach ($profile as $p) {
  5.                 $templateFinder($p);
  6.             }
  7.         };
  8.         $templateFinder($this->profile);
  9.     }
in /var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php -> Symfony\Bridge\Twig\DataCollector\{closure} (line 84)
  1.                     $this->data['template_paths'][$name] = $path;
  2.                 }
  3.             }
  4.             foreach ($profile as $p) {
  5.                 $templateFinder($p);
  6.             }
  7.         };
  8.         $templateFinder($this->profile);
  9.     }
in /var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php -> Symfony\Bridge\Twig\DataCollector\{closure} (line 84)
  1.                     $this->data['template_paths'][$name] = $path;
  2.                 }
  3.             }
  4.             foreach ($profile as $p) {
  5.                 $templateFinder($p);
  6.             }
  7.         };
  8.         $templateFinder($this->profile);
  9.     }
in /var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php -> Symfony\Bridge\Twig\DataCollector\{closure} (line 84)
  1.                     $this->data['template_paths'][$name] = $path;
  2.                 }
  3.             }
  4.             foreach ($profile as $p) {
  5.                 $templateFinder($p);
  6.             }
  7.         };
  8.         $templateFinder($this->profile);
  9.     }
in /var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php -> Symfony\Bridge\Twig\DataCollector\{closure} (line 84)
  1.                     $this->data['template_paths'][$name] = $path;
  2.                 }
  3.             }
  4.             foreach ($profile as $p) {
  5.                 $templateFinder($p);
  6.             }
  7.         };
  8.         $templateFinder($this->profile);
  9.     }
in /var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php -> Symfony\Bridge\Twig\DataCollector\{closure} (line 84)
  1.                     $this->data['template_paths'][$name] = $path;
  2.                 }
  3.             }
  4.             foreach ($profile as $p) {
  5.                 $templateFinder($p);
  6.             }
  7.         };
  8.         $templateFinder($this->profile);
  9.     }
in /var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php -> Symfony\Bridge\Twig\DataCollector\{closure} (line 87)
  1.             foreach ($profile as $p) {
  2.                 $templateFinder($p);
  3.             }
  4.         };
  5.         $templateFinder($this->profile);
  6.     }
  7.     public function getTime()
  8.     {
  9.         return $this->getProfile()->getDuration() * 1000;
  1.     public function saveProfile(Profile $profile)
  2.     {
  3.         // late collect
  4.         foreach ($profile->getCollectors() as $collector) {
  5.             if ($collector instanceof LateDataCollectorInterface) {
  6.                 $collector->lateCollect();
  7.             }
  8.         }
  9.         if (!($ret $this->storage->write($profile)) && null !== $this->logger) {
  10.             $this->logger->warning('Unable to store the profiler information.', ['configured_storage' => \get_class($this->storage)]);
  1.             }
  2.         }
  3.         // save profiles
  4.         foreach ($this->profiles as $request) {
  5.             $this->profiler->saveProfile($this->profiles[$request]);
  6.         }
  7.         $this->profiles = new \SplObjectStorage();
  8.         $this->parents = new \SplObjectStorage();
  9.     }
  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.         foreach ($listeners as $listener) {
  2.             if ($stoppable && $event->isPropagationStopped()) {
  3.                 break;
  4.             }
  5.             $listener($event$eventName$this);
  6.         }
  7.     }
  8.     /**
  9.      * Sorts the internal list of listeners for the given event by priority.
  1.         } else {
  2.             $listeners $this->getListeners($eventName);
  3.         }
  4.         if ($listeners) {
  5.             $this->callListeners($listeners$eventName$event);
  6.         }
  7.         return $event;
  8.     }
  1.         try {
  2.             $this->beforeDispatch($eventName$event);
  3.             try {
  4.                 $e $this->stopwatch->start($eventName'section');
  5.                 try {
  6.                     $this->dispatcher->dispatch($event$eventName);
  7.                 } finally {
  8.                     if ($e->isStarted()) {
  9.                         $e->stop();
  10.                     }
  11.                 }
  1.     /**
  2.      * {@inheritdoc}
  3.      */
  4.     public function terminate(Request $requestResponse $response)
  5.     {
  6.         $this->dispatcher->dispatch(new TerminateEvent($this$request$response), KernelEvents::TERMINATE);
  7.     }
  8.     /**
  9.      * @internal
  10.      */
  1.         if (false === $this->booted) {
  2.             return;
  3.         }
  4.         if ($this->getHttpKernel() instanceof TerminableInterface) {
  5.             $this->getHttpKernel()->terminate($request$response);
  6.         }
  7.     }
  8.     /**
  9.      * {@inheritdoc}
Kernel->terminate(object(Request), object(Response)) in /var/www/html/public/index.php (line 27)
  1. $kernel = new Kernel($_SERVER['APP_ENV'], (bool) $_SERVER['APP_DEBUG']);
  2. $request Request::createFromGlobals();
  3. $response $kernel->handle($request);
  4. $response->send();
  5. $kernel->terminate($request$response);

Stack Traces 2

[2/2] ErrorException
ErrorException:
Notice: fwrite(): Write of 315 bytes failed with errno=28 No space left on device

  at /var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:178
  at Monolog\Handler\StreamHandler->streamWrite(resource, array('message' => 'Notified event "kernel.terminate" to listener "Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent".', 'context' => array('event' => 'kernel.terminate', 'listener' => 'Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent'), 'level' => 100, 'level_name' => 'DEBUG', 'channel' => 'event', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2026-04-12T10:54:01.068948+02:00] event.DEBUG: Notified event "kernel.terminate" to listener "Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent". {"event":"kernel.terminate","listener":"Sentry\\\\SentryBundle\\\\EventListener\\\\TracingRequestListener::handleKernelTerminateEvent"} []'))
     (/var/www/html/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:162)
  at Monolog\Handler\StreamHandler->write(array('message' => 'Notified event "kernel.terminate" to listener "Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent".', 'context' => array('event' => 'kernel.terminate', 'listener' => 'Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent'), 'level' => 100, 'level_name' => 'DEBUG', 'channel' => 'event', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2026-04-12T10:54:01.068948+02:00] event.DEBUG: Notified event "kernel.terminate" to listener "Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent". {"event":"kernel.terminate","listener":"Sentry\\\\SentryBundle\\\\EventListener\\\\TracingRequestListener::handleKernelTerminateEvent"} []'))
     (/var/www/html/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:48)
  at Monolog\Handler\AbstractProcessingHandler->handle(array('message' => 'Notified event "kernel.terminate" to listener "Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent".', 'context' => array('event' => 'kernel.terminate', 'listener' => 'Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent'), 'level' => 100, 'level_name' => 'DEBUG', 'channel' => 'event', 'datetime' => object(DateTimeImmutable), 'extra' => array(), 'formatted' => '[2026-04-12T10:54:01.068948+02:00] event.DEBUG: Notified event "kernel.terminate" to listener "Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent". {"event":"kernel.terminate","listener":"Sentry\\\\SentryBundle\\\\EventListener\\\\TracingRequestListener::handleKernelTerminateEvent"} []'))
     (/var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php:399)
  at Monolog\Logger->addRecord(100, 'Notified event "{event}" to listener "{listener}".', array('event' => 'kernel.terminate', 'listener' => 'Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent'))
     (/var/www/html/vendor/monolog/monolog/src/Monolog/Logger.php:598)
  at Monolog\Logger->debug('Notified event "{event}" to listener "{listener}".', array('event' => 'kernel.terminate', 'listener' => 'Sentry\\SentryBundle\\EventListener\\TracingRequestListener::handleKernelTerminateEvent'))
     (/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:322)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->postProcess('kernel.terminate')
     (/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:165)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:97)
  at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response))
     (/var/www/html/vendor/symfony/http-kernel/Kernel.php:159)
  at Symfony\Component\HttpKernel\Kernel->terminate(object(Request), object(Response))
     (/var/www/html/public/index.php:27)                
[1/2] RuntimeException
RuntimeException:
Failed to write cache file "/var/www/html/var/cache/dev/twig/79/79b69abb3f6ce4931e0fc2eb0402fe192dbff30c9ba2d0a5230eb22d9fbc9025.php".

  at /var/www/html/vendor/twig/twig/src/Cache/FilesystemCache.php:80
  at Twig\Cache\FilesystemCache->write('/var/www/html/var/cache/dev/twig/79/79b69abb3f6ce4931e0fc2eb0402fe192dbff30c9ba2d0a5230eb22d9fbc9025.php', '<?phpuse Twig\\Environment;use Twig\\Error\\LoaderError;use Twig\\Error\\RuntimeError;use Twig\\Extension\\SandboxExtension;use Twig\\Markup;use Twig\\Sandbox\\SecurityError;use Twig\\Sandbox\\SecurityNotAllowedTagError;use Twig\\Sandbox\\SecurityNotAllowedFilterError;use Twig\\Sandbox\\SecurityNotAllowedFunctionError;use Twig\\Source;use Twig\\Template;/* @SyliusShop/Product/Box/_content.html.twig */class __TwigTemplate_9f0c853591bde1cca68888ac14b13ba35867862eb3c2937015fae62fa6357020 extends \\Twig\\Template{    private $source;    private $macros = [];    public function __construct(Environment $env)    {        parent::__construct($env);        $this->source = $this->getSourceContext();        $this->parent = false;        $this->blocks = [        ];    }    protected function doDisplay(array $context, array $blocks = [])    {        $macros = $this->macros;        $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\\\SentryBundle\\\\Tracing\\\\Twig\\\\TwigTracingExtension"];        $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \\Twig\\Profiler\\Profile($this->getTemplateName(), "template", "@SyliusShop/Product/Box/_content.html.twig"));        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\\\Bundle\\\\WebProfilerBundle\\\\Twig\\\\WebProfilerExtension"];        $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \\Twig\\Profiler\\Profile($this->getTemplateName(), "template", "@SyliusShop/Product/Box/_content.html.twig"));        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\\\Bridge\\\\Twig\\\\Extension\\\\ProfilerExtension"];        $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \\Twig\\Profiler\\Profile($this->getTemplateName(), "template", "@SyliusShop/Product/Box/_content.html.twig"));        // line 1        $macros["money"] = $this->macros["money"] = $this->loadTemplate("@SyliusShop/Common/Macro/money.html.twig", "@SyliusShop/Product/Box/_content.html.twig", 1)->unwrap();        // line 2        echo "<div class=\\"ui fluid card\\" ";        // line 3        echo $this->env->getFunction(\'sylius_test_html_attribute\')->getCallable()("product");        echo ">    <a href=\\"";        // line 4        echo twig_escape_filter($this->env, $this->extensions[\'Symfony\\Bridge\\Twig\\Extension\\RoutingExtension\']->getPath("sylius_shop_product_show", ["slug" => 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.\', 4, $this->source); })()), "slug", [], "any", false, false, false, 4), "_locale" => twig_get_attribute($this->env, $this->source, 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.\', 4, $this->source); })()), "translation", [], "any", false, false, false, 4), "locale", [], "any", false, false, false, 4)]), "html", null, true);        echo "\\" class=\\"blurring dimmable image\\">        <div class=\\"ui dimmer\\">            <div class=\\"content\\">                <div class=\\"center\\">                    <div class=\\"ui inverted button\\">";        // line 8        echo twig_escape_filter($this->env, $this->extensions[\'Symfony\\Bridge\\Twig\\Extension\\TranslationExtension\']->trans("sylius.ui.view_more"), "html", null, true);        echo "</div>                </div>            </div>        </div>        ";        // line 12        $this->loadTemplate("@SyliusShop/Product/_mainImage.html.twig", "@SyliusShop/Product/Box/_content.html.twig", 12)->display(twig_array_merge($context, ["product" => (isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError(\'Variable "product" does not exist.\', 12, $this->source); })())]));        // line 13        echo "    </a>    <div class=\\"content\\" ";        // line 14        echo $this->env->getFunction(\'sylius_test_html_attribute\')->getCallable()("product-content");        echo ">        <a href=\\"";        // line 15        echo twig_escape_filter($this->env, $this->extensions[\'Symfony\\Bridge\\Twig\\Extension\\RoutingExtension\']->getPath("sylius_shop_product_show", ["slug" => 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.\', 15, $this->source); })()), "slug", [], "any", false, false, false, 15), "_locale" => twig_get_attribute($this->env, $this->source, 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.\', 15, $this->source); })()), "translation", [], "any", false, false, false, 15), "locale", [], "any", false, false, false, 15)]), "html", null, true);        echo "\\" class=\\"header sylius-product-name\\" ";        echo $this->env->getFunction(\'sylius_test_html_attribute\')->getCallable()("product-name", 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.\', 15, $this->source); })()), "name", [], "any", false, false, false, 15));        echo ">";        echo twig_escape_filter($this->env, 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.\', 15, $this->source); })()), "name", [], "any", false, false, false, 15), "html", null, true);        echo "</a>        ";        // line 17        if ( !twig_get_attribute($this->env, $this->source, 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.\', 17, $this->source); })()), "enabledVariants", [], "any", false, false, false, 17), "empty", [], "method", false, false, false, 17)) {            // line 18            echo "            ";            $context["appliedPromotions"] = twig_get_attribute($this->env, $this->source, $this->env->getFilter(\'sylius_resolve_variant\')->getCallable()((isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError(\'Variable "product" does not exist.\', 18, $this->source); })())), "getAppliedPromotionsForChannel", [0 => twig_get_attribute($this->env, $this->source, (isset($context["sylius"]) || array_key_exists("sylius", $context) ? $context["sylius"] : (function () { throw new RuntimeError(\'Variable "sylius" does not exist.\', 18, $this->source); })()), "channel", [], "any", false, false, false, 18)], "method", false, false, false, 18);            // line 19            echo "            ";            $context["price"] = twig_call_macro($macros["money"], "macro_calculatePrice", [$this->env->getFilter(\'sylius_resolve_variant\')->getCallable()((isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError(\'Variable "product" does not exist.\', 19, $this->source); })()))], 19, $context, $this->getSourceContext());            // line 20            echo "            ";            $context["originalPrice"] = twig_call_macro($macros["money"], "macro_calculateOriginalPrice", [$this->env->getFilter(\'sylius_resolve_variant\')->getCallable()((isset($context["product"]) || array_key_exists("product", $context) ? $context["product"] : (function () { throw new RuntimeError(\'Variable "product" does not exist.\', 20, $this->source); })()))], 20, $context, $this->getSourceContext());            // line 21            echo "            ";            // line 22            $this->loadTemplate("@SyliusShop/Product/Show/_catalogPromotionLabels.html.twig", "@SyliusShop/Product/Box/_content.html.twig", 22)->display(twig_array_merge($context, ["appliedPromotions" => (isset($context["appliedPromotions"]) || array_key_exists("appliedPromotions", $context) ? $context["appliedPromotions"] : (function () { throw new RuntimeError(\'Variable "appliedPromotions" does not exist.\', 22, $this->source); })()), "withDescription" => false]));            // line 23            echo "            ";            // line 24            if (((isset($context["price"]) || array_key_exists("price", $context) ? $context["price"] : (function () { throw new RuntimeError(\'Variable "price" does not exist.\', 24, $this->source); })()) != (isset($context["originalPrice"]) || array_key_exists("originalPrice", $context) ? $context["originalPrice"] : (function () { throw new RuntimeError(\'Variable "originalPrice" does not exist.\', 24, $this->source); })()))) {                // line 25                echo "            <div class=\\"sylius-product-original-price\\" ";                echo $this->env->getFunction(\'sylius_test_html_attribute\')->getCallable()("product-original-price");                echo "><del>";                echo twig_escape_filter($this->env, (isset($context["originalPrice"]) || array_key_exists("originalPrice", $context) ? $context["originalPrice"] : (function () { throw new RuntimeError(\'Variable "originalPrice" does not exist.\', 25, $this->source); })()), "html", null, true);                echo "</del></div>            ";            }            // line 27            echo "            <div class=\\"sylius-product-price\\" ";            echo $this->env->getFunction(\'sylius_test_html_attribute\')->getCallable()("product-price");            echo ">";            echo twig_escape_filter($this->env, (isset($context["price"]) || array_key_exists("price", $context) ? $context["price"] : (function () { throw new RuntimeError(\'Variable "price" does not exist.\', 27, $this->source); })()), "html", null, true);            echo "</div>        ";        }        // line 29        echo "    </div></div>";                $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);                $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);                $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);    }    public function getTemplateName()    {        return "@SyliusShop/Product/Box/_content.html.twig";    }    public function isTraitable()    {        return false;    }    public function getDebugInfo()    {        return array (  124 => 29,  116 => 27,  108 => 25,  106 => 24,  103 => 23,  101 => 22,  98 => 21,  95 => 20,  92 => 19,  89 => 18,  87 => 17,  78 => 15,  74 => 14,  71 => 13,  69 => 12,  62 => 8,  55 => 4,  51 => 3,  48 => 2,  46 => 1,);    }    public function getSourceContext()    {        return new Source("{% import \\"@SyliusShop/Common/Macro/money.html.twig\\" as money %}<div class=\\"ui fluid card\\" {{ sylius_test_html_attribute(\'product\') }}>    <a href=\\"{{ path(\'sylius_shop_product_show\', {\'slug\': product.slug, \'_locale\': product.translation.locale}) }}\\" class=\\"blurring dimmable image\\">        <div class=\\"ui dimmer\\">            <div class=\\"content\\">                <div class=\\"center\\">                    <div class=\\"ui inverted button\\">{{ \'sylius.ui.view_more\'|trans }}</div>                </div>            </div>        </div>        {% include \'@SyliusShop/Product/_mainImage.html.twig\' with {\'product\': product} %}    </a>    <div class=\\"content\\" {{ sylius_test_html_attribute(\'product-content\') }}>        <a href=\\"{{ path(\'sylius_shop_product_show\', {\'slug\': product.slug, \'_locale\': product.translation.locale}) }}\\" class=\\"header sylius-product-name\\" {{ sylius_test_html_attribute(\'product-name\', product.name) }}>{{ product.name }}</a>        {% if not product.enabledVariants.empty() %}            {% set appliedPromotions = (product|sylius_resolve_variant).getAppliedPromotionsForChannel(sylius.channel) %}            {% set price = money.calculatePrice(product|sylius_resolve_variant) %}            {% set originalPrice = money.calculateOriginalPrice(product|sylius_resolve_variant) %}            {% include \'@SyliusShop/Product/Show/_catalogPromotionLabels.html.twig\' with {\'appliedPromotions\': appliedPromotions, \'withDescription\': false} %}            {% if price != originalPrice %}            <div class=\\"sylius-product-original-price\\" {{ sylius_test_html_attribute(\'product-original-price\') }}><del>{{ originalPrice }}</del></div>            {% endif %}            <div class=\\"sylius-product-price\\" {{ sylius_test_html_attribute(\'product-price\') }}>{{ price }}</div>        {% endif %}    </div></div>", "@SyliusShop/Product/Box/_content.html.twig", "/var/www/html/vendor/sylius/sylius/src/Sylius/Bundle/ShopBundle/Resources/views/Product/Box/_content.html.twig");    }}')
     (/var/www/html/vendor/twig/twig/src/Environment.php:409)
  at Twig\Environment->loadClass('__TwigTemplate_9f0c853591bde1cca68888ac14b13ba35867862eb3c2937015fae62fa6357020', '@SyliusShop/Product/Box/_content.html.twig', null)
     (/var/www/html/vendor/twig/twig/src/Environment.php:381)
  at Twig\Environment->loadTemplate('@SyliusShop/Product/Box/_content.html.twig')
     (/var/www/html/vendor/twig/twig/src/Environment.php:359)
  at Twig\Environment->load('@SyliusShop/Product/Box/_content.html.twig')
     (/var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php:73)
  at Symfony\Bridge\Twig\DataCollector\TwigDataCollector->Symfony\Bridge\Twig\DataCollector\{closure}(object(Profile))
     (/var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php:84)
  at Symfony\Bridge\Twig\DataCollector\TwigDataCollector->Symfony\Bridge\Twig\DataCollector\{closure}(object(Profile))
     (/var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php:84)
  at Symfony\Bridge\Twig\DataCollector\TwigDataCollector->Symfony\Bridge\Twig\DataCollector\{closure}(object(Profile))
     (/var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php:84)
  at Symfony\Bridge\Twig\DataCollector\TwigDataCollector->Symfony\Bridge\Twig\DataCollector\{closure}(object(Profile))
     (/var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php:84)
  at Symfony\Bridge\Twig\DataCollector\TwigDataCollector->Symfony\Bridge\Twig\DataCollector\{closure}(object(Profile))
     (/var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php:84)
  at Symfony\Bridge\Twig\DataCollector\TwigDataCollector->Symfony\Bridge\Twig\DataCollector\{closure}(object(Profile))
     (/var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php:84)
  at Symfony\Bridge\Twig\DataCollector\TwigDataCollector->Symfony\Bridge\Twig\DataCollector\{closure}(object(Profile))
     (/var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php:84)
  at Symfony\Bridge\Twig\DataCollector\TwigDataCollector->Symfony\Bridge\Twig\DataCollector\{closure}(object(Profile))
     (/var/www/html/vendor/symfony/twig-bridge/DataCollector/TwigDataCollector.php:87)
  at Symfony\Bridge\Twig\DataCollector\TwigDataCollector->lateCollect()
     (/var/www/html/vendor/symfony/http-kernel/Profiler/Profiler.php:97)
  at Symfony\Component\HttpKernel\Profiler\Profiler->saveProfile(object(Profile))
     (/var/www/html/vendor/symfony/http-kernel/EventListener/ProfilerListener.php:135)
  at Symfony\Component\HttpKernel\EventListener\ProfilerListener->onKernelTerminate(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (/var/www/html/vendor/symfony/event-dispatcher/Debug/WrappedListener.php:117)
  at Symfony\Component\EventDispatcher\Debug\WrappedListener->__invoke(object(TerminateEvent), 'kernel.terminate', object(TraceableEventDispatcher))
     (/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:230)
  at Symfony\Component\EventDispatcher\EventDispatcher->callListeners(array(object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.terminate', object(TerminateEvent))
     (/var/www/html/vendor/symfony/event-dispatcher/EventDispatcher.php:59)
  at Symfony\Component\EventDispatcher\EventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/var/www/html/vendor/symfony/event-dispatcher/Debug/TraceableEventDispatcher.php:154)
  at Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher->dispatch(object(TerminateEvent), 'kernel.terminate')
     (/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:97)
  at Symfony\Component\HttpKernel\HttpKernel->terminate(object(Request), object(Response))
     (/var/www/html/vendor/symfony/http-kernel/Kernel.php:159)
  at Symfony\Component\HttpKernel\Kernel->terminate(object(Request), object(Response))
     (/var/www/html/public/index.php:27)