^ Twig\Error\LoaderError {#491
#message: "Unable to find template "product-action-price/with_discount.twig" (looked into: /var/www/html/front/theme/snippets) in "product-action-price.twig" at line 28."
#code: 0
#file: "/var/www/html/front/vendor/twig/twig/src/Loader/FilesystemLoader.php"
#line: 227
-lineno: 28
-name: "product-action-price.twig"
-rawMessage: "Unable to find template "product-action-price/with_discount.twig" (looked into: /var/www/html/front/theme/snippets)."
-sourcePath: ""
-sourceCode: ""
trace: {
/var/www/html/front/vendor/twig/twig/src/Loader/FilesystemLoader.php:227 {
Twig\Loader\FilesystemLoader->findTemplate(string $name, bool $throw = true) …
›
› throw new LoaderError($this->errorCache[$name]);
› }
}
/var/www/html/front/vendor/twig/twig/src/Loader/FilesystemLoader.php:131 {
Twig\Loader\FilesystemLoader->getCacheKey(string $name): string …
› {
› if (null === $path = $this->findTemplate($name)) {
› return '';
arguments: {
$name: "product-action-price/with_discount.twig"
}
}
/var/www/html/front/vendor/twig/twig/src/Environment.php:261 {
Twig\Environment->getTemplateClass(string $name, int $index = null): string …
› {
› $key = $this->getLoader()->getCacheKey($name).$this->optionsHash;
›
arguments: {
$name: "product-action-price/with_discount.twig"
}
}
/var/www/html/front/vendor/twig/twig/src/Template.php:319 {
Twig\Template->loadTemplate($template, $templateName = null, $line = null, $index = null) …
› } else {
› $class = $this->env->getTemplateClass($template);
› }
arguments: {
$name: "product-action-price/with_discount.twig"
}
}
/var/www/html/front/theme/snippets/product-action-price.twig:28 {
__TwigTemplate_82d7746ed5429c56927e2ff348f67485->doDisplay(array $context, array $blocks = []) …
› <div class="product-action-price {{ type }} my-5">
› {% include 'product-action-price/' ~ type ~ '.twig' %}
› </div>
arguments: {
$template: "product-action-price/with_discount.twig"
$templateName: "product-action-price.twig"
$line: 28
}
}
/var/www/html/front/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: array:23 [ …23]
$blocks: []
}
}
/var/www/html/front/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
arguments: {
$context: array:22 [ …22]
$blocks: []
}
}
/var/www/html/front/cache/103188/12/1275f46d4ead26d889291bef2dd95d52.php:328 {
__TwigTemplate_c29aa6dfef9a3b2806fec565e0bbc3d1->doDisplay(array $context, array $blocks = []) …
› echo " ";
› $this->loadTemplate("product-action-price.twig", "product-action.twig", 140)->display($context);
› // line 141
arguments: {
$context: array:37 [ …37]
}
}
/var/www/html/front/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: array:23 [ …23]
$blocks: []
}
}
/var/www/html/front/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
arguments: {
$context: array:22 [ …22]
$blocks: []
}
}
/var/www/html/front/cache/103188/be/bec51cccefd38f41c4b4ccb944586492.php:105 {
__TwigTemplate_e890e249285929e95455bc6ec1864bfe->doDisplay(array $context, array $blocks = []) …
› echo " ";
› $this->loadTemplate("product-action.twig", "@sections/product-info.twig", 29)->display($context);
› // line 30
arguments: {
$context: array:28 [ …28]
}
}
/var/www/html/front/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: array:23 [ …23]
$blocks: []
}
}
/var/www/html/front/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
arguments: {
$context: array:22 [ …22]
$blocks: []
}
}
/var/www/html/front/cache/103188/cb/cb299cbadc3f9d2adfe873baccb362db.php:48 {
__TwigTemplate_459e1e08d4ebafa57a8fc46515223d86->doDisplay(array $context, array $blocks = []) …
› \t";
› $this->loadTemplate("@sections/product-info.twig")->display(array_merge($context, array("section" => array("settings" => array("id_erp" => false, "container" => "container", "quick_buy" => true, "mobile_zoom" => false, "image_galery" => "gallery", "text_btn_kit" => "Produtos do kit", "pre_sale_text" => "Seja o primeiro a comprar este produto. Insira seus dados abaixo para ser notificado no seu lançamento.", "product_alert" => "0", "product_brand" => true, "share_product" => false, "share_twitter" => true, "image_position" => "left", "share_facebook" => true, "share_whatsapp" => true, "customize_style" => "closed", "pre_sale_button" => "Avise-me no lançamento", "product_payment" => true, "share_pinterest" => false, "product_features" => "0", "product_quantity" => false, "product_shipping" => true, "product_reference" => true, "product_breadcrumb" => true, "product_colors_type" => "colors", "product_colors_title" => null, "product_request_text" => "Infelizmente o estoque deste item acabou :(", "share_product_colors" => false, "product_alert_message" => null, "product_atribute_type" => "select", "product_colors_slider" => false, "product_options_title" => null, "product_shipping_seals" => false, "product_main_image_zoom" => false, "variation_cheap_message" => false, "product_request_text_button" => "Avise-me quando chegar", "product_request_text_instruction" => "Insira seus dados e receba uma notificação quando este produto estiver disponível", "product_request_text_success" => "Você será notificado através do e-mail ou número de WhatsApp inserido, assim que o produto estiver disponível para venda ;)"), "blocks" => array())))); // line 6
› echo "
arguments: {
$context: array:24 [ …24]
}
}
/var/www/html/front/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: array:23 [ …23]
$blocks: []
}
}
/var/www/html/front/vendor/twig/twig/src/Template.php:367 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
arguments: {
$context: array:22 [ …22]
$blocks: []
}
}
/var/www/html/front/vendor/twig/twig/src/Template.php:379 {
Twig\Template->render(array $context) …
› try {
› $this->display($context);
› } catch (\Throwable $e) {
arguments: {
$context: array:20 [ …20]
}
}
/var/www/html/front/vendor/twig/twig/src/TemplateWrapper.php:40 {
Twig\TemplateWrapper->render(array $context = []): string …
› // as it should only be used by internal code
› return $this->template->render($context, \func_get_args()[1] ?? []);
› }
arguments: {
$context: array:20 [ …20]
...: {
[]
}
}
}
/var/www/html/front/classes/Controllers/BaseController.php:75 {
Core\Controllers\BaseController->output(string $html = null) …
› assign([
› 'content_for_layout' => $html->render(assign()),
› ]);
arguments: {
$context: array:20 [ …20]
}
}
/var/www/html/front/classes/Controllers/BaseController.php:290 {
Core\Controllers\BaseController->write(ResponseInterface $response) …
› {
› $response->getBody()->write($this->output());
› return $response;
}
/var/www/html/front/classes/Controllers/ProductController.php:88 {
Core\Controllers\ProductController->index(ServerRequestInterface $request, ResponseInterface $response, $product = null, string $colorSlug = null): ResponseInterface …
›
› return $this->write($response);
› }
arguments: {
$response: Slim\Psr7\Response {#370 …}
}
}
/var/www/html/front/classes/Controllers/SlugController.php:53 {
Core\Controllers\SlugController->index(ServerRequestInterface $request, ResponseInterface $response) …
› $colorSlug = $slug['data']['color']['slug'] ?? null;
› return (new ProductController($this->container))->index($request, $response, $slug['data'], $colorSlug);
› case 'blog-post':
arguments: {
$request: Slim\Psr7\Request {#393 …}
$response: Slim\Psr7\Response {#370 …}
$product: Core\Adapters\ShowcaseApiQLAdapter {#409 …}
$colorSlug: null
}
}
/var/www/html/front/vendor/slim/slim/Slim/Handlers/Strategies/RequestResponse.php:38 {
Slim\Handlers\Strategies\RequestResponse->__invoke(callable $callable, ServerRequestInterface $request, ResponseInterface $response, array $routeArguments): ResponseInterface …
›
› return $callable($request, $response, $routeArguments);
› }
arguments: {
$request: Slim\Psr7\Request {#393 …}
$response: Slim\Psr7\Response {#370 …}
...: {
array:1 [ …1]
}
}
}
/var/www/html/front/vendor/slim/slim/Slim/Routing/Route.php:358 {
Slim\Routing\Route->handle(ServerRequestInterface $request): ResponseInterface …
› $response = $this->responseFactory->createResponse();
› return $strategy($callable, $request, $response, $this->arguments);
› }
arguments: {
$callable: array:2 [ …2]
$request: Slim\Psr7\Request {#389 …}
$response: Slim\Psr7\Response {#370 …}
$routeArguments: array:1 [ …1]
}
}
/var/www/html/front/classes/Middlewares/AppMiddleware.php:201 {
Core\Middlewares\AppMiddleware->out(ServerRequestInterface $request, RequestHandlerInterface $handler) …
›
› $response = $handler->handle($request);
›
arguments: {
$request: Slim\Psr7\Request {#355 …}
}
}
/var/www/html/front/classes/Middlewares/AppMiddleware.php:50 {
Core\Middlewares\AppMiddleware->process(ServerRequestInterface $request, RequestHandlerInterface $handler): ResponseInterface …
›
› return $this->out($request, $handler);
› }
arguments: {
$request: Slim\Psr7\Request {#355 …}
$handler: Slim\Routing\Route {#314 …}
}
}
/var/www/html/front/vendor/slim/slim/Slim/MiddlewareDispatcher.php:168 {