| 選択した値は無効です。 |
Unknown.
|
Caused by:
Symfony\Component\Validator\ConstraintViolation {#5152
root: Symfony\Component\Form\Form {#5113 …}
path: "children[category_id]"
value: "1003"
}
Symfony\Component\Form\Exception\TransformationFailedException {#5135
#message: "Unable to reverse value for property path "[category_id]": The choice "1003" does not exist or is not unique."
#code: 0
#file: "/var/www/html/vendor/symfony/form/Form.php"
#line: 1017
-invalidMessage: null
-invalidMessageParameters: []
trace: {
/var/www/html/vendor/symfony/form/Form.php:1017 {
Symfony\Component\Form\Form->viewToNorm(mixed $value): mixed …
› } catch (TransformationFailedException $exception) {
› throw new TransformationFailedException(sprintf('Unable to reverse value for property path "%s": ', $this->getPropertyPath()).$exception->getMessage(), $exception->getCode(), $exception, $exception->getInvalidMessage(), $exception->getInvalidMessageParameters());
› }
}
/var/www/html/vendor/symfony/form/Form.php:558 {
Symfony\Component\Form\Form->submit(mixed $submittedData, bool $clearMissing = true): static …
› // Normalize data to unified representation
› $normData = $this->viewToNorm($viewData);
›
}
/var/www/html/vendor/symfony/form/Form.php:499 {
Symfony\Component\Form\Form->submit(mixed $submittedData, bool $clearMissing = true): static …
› if ($isSubmitted || $clearMissing) {
› $child->submit($isSubmitted ? $submittedData[$name] : null, $clearMissing);
› unset($submittedData[$name]);
}
/var/www/html/vendor/symfony/form/Extension/HttpFoundation/HttpFoundationRequestHandler.php:110 {
Symfony\Component\Form\Extension\HttpFoundation\HttpFoundationRequestHandler->handleRequest(FormInterface $form, mixed $request = null) …
›
› $form->submit($data, 'PATCH' !== $method);
› }
}
/var/www/html/vendor/symfony/form/Form.php:420 {
Symfony\Component\Form\Form->handleRequest(mixed $request = null): static …
› {
› $this->config->getRequestHandler()->handleRequest($this, $request);
›
}
/var/www/html/src/Eccube/Controller/Block/SearchProductController.php:60 {
Eccube\Controller\Block\SearchProductController->index(Request $request) …
› $form = $builder->getForm();
› $form->handleRequest($request);
›
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:181 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
}
/var/www/html/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86 {
Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(HttpKernelInterface $kernel, Request $request, int $type, bool $catch): Response …
› try {
› return $kernel->handle($request, $type, $catch);
› } finally {
}
/var/www/html/vendor/symfony/http-kernel/Fragment/InlineFragmentRenderer.php:78 {
Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer->render(Symfony\Component\HttpKernel\Controller\ControllerReference|string $uri, Request $request, array $options = []): Response …
› try {
› return SubRequestHandler::handle($this->kernel, $subRequest, HttpKernelInterface::SUB_REQUEST, false);
› } catch (\Exception $e) {
}
/var/www/html/vendor/symfony/http-kernel/Fragment/FragmentHandler.php:83 {
Symfony\Component\HttpKernel\Fragment\FragmentHandler->render(Symfony\Component\HttpKernel\Controller\ControllerReference|string $uri, string $renderer = 'inline', array $options = []): ?string …
›
› return $this->deliver($this->renderers[$renderer]->render($uri, $request, $options));
› }
}
/var/www/html/vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php:47 {
Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler->render(Symfony\Component\HttpKernel\Controller\ControllerReference|string $uri, string $renderer = 'inline', array $options = []): ?string …
›
› return parent::render($uri, $renderer, $options);
› }
}
/var/www/html/vendor/symfony/twig-bridge/Extension/HttpKernelRuntime.php:44 {
Symfony\Bridge\Twig\Extension\HttpKernelRuntime->renderFragment(Symfony\Component\HttpKernel\Controller\ControllerReference|string $uri, array $options = []): string …
›
› return $this->handler->render($uri, $strategy, $options);
› }
}
/var/www/html/var/cache/dev/twig/dc/dc321c26868f6db209e77b7bc46b617c.php:69 {
__TwigTemplate_8d8976d6cc21454c1ef809d12a03ff36->doDisplay(array $context, array $blocks = []) …
› echo " ";
› echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("block_" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Block"], "file_name", [], "any", false, false, true, 14), 14, $this->source))));
› echo "
}
/var/www/html/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/var/www/html/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));
› }
}
/var/www/html/vendor/twig/twig/src/Template.php:379 {
Twig\Template->render(array $context) …
› try {
› $this->display($context);
› } catch (\Throwable $e) {
}
/var/www/html/vendor/twig/twig/src/TemplateWrapper.php:38 {
Twig\TemplateWrapper->render(array $context = []): string …
› {
› return $this->template->render($context);
› }
}
/var/www/html/vendor/twig/twig/src/Extension/CoreExtension.php:1347 {
twig_include(Environment $env, $context, $template, $variables = [], $withContext = true, $ignoreMissing = false, $sandboxed = false) …
›
› return $loaded ? $loaded->render($variables) : '';
› } finally {
}
/var/www/html/src/Eccube/Twig/Extension/IgnoreTwigSandboxErrorExtension.php:59 {
Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension->twig_include(Environment $env, $context, $template, $variables = [], $withContext = true, $ignoreMissing = false, $sandboxed = false) …
› try {
› return \twig_include($env, $context, $template, $variables, $withContext, $ignoreMissing, $sandboxed);
› } catch (SecurityError $e) {
}
/var/www/html/var/cache/dev/twig/38/3852aaaf2f98190d0e63fb9eb8bfae1e.php:408 {
__TwigTemplate_6305246fb42f4b084285b973161f1b66->doDisplay(array $context, array $blocks = []) …
› echo " ";
› echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "block.twig", ["Blocks" => twig_get_attribute($this->env, $this->source, (isset($context["Layout"]) || array_key_exists("Layout", $context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.', 164, $this->source); })()), "Drawer", [], "any", false, false, true, 164)]);
› echo "
}
/var/www/html/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/var/www/html/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));
› }
}
/var/www/html/var/cache/dev/twig/5a/5a3d0ca98722b5a5c9862df4cd856351.php:67 {
__TwigTemplate_609ff111b8244322f9c86a69c47579b9->doDisplay(array $context, array $blocks = []) …
› $this->parent = $this->loadTemplate("default_frame.twig", "Product/list/variants/gigabit_addition_oversea.twig", 11);
› $this->parent->display($context, array_merge($this->blocks, $blocks));
›
}
/var/www/html/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/var/www/html/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));
› }
}
/var/www/html/vendor/twig/twig/src/Template.php:379 {
Twig\Template->render(array $context) …
› try {
› $this->display($context);
› } catch (\Throwable $e) {
}
/var/www/html/vendor/twig/twig/src/TemplateWrapper.php:38 {
Twig\TemplateWrapper->render(array $context = []): string …
› {
› return $this->template->render($context);
› }
}
/var/www/html/vendor/twig/twig/src/Environment.php:280 {
Twig\Environment->render($name, array $context = []): string …
› {
› return $this->load($name)->render($context);
› }
}
/var/www/html/vendor/symfony/framework-bundle/Controller/AbstractController.php:448 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView(string $view, ?string $block, array $parameters, string $method): string …
›
› return $this->container->get('twig')->render($view, $parameters);
› }
}
/var/www/html/vendor/symfony/framework-bundle/Controller/AbstractController.php:453 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response …
› {
› $content = $this->doRenderView($view, $block, $parameters, $method);
› $response ??= new Response();
}
/var/www/html/vendor/symfony/framework-bundle/Controller/AbstractController.php:253 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], ?Response $response = null): Response …
› {
› return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
› }
}
/var/www/html/app/Customize/Controller/ProductController.php:168 {
Customize\Controller\ProductController->index(Request $request, PaginatorInterface $paginator) …
›
› return $this->render($listTemplate, $params);
› }
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:181 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
}
/var/www/html/vendor/symfony/http-kernel/Kernel.php:197 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/var/www/html/index.php:88 {
› $kernel = new Kernel($env, $debug);
› $response = $kernel->handle($request);
› $response->send();
}
}
…1
}
Symfony\Component\Form\Exception\TransformationFailedException {#5134
#message: "The choice "1003" does not exist or is not unique."
#code: 0
#file: "/var/www/html/vendor/symfony/form/Extension/Core/DataTransformer/ChoiceToValueTransformer.php"
#line: 50
-invalidMessage: null
-invalidMessageParameters: []
trace: {
/var/www/html/vendor/symfony/form/Extension/Core/DataTransformer/ChoiceToValueTransformer.php:50 {
Symfony\Component\Form\Extension\Core\DataTransformer\ChoiceToValueTransformer->reverseTransform(mixed $value): mixed …
›
› throw new TransformationFailedException(sprintf('The choice "%s" does not exist or is not unique.', $value));
› }
}
/var/www/html/vendor/symfony/form/Form.php:1014 {
Symfony\Component\Form\Form->viewToNorm(mixed $value): mixed …
› for ($i = \count($transformers) - 1; $i >= 0; --$i) {
› $value = $transformers[$i]->reverseTransform($value);
› }
}
/var/www/html/vendor/symfony/form/Form.php:558 {
Symfony\Component\Form\Form->submit(mixed $submittedData, bool $clearMissing = true): static …
› // Normalize data to unified representation
› $normData = $this->viewToNorm($viewData);
›
}
/var/www/html/vendor/symfony/form/Form.php:499 {
Symfony\Component\Form\Form->submit(mixed $submittedData, bool $clearMissing = true): static …
› if ($isSubmitted || $clearMissing) {
› $child->submit($isSubmitted ? $submittedData[$name] : null, $clearMissing);
› unset($submittedData[$name]);
}
/var/www/html/vendor/symfony/form/Extension/HttpFoundation/HttpFoundationRequestHandler.php:110 {
Symfony\Component\Form\Extension\HttpFoundation\HttpFoundationRequestHandler->handleRequest(FormInterface $form, mixed $request = null) …
›
› $form->submit($data, 'PATCH' !== $method);
› }
}
/var/www/html/vendor/symfony/form/Form.php:420 {
Symfony\Component\Form\Form->handleRequest(mixed $request = null): static …
› {
› $this->config->getRequestHandler()->handleRequest($this, $request);
›
}
/var/www/html/src/Eccube/Controller/Block/SearchProductController.php:60 {
Eccube\Controller\Block\SearchProductController->index(Request $request) …
› $form = $builder->getForm();
› $form->handleRequest($request);
›
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:181 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
}
/var/www/html/vendor/symfony/http-kernel/HttpCache/SubRequestHandler.php:86 {
Symfony\Component\HttpKernel\HttpCache\SubRequestHandler::handle(HttpKernelInterface $kernel, Request $request, int $type, bool $catch): Response …
› try {
› return $kernel->handle($request, $type, $catch);
› } finally {
}
/var/www/html/vendor/symfony/http-kernel/Fragment/InlineFragmentRenderer.php:78 {
Symfony\Component\HttpKernel\Fragment\InlineFragmentRenderer->render(Symfony\Component\HttpKernel\Controller\ControllerReference|string $uri, Request $request, array $options = []): Response …
› try {
› return SubRequestHandler::handle($this->kernel, $subRequest, HttpKernelInterface::SUB_REQUEST, false);
› } catch (\Exception $e) {
}
/var/www/html/vendor/symfony/http-kernel/Fragment/FragmentHandler.php:83 {
Symfony\Component\HttpKernel\Fragment\FragmentHandler->render(Symfony\Component\HttpKernel\Controller\ControllerReference|string $uri, string $renderer = 'inline', array $options = []): ?string …
›
› return $this->deliver($this->renderers[$renderer]->render($uri, $request, $options));
› }
}
/var/www/html/vendor/symfony/http-kernel/DependencyInjection/LazyLoadingFragmentHandler.php:47 {
Symfony\Component\HttpKernel\DependencyInjection\LazyLoadingFragmentHandler->render(Symfony\Component\HttpKernel\Controller\ControllerReference|string $uri, string $renderer = 'inline', array $options = []): ?string …
›
› return parent::render($uri, $renderer, $options);
› }
}
/var/www/html/vendor/symfony/twig-bridge/Extension/HttpKernelRuntime.php:44 {
Symfony\Bridge\Twig\Extension\HttpKernelRuntime->renderFragment(Symfony\Component\HttpKernel\Controller\ControllerReference|string $uri, array $options = []): string …
›
› return $this->handler->render($uri, $strategy, $options);
› }
}
/var/www/html/var/cache/dev/twig/dc/dc321c26868f6db209e77b7bc46b617c.php:69 {
__TwigTemplate_8d8976d6cc21454c1ef809d12a03ff36->doDisplay(array $context, array $blocks = []) …
› echo " ";
› echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("block_" . $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["Block"], "file_name", [], "any", false, false, true, 14), 14, $this->source))));
› echo "
}
/var/www/html/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/var/www/html/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));
› }
}
/var/www/html/vendor/twig/twig/src/Template.php:379 {
Twig\Template->render(array $context) …
› try {
› $this->display($context);
› } catch (\Throwable $e) {
}
/var/www/html/vendor/twig/twig/src/TemplateWrapper.php:38 {
Twig\TemplateWrapper->render(array $context = []): string …
› {
› return $this->template->render($context);
› }
}
/var/www/html/vendor/twig/twig/src/Extension/CoreExtension.php:1347 {
twig_include(Environment $env, $context, $template, $variables = [], $withContext = true, $ignoreMissing = false, $sandboxed = false) …
›
› return $loaded ? $loaded->render($variables) : '';
› } finally {
}
/var/www/html/src/Eccube/Twig/Extension/IgnoreTwigSandboxErrorExtension.php:59 {
Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension->twig_include(Environment $env, $context, $template, $variables = [], $withContext = true, $ignoreMissing = false, $sandboxed = false) …
› try {
› return \twig_include($env, $context, $template, $variables, $withContext, $ignoreMissing, $sandboxed);
› } catch (SecurityError $e) {
}
/var/www/html/var/cache/dev/twig/38/3852aaaf2f98190d0e63fb9eb8bfae1e.php:408 {
__TwigTemplate_6305246fb42f4b084285b973161f1b66->doDisplay(array $context, array $blocks = []) …
› echo " ";
› echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "block.twig", ["Blocks" => twig_get_attribute($this->env, $this->source, (isset($context["Layout"]) || array_key_exists("Layout", $context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.', 164, $this->source); })()), "Drawer", [], "any", false, false, true, 164)]);
› echo "
}
/var/www/html/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/var/www/html/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));
› }
}
/var/www/html/var/cache/dev/twig/5a/5a3d0ca98722b5a5c9862df4cd856351.php:67 {
__TwigTemplate_609ff111b8244322f9c86a69c47579b9->doDisplay(array $context, array $blocks = []) …
› $this->parent = $this->loadTemplate("default_frame.twig", "Product/list/variants/gigabit_addition_oversea.twig", 11);
› $this->parent->display($context, array_merge($this->blocks, $blocks));
›
}
/var/www/html/vendor/twig/twig/src/Template.php:394 {
Twig\Template->displayWithErrorHandling(array $context, array $blocks = []) …
› try {
› $this->doDisplay($context, $blocks);
› } catch (Error $e) {
}
/var/www/html/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));
› }
}
/var/www/html/vendor/twig/twig/src/Template.php:379 {
Twig\Template->render(array $context) …
› try {
› $this->display($context);
› } catch (\Throwable $e) {
}
/var/www/html/vendor/twig/twig/src/TemplateWrapper.php:38 {
Twig\TemplateWrapper->render(array $context = []): string …
› {
› return $this->template->render($context);
› }
}
/var/www/html/vendor/twig/twig/src/Environment.php:280 {
Twig\Environment->render($name, array $context = []): string …
› {
› return $this->load($name)->render($context);
› }
}
/var/www/html/vendor/symfony/framework-bundle/Controller/AbstractController.php:448 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRenderView(string $view, ?string $block, array $parameters, string $method): string …
›
› return $this->container->get('twig')->render($view, $parameters);
› }
}
/var/www/html/vendor/symfony/framework-bundle/Controller/AbstractController.php:453 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->doRender(string $view, ?string $block, array $parameters, ?Response $response, string $method): Response …
› {
› $content = $this->doRenderView($view, $block, $parameters, $method);
› $response ??= new Response();
}
/var/www/html/vendor/symfony/framework-bundle/Controller/AbstractController.php:253 {
Symfony\Bundle\FrameworkBundle\Controller\AbstractController->render(string $view, array $parameters = [], ?Response $response = null): Response …
› {
› return $this->doRender($view, null, $parameters, $response, __FUNCTION__);
› }
}
/var/www/html/app/Customize/Controller/ProductController.php:168 {
Customize\Controller\ProductController->index(Request $request, PaginatorInterface $paginator) …
›
› return $this->render($listTemplate, $params);
› }
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:181 {
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Request $request, int $type = self::MAIN_REQUEST): Response …
› // call controller
› $response = $controller(...$arguments);
›
}
/var/www/html/vendor/symfony/http-kernel/HttpKernel.php:76 {
Symfony\Component\HttpKernel\HttpKernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $response = $this->handleRaw($request, $type);
› } catch (\Throwable $e) {
}
/var/www/html/vendor/symfony/http-kernel/Kernel.php:197 {
Symfony\Component\HttpKernel\Kernel->handle(Request $request, int $type = HttpKernelInterface::MAIN_REQUEST, bool $catch = true): Response …
› try {
› return $this->getHttpKernel()->handle($request, $type, $catch);
› } finally {
}
/var/www/html/index.php:88 {
› $kernel = new Kernel($env, $debug);
› $response = $kernel->handle($request);
› $response->send();
}
}
}
|