http://shopping.hamamatsuya.co.jp/shop-english/products/detail/44

Exceptions

Exception

Symfony\Component\HttpKernel\Exception\ NotFoundHttpException

  1.      * @return array
  2.      */
  3.     public function detail(Request $requestProduct $Product)
  4.     {
  5.         if (!$this->checkVisibility($Product)) {
  6.             throw new NotFoundHttpException();
  7.         }
  8.         $builder $this->formFactory->createNamedBuilder(
  9.             '',
  10.             AddCartType::class,
  1.         $this->dispatcher->dispatch(KernelEvents::CONTROLLER_ARGUMENTS$event);
  2.         $controller $event->getController();
  3.         $arguments $event->getArguments();
  4.         // call controller
  5.         $response = \call_user_func_array($controller$arguments);
  6.         // view
  7.         if (!$response instanceof Response) {
  8.             $event = new GetResponseForControllerResultEvent($this$request$type$response);
  9.             $this->dispatcher->dispatch(KernelEvents::VIEW$event);
  1.     public function handle(Request $request$type HttpKernelInterface::MASTER_REQUEST$catch true)
  2.     {
  3.         $request->headers->set('X-Php-Ob-Level'ob_get_level());
  4.         try {
  5.             return $this->handleRaw($request$type);
  6.         } catch (\Exception $e) {
  7.             if ($e instanceof RequestExceptionInterface) {
  8.                 $e = new BadRequestHttpException($e->getMessage(), $e);
  9.             }
  10.             if (false === $catch) {
  1.         $this->boot();
  2.         ++$this->requestStackSize;
  3.         $this->resetServices true;
  4.         try {
  5.             return $this->getHttpKernel()->handle($request$type$catch);
  6.         } finally {
  7.             --$this->requestStackSize;
  8.         }
  9.     }
  1.         return;
  2.     }
  3. }
  4. $kernel = new Kernel($env$debug);
  5. $response $kernel->handle($request);
  6. $response->send();
  7. $kernel->terminate($request$response);

Stack Trace

NotFoundHttpException

Symfony\Component\HttpKernel\Exception\NotFoundHttpException:

  at Eccube/Controller/ProductController.php:276
  at Eccube\Controller\ProductController->detail(object(Request), object(Product))
     (/var/www/vhosts/hamamatsuya.co.jp/shopping.hamamatsuya.co.jp/shop-english/vendor/symfony/http-kernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw(object(Request), 1)
     (/var/www/vhosts/hamamatsuya.co.jp/shopping.hamamatsuya.co.jp/shop-english/vendor/symfony/http-kernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle(object(Request), 1, true)
     (/var/www/vhosts/hamamatsuya.co.jp/shopping.hamamatsuya.co.jp/shop-english/vendor/symfony/http-kernel/Kernel.php:200)
  at Symfony\Component\HttpKernel\Kernel->handle(object(Request))
     (/var/www/vhosts/hamamatsuya.co.jp/shopping.hamamatsuya.co.jp/shop-english/index.php:76)