exception |
Twig\Error\RuntimeError {#6745
#message: "An exception has been thrown during the rendering of a template ("Product variant 753 Filoxenia Dream Memory Latex ορθοπεδικό στρώμα - 180 , 200 (16-22364) has no price defined for channel BitBag OpenMarketplace")."
#code: 0
#file: "/srv/open_marketplace/templates/bundles/SyliusShopBundle/Product/_box.html.twig"
#line: 24
-previous: Sylius\Component\Core\Exception\MissingChannelConfigurationException {#6831 …}
-lineno: 24
-name: "@SyliusShop/Product/_box.html.twig"
-rawMessage: "An exception has been thrown during the rendering of a template ("Product variant 753 Filoxenia Dream Memory Latex ορθοπεδικό στρώμα - 180 , 200 (16-22364) has no price defined for channel BitBag OpenMarketplace")."
-sourcePath: "/srv/open_marketplace/templates/bundles/SyliusShopBundle/Product/_box.html.twig"
-sourceCode: ""
trace: {
/srv/open_marketplace/templates/bundles/SyliusShopBundle/Product/_box.html.twig:24 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› {% if not product.enabledVariants.empty() %}
› <div class="sylius-product-price">{{ money.calculatePrice(product|sylius_resolve_variant) }}</div>
› {% endif %}
}
/srv/open_marketplace/vendor/twig/twig/src/Template.php:378 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
arguments: {
$context: [ …12]
$blocks: [ …1]
}
}
/srv/open_marketplace/var/cache/dev/twig/14/14b79e1aace0e0a56ab46f0e037f10eb.php:84 {
__TwigTemplate_211d45ea1908bc8a6096d809e456c98d->doDisplay(array $context, array $blocks = []) …
› echo " ";
› $this->loadTemplate("@SyliusShop/Product/_box.html.twig", "@SyliusShop/Product/Index/_main.html.twig", 13)->display($context);
› // line 14
arguments: {
$context: [ …17]
}
}
/srv/open_marketplace/vendor/twig/twig/src/Template.php:405 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …12]
$blocks: [ …1]
}
}
/srv/open_marketplace/vendor/twig/twig/src/Template.php:378 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
arguments: {
$context: [ …12]
$blocks: [ …1]
}
}
/srv/open_marketplace/var/cache/dev/twig/2a/2aafb74cfcfe4d48f5332145e04d0eba.php:71 {
__TwigTemplate_30a37cd8d1e9c71c1ab6741915bf7a01->block_content($context, array $blocks = []) …
› // line 10
› $this->loadTemplate("@SyliusShop/Product/Index/_main.html.twig", "@SyliusShop/Product/index.html.twig", 10)->display($context);
› // line 11
arguments: {
$context: [ …12]
}
}
/srv/open_marketplace/vendor/twig/twig/src/Template.php:182 {
Twig\Template->displayBlock($name, array $context, array $blocks = [], $useBlocks = true, self $templateContext = null) …
› try {
› $template->$block($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …12]
$blocks: [ …8]
}
}
/srv/open_marketplace/var/cache/dev/twig/ea/eabdae8332ba94a8d37849f0cf0d28dd.php:110 {
__TwigTemplate_c1d24e82652343cc907e833e1c6328a9->doDisplay(array $context, array $blocks = []) …
› // line 119
› $this->displayBlock('content', $context, $blocks);
› // line 121
arguments: {
$name: "content"
$context: [ …12]
$blocks: [ …8]
}
}
/srv/open_marketplace/vendor/twig/twig/src/Template.php:405 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …12]
$blocks: [ …1]
}
}
/srv/open_marketplace/vendor/twig/twig/src/Template.php:378 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
arguments: {
$context: [ …12]
$blocks: [ …1]
}
}
/srv/open_marketplace/var/cache/dev/twig/2a/2aafb74cfcfe4d48f5332145e04d0eba.php:45 {
__TwigTemplate_30a37cd8d1e9c71c1ab6741915bf7a01->doDisplay(array $context, array $blocks = []) …
› $this->parent = $this->loadTemplate("@SyliusShop/layout.html.twig", "@SyliusShop/Product/index.html.twig", 1);
› $this->parent->display($context, array_merge($this->blocks, $blocks));
›
arguments: {
$context: [ …12]
$blocks: [ …1]
}
}
/srv/open_marketplace/vendor/twig/twig/src/Template.php:405 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
arguments: {
$context: [ …12]
$blocks: [ …1]
}
}
/srv/open_marketplace/vendor/twig/twig/src/Template.php:378 {
Twig\Template->display(array $context, array $blocks = []) …
› {
› $this->displayWithErrorHandling($this->env->mergeGlobals($context), array_merge($this->blocks, $blocks));
› }
arguments: {
$context: [ …12]
$blocks: [ …1]
}
}
/srv/open_marketplace/vendor/twig/twig/src/Template.php:390 {
Twig\Template->render(array $context) …
› try {
› $this->display($context);
› } catch (\Throwable $e) {
arguments: {
$context: [ …4]
}
}
/srv/open_marketplace/vendor/twig/twig/src/TemplateWrapper.php:45 {
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: [ …4]
...: {
[]
}
}
}
/srv/open_marketplace/vendor/twig/twig/src/Environment.php:318 {
Twig\Environment->render($name, array $context = []) …
› {
› return $this->load($name)->render($context);
› }
arguments: {
$context: [ …4]
}
}
/srv/open_marketplace/vendor/sylius/resource-bundle/src/Bundle/Controller/ControllerTrait.php:247 {
Sylius\Bundle\ResourceBundle\Controller\ResourceController->render(string $view, array $parameters = [], Response $response = null, int $responseCode = null): Response …
› } elseif ($this->container->has('twig')) {
› $content = $this->container->get('twig')->render($view, $parameters);
› } else {
arguments: {
$name: "@SyliusShop/Product/index.html.twig"
$context: [ …4]
}
}
/srv/open_marketplace/vendor/sylius/resource-bundle/src/Bundle/Controller/ResourceController.php:155 {
Sylius\Bundle\ResourceBundle\Controller\ResourceController->indexAction(Request $request): Response …
› 'resources' => $resources,
› $this->metadata->getPluralName() => $resources,
› ]);
arguments: {
$view: "@SyliusShop/Product/index.html.twig"
$parameters: [ …4]
}
}
/srv/open_marketplace/vendor/symfony/http-kernel/HttpKernel.php:163 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#6 …}
}
}
/srv/open_marketplace/vendor/symfony/http-kernel/HttpKernel.php:75 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->handleRaw($request, $type);
› } catch (\Exception $e) {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#6 …}
$type: 1
}
}
/srv/open_marketplace/vendor/symfony/http-kernel/Kernel.php:202 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true) …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#6 …}
$type: 1
$catch: true
}
}
/srv/open_marketplace/public/index.php:25 {
› $request = Request::createFromGlobals();
› $response = $kernel->handle($request);
› $response->send();
arguments: {
$request: Symfony\Component\HttpFoundation\Request {#6 …}
}
}
}
} |