^ Twig\Error\LoaderError {#5262
#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/theme/snippets/customize-product/custom-ajax.twig:388 {
__TwigTemplate_600d9468b019e90289b1c2509ae1706a->doDisplay(array $context, array $blocks = []) …
› <div class="d-none quick-buy">
› {% include 'product-action-price.twig' with { 'quick_buy': true } %}
› </div>
arguments: {
$context: array:31 [ …31]
}
}
/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/c2/c2df3ace047fe3f2f9b96bd650eff9ec.php:90 {
__TwigTemplate_d20da29dd00096595849bfa8ff56398b->doDisplay(array $context, array $blocks = []) …
› echo " ";
› $this->loadTemplate("customize-product/custom-ajax.twig", "@sections/customize-product.twig", 27)->display($context);
› // line 28
arguments: {
$context: array:30 [ …30]
}
}
/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:80 {
__TwigTemplate_459e1e08d4ebafa57a8fc46515223d86->doDisplay(array $context, array $blocks = []) …
› echo "\t\t";
› $this->loadTemplate("@sections/customize-product.twig")->display(array_merge($context, array("section" => array("settings" => array("order" => "group", "title" => "Produtos do kit", "subtitle" => null, "variation_select_type" => "select", "buy_individual_products" => false, "show_price_individual_products" => false, "text_btn_kit" => "Produtos do kit", "customize_position_customize" => "after_description"), "blocks" => array())))); // line 22
› echo "\t";
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 {