Symfony Exception

ContextErrorException

HTTP 500 Internal Server Error

Warning: Invalid argument supplied for foreach()

Exception

Symfony\Component\Debug\Exception\ ContextErrorException

  1.     private function getProductUrl(\Kiwi\EshopBundle\Entity\Product $product null$product_id 0$lang) {
  2.         $url $this->controller->get('page_twig_extension')->kpathFunction(3$lang);
  3.         $category null;
  4.         foreach($this->controller->get('eshop_categories_handle')->getProductCategories($product) as $product_category) {
  5.             if($product_category->getCategory()->getParentRow()) {
  6.                 $category $product_category->getCategory();
  7.                 break;
  8.             }
  9.         }
EshopProductsHandle->getProductUrl() in src/Kiwi/EshopBundle/Service/EshopProductsHandle.php (line 1547)
  1.                     'params_full' => $this->eshopParamsHandle->getParamsCollection($lang$producttruefalse),
  2.                     'attachments' => $attachments,
  3.                     'stock' => ($product->getStockShow()) ? $stockObj->getStock($product->getId())['stock'] : false,
  4.                     'siblings' => $siblings,
  5.                     'similars' => $similars,
  6.                     'detail_url' => $this->getProductUrl($product0$lang),
  7.                     //'detail_url' => $this->getHolderUrl($product->getHolder(),$lang).'/'.$product->getCode(),
  8.                     'master_category' => $master_category,
  9.                     'holder' => $product->getHolder(),
  10.                     'is_holder' => $product->getIsHolder()
  11.                 );
EshopProductsHandle->getProductReturnArrayBlock() in src/Kiwi/EshopBundle/Service/EshopGatewayHandle.php (line 680)
  1.         }
  2.         return $this->eshopProducersHandle->getProducers($producer,truetrue);
  3.     }
  4.     private function processHolder(Product $holder$lang 'cz') {
  5.         return $this->eshopProductsHandle->getProductReturnArrayBlock($holder$lang, []);
  6.         return [
  7.             'id' => $holder->getId(),
  8.             'code' => $holder->getCode(),
  9.             'name' => $this->languages->getLangEntry($holder->getName(), $lang),
  10.             'images_id' => [
EshopGatewayHandle->processHolder() in src/Kiwi/EshopBundle/Service/EshopGatewayHandle.php (line 694)
  1.                 'detail' => $this->getHolderUrl($holder$lang)
  2.             ]
  3.         ];
  4.     }
  5.     private function processHolderExtended(Product $holder$lang 'cz'Product $active_product null) {
  6.         $data $this->processHolder($holder$lang);
  7.         $search = clone $this->searchHandle;
  8.             //->setRequest($request)
  9.         $search->setFrom('Kiwi\EshopBundle\Entity\Product','p')
  10.             ->addWhere(sprintf("p.holder_id = '%d'"$holder->getId()))
EshopGatewayHandle->processHolderExtended() in src/Kiwi/EshopBundle/Service/EshopGatewayHandle.php (line 638)
  1.         }
  2.         //return $this->eshopProductsHandle->getProductReturnArrayBlock($holder['data'][0], 'cz', []);
  3.         //return $holder['data'][0];
  4.         $out $this->processHolderExtended($holder['data'][0], 'cz'$product);
  5.         if(count($out['variants']) <= 0) {
  6.             //return false;
  7.         }
EshopGatewayHandle->getProduct() in src/Kiwi/PageBundle/Service/PageModuleTemplate.php (line 90)
  1.                     $serviceObj->setController($this->controller);
  2.                 if($method_params)
  3.                     $config['method_params'] = $method_params;
  4.                 $data $serviceObj->$method($config$this->request);
  5.             }
  6.             //variables dynamic content
  7.             $v_to_replace = array();
  8.             $v_with_replace = array();
PageModuleTemplate->getKiwiFrontendModuleBox() in src/Kiwi/PageBundle/Service/PageFrontendHandle.php (line 129)
  1.                             if($this->config['lang'] == $module->getLanguage()->GetCode())
  2.                                 $append_module true;
  3.                         }
  4.                         if($append_module) {
  5.                             $module_html $this->page_modules_handle->getKiwiModule(md5($module->getNamespace()))->getKiwiFrontendModuleBox($module,$this->config);
  6.                             if($this->getIsKewee()) {
  7.                                 $placeholder_html .= $this->kiweePageFrontendHandle->getModuleHtml(
  8.                                     $module->getNamespace(),
  9.                                     $module,
PageFrontendHandle->getPageData() in src/Kiwi/PageBundle/Service/PageFrontendHandle.php (line 171)
  1.             $this->page_modules_handle->setResponse($response);
  2.             $twig = clone $this->controller->get('twig');
  3.             $page_html $twig->render($this->controller->get('BL')->cacheStringTemplate(
  4.                 '{% autoescape false %}'.$this->page->getLayout()->getTpl().'{% endautoescape %}'),
  5.                 $this->getPageData()
  6.             );
  7.             $response->setContent($page_html);
  8.             $response->setStatusCode(Response::HTTP_OK);
  9.             $response->headers->set('Content-Type''text/html');
PageFrontendHandle->getPageHtml() in src/Kiwi/FrontPageBundle/Controller/DefaultController.php (line 53)
  1.         if($redir_url) {
  2.             $suffix $pageObj->getRedirectSuffix();
  3.             return $this->redirect($redir_url.$suffix);
  4.         } else {
  5.             return $pageObj->getPageHtml();
  6.         }
  7.     }
  8.     private function prerouter(Request $request) {
  9.         //$path = $request->getPathInfo();
DefaultController->pageAction() in vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php (line 151)
  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.     {
  2.         if (false === $this->booted) {
  3.             $this->boot();
  4.         }
  5.         return $this->getHttpKernel()->handle($request$type$catch);
  6.     }
  7.     /**
  8.      * Gets a HTTP kernel from the container.
  9.      *
Kernel->handle() in web/app_dev.php (line 30)
  1. $kernel = new AppKernel('dev'true);
  2. if (PHP_VERSION_ID 70000) {
  3.     $kernel->loadClassCache();
  4. }
  5. $request Request::createFromGlobals();
  6. $response $kernel->handle($request);
  7. $response->send();
  8. $kernel->terminate($request$response);

Logs 1

Level Channel Message
INFO 16:04:46 request Matched route "kiwi_front_page_homepage_page_cz".
INFO 16:04:46 security Populated the TokenStorage with an anonymous Token.
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\EventListener\FirewallListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".
INFO 16:04:46 php User Deprecated: Creating Doctrine\ORM\Mapping\UnderscoreNamingStrategy without making it number aware is deprecated and will be removed in Doctrine ORM 3.0.
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.name AS name_1, k0_.page_name AS page_name_2, k0_.parent_row_id AS parent_row_id_3, k0_.prevent_changes AS prevent_changes_4, k0_.sort_num AS sort_num_5, k0_.layout_id AS layout_id_6, k0_.in_menu_display AS in_menu_display_7, k0_.image_id AS image_id_8, k0_.gallery_id AS gallery_id_9, k0_.redirect_id AS redirect_id_10, k0_.redirect_suffix AS redirect_suffix_11, k0_.is_templates_root AS is_templates_root_12, k0_.system_folder AS system_folder_13, k0_.opt_one AS opt_one_14, k0_.opt_two AS opt_two_15, k0_.opt_three AS opt_three_16, k0_.web_id AS web_id_17, k0_.parent_row_id AS parent_row_id_18, k0_.layout_id AS layout_id_19, k0_.image_id AS image_id_20, k0_.gallery_id AS gallery_id_21, k0_.redirect_id AS redirect_id_22, k0_.web_id AS web_id_23 FROM kw_tree_page k0_ WHERE k0_.page_name LIKE '%<![CDATA[422]]>%' AND k0_.web_id = 1
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.name AS name_1, k0_.page_name AS page_name_2, k0_.parent_row_id AS parent_row_id_3, k0_.prevent_changes AS prevent_changes_4, k0_.sort_num AS sort_num_5, k0_.layout_id AS layout_id_6, k0_.in_menu_display AS in_menu_display_7, k0_.image_id AS image_id_8, k0_.gallery_id AS gallery_id_9, k0_.redirect_id AS redirect_id_10, k0_.redirect_suffix AS redirect_suffix_11, k0_.is_templates_root AS is_templates_root_12, k0_.system_folder AS system_folder_13, k0_.opt_one AS opt_one_14, k0_.opt_two AS opt_two_15, k0_.opt_three AS opt_three_16, k0_.web_id AS web_id_17, k0_.parent_row_id AS parent_row_id_18, k0_.layout_id AS layout_id_19, k0_.image_id AS image_id_20, k0_.gallery_id AS gallery_id_21, k0_.redirect_id AS redirect_id_22, k0_.web_id AS web_id_23 FROM kw_tree_page k0_ WHERE k0_.page_name LIKE '%<![CDATA[zellige-hexa]]>%' AND k0_.web_id = 1
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.name AS name_1, k0_.page_name AS page_name_2, k0_.parent_row_id AS parent_row_id_3, k0_.prevent_changes AS prevent_changes_4, k0_.sort_num AS sort_num_5, k0_.layout_id AS layout_id_6, k0_.in_menu_display AS in_menu_display_7, k0_.image_id AS image_id_8, k0_.gallery_id AS gallery_id_9, k0_.redirect_id AS redirect_id_10, k0_.redirect_suffix AS redirect_suffix_11, k0_.is_templates_root AS is_templates_root_12, k0_.system_folder AS system_folder_13, k0_.opt_one AS opt_one_14, k0_.opt_two AS opt_two_15, k0_.opt_three AS opt_three_16, k0_.web_id AS web_id_17, k0_.parent_row_id AS parent_row_id_18, k0_.layout_id AS layout_id_19, k0_.image_id AS image_id_20, k0_.gallery_id AS gallery_id_21, k0_.redirect_id AS redirect_id_22, k0_.web_id AS web_id_23 FROM kw_tree_page k0_ WHERE k0_.page_name LIKE '%<![CDATA[interierove-obklady-a-dlazby]]>%' AND k0_.web_id = 1
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.name AS name_1, k0_.page_name AS page_name_2, k0_.parent_row_id AS parent_row_id_3, k0_.prevent_changes AS prevent_changes_4, k0_.sort_num AS sort_num_5, k0_.layout_id AS layout_id_6, k0_.in_menu_display AS in_menu_display_7, k0_.image_id AS image_id_8, k0_.gallery_id AS gallery_id_9, k0_.redirect_id AS redirect_id_10, k0_.redirect_suffix AS redirect_suffix_11, k0_.is_templates_root AS is_templates_root_12, k0_.system_folder AS system_folder_13, k0_.opt_one AS opt_one_14, k0_.opt_two AS opt_two_15, k0_.opt_three AS opt_three_16, k0_.web_id AS web_id_17, k0_.parent_row_id AS parent_row_id_18, k0_.layout_id AS layout_id_19, k0_.image_id AS image_id_20, k0_.gallery_id AS gallery_id_21, k0_.redirect_id AS redirect_id_22, k0_.web_id AS web_id_23 FROM kw_tree_page k0_ WHERE k0_.page_name LIKE '%<![CDATA[obklady-a-dlazby]]>%' AND k0_.web_id = 1
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.name AS name_1, k0_.page_name AS page_name_2, k0_.parent_row_id AS parent_row_id_3, k0_.prevent_changes AS prevent_changes_4, k0_.sort_num AS sort_num_5, k0_.layout_id AS layout_id_6, k0_.in_menu_display AS in_menu_display_7, k0_.image_id AS image_id_8, k0_.gallery_id AS gallery_id_9, k0_.redirect_id AS redirect_id_10, k0_.redirect_suffix AS redirect_suffix_11, k0_.is_templates_root AS is_templates_root_12, k0_.system_folder AS system_folder_13, k0_.opt_one AS opt_one_14, k0_.opt_two AS opt_two_15, k0_.opt_three AS opt_three_16, k0_.web_id AS web_id_17, k0_.parent_row_id AS parent_row_id_18, k0_.layout_id AS layout_id_19, k0_.image_id AS image_id_20, k0_.gallery_id AS gallery_id_21, k0_.redirect_id AS redirect_id_22, k0_.web_id AS web_id_23 FROM kw_tree_page k0_ WHERE k0_.page_name LIKE '%<![CDATA[detail]]>%' AND k0_.web_id = 1
INFO 16:04:46 php User Deprecated: The "Symfony\Bridge\Twig\Extension\FormExtension" class implements "Twig\Extension\InitRuntimeInterface" that is deprecated since Twig 2.7, to be removed in 3.0
INFO 16:04:46 php User Deprecated: Using the "Twig_Extension_GlobalsInterface" class is deprecated since Twig version 2.7, use "Twig\Extension\GlobalsInterface" instead.
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.group_id AS group_id_3, t0.tpl AS tpl_4, t0.kiwi_tpl AS kiwi_tpl_5, t0.group_id AS group_id_6 FROM kw_templates_templates_groups_templates t0 WHERE t0.id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine "START TRANSACTION"
DEBUG 16:04:46 doctrine INSERT INTO kw_eshop_logger (log_key, message, created_time, is_error, is_sent) VALUES (?, ?, ?, ?, ?)
DEBUG 16:04:46 doctrine "COMMIT"
DEBUG 16:04:46 doctrine "START TRANSACTION"
DEBUG 16:04:46 doctrine INSERT INTO kw_eshop_logger (log_key, message, created_time, is_error, is_sent) VALUES (?, ?, ?, ?, ?)
DEBUG 16:04:46 doctrine "COMMIT"
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.template_id AS template_id_3, t0.template_id AS template_id_4 FROM kw_templates_templates_groups_templates_placeholders t0 WHERE t0.template_id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.namespace AS namespace_2, t0.page_id AS page_id_3, t0.placeholder_id AS placeholder_id_4, t0.template_id AS template_id_5, t0.template_dso_service AS template_dso_service_6, t0.template_dso_method AS template_dso_method_7, t0.article_id AS article_id_8, t0.gallery_id AS gallery_id_9, t0.database_namespace AS database_namespace_10, t0.database_query AS database_query_11, t0.map_id AS map_id_12, t0.mirror_id AS mirror_id_13, t0.language_id AS language_id_14, t0.prevent_changes AS prevent_changes_15, t0.calendar_id AS calendar_id_16, t0.is_active AS is_active_17, t0.sort_num AS sort_num_18, t0.page_id AS page_id_19, t0.placeholder_id AS placeholder_id_20, t0.template AS template_21, t0.article_id AS article_id_22, t0.gallery_id AS gallery_id_23, t0.map_id AS map_id_24, t0.mirror_id AS mirror_id_25, t0.language_id AS language_id_26, t0.calendar_id AS calendar_id_27 FROM kw_tree_page_modules t0 WHERE t0.page_id = ? AND t0.placeholder_id = ? AND t0.is_active = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.namespace AS namespace_2, t0.page_id AS page_id_3, t0.placeholder_id AS placeholder_id_4, t0.template_id AS template_id_5, t0.template_dso_service AS template_dso_service_6, t0.template_dso_method AS template_dso_method_7, t0.article_id AS article_id_8, t0.gallery_id AS gallery_id_9, t0.database_namespace AS database_namespace_10, t0.database_query AS database_query_11, t0.map_id AS map_id_12, t0.mirror_id AS mirror_id_13, t0.language_id AS language_id_14, t0.prevent_changes AS prevent_changes_15, t0.calendar_id AS calendar_id_16, t0.is_active AS is_active_17, t0.sort_num AS sort_num_18, t0.page_id AS page_id_19, t0.placeholder_id AS placeholder_id_20, t0.template AS template_21, t0.article_id AS article_id_22, t0.gallery_id AS gallery_id_23, t0.map_id AS map_id_24, t0.mirror_id AS mirror_id_25, t0.language_id AS language_id_26, t0.calendar_id AS calendar_id_27 FROM kw_tree_page_modules t0 WHERE t0.id = ?
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.page_name AS page_name_3, t0.parent_row_id AS parent_row_id_4, t0.prevent_changes AS prevent_changes_5, t0.sort_num AS sort_num_6, t0.layout_id AS layout_id_7, t0.in_menu_display AS in_menu_display_8, t0.image_id AS image_id_9, t0.gallery_id AS gallery_id_10, t0.redirect_id AS redirect_id_11, t0.redirect_suffix AS redirect_suffix_12, t0.is_templates_root AS is_templates_root_13, t0.system_folder AS system_folder_14, t0.opt_one AS opt_one_15, t0.opt_two AS opt_two_16, t0.opt_three AS opt_three_17, t0.web_id AS web_id_18, t0.parent_row_id AS parent_row_id_19, t0.layout_id AS layout_id_20, t0.image_id AS image_id_21, t0.gallery_id AS gallery_id_22, t0.redirect_id AS redirect_id_23, t0.web_id AS web_id_24 FROM kw_tree_page t0 WHERE t0.parent_row_id IS NULL AND t0.web_id = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.page_name AS page_name_3, t0.parent_row_id AS parent_row_id_4, t0.prevent_changes AS prevent_changes_5, t0.sort_num AS sort_num_6, t0.layout_id AS layout_id_7, t0.in_menu_display AS in_menu_display_8, t0.image_id AS image_id_9, t0.gallery_id AS gallery_id_10, t0.redirect_id AS redirect_id_11, t0.redirect_suffix AS redirect_suffix_12, t0.is_templates_root AS is_templates_root_13, t0.system_folder AS system_folder_14, t0.opt_one AS opt_one_15, t0.opt_two AS opt_two_16, t0.opt_three AS opt_three_17, t0.web_id AS web_id_18, t0.parent_row_id AS parent_row_id_19, t0.layout_id AS layout_id_20, t0.image_id AS image_id_21, t0.gallery_id AS gallery_id_22, t0.redirect_id AS redirect_id_23, t0.web_id AS web_id_24 FROM kw_tree_page t0 WHERE t0.parent_row_id = ? AND t0.web_id = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.page_name AS page_name_3, t0.parent_row_id AS parent_row_id_4, t0.prevent_changes AS prevent_changes_5, t0.sort_num AS sort_num_6, t0.layout_id AS layout_id_7, t0.in_menu_display AS in_menu_display_8, t0.image_id AS image_id_9, t0.gallery_id AS gallery_id_10, t0.redirect_id AS redirect_id_11, t0.redirect_suffix AS redirect_suffix_12, t0.is_templates_root AS is_templates_root_13, t0.system_folder AS system_folder_14, t0.opt_one AS opt_one_15, t0.opt_two AS opt_two_16, t0.opt_three AS opt_three_17, t0.web_id AS web_id_18, t0.parent_row_id AS parent_row_id_19, t0.layout_id AS layout_id_20, t0.image_id AS image_id_21, t0.gallery_id AS gallery_id_22, t0.redirect_id AS redirect_id_23, t0.web_id AS web_id_24 FROM kw_tree_page t0 WHERE t0.parent_row_id = ? AND t0.web_id = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.page_name AS page_name_3, t0.parent_row_id AS parent_row_id_4, t0.prevent_changes AS prevent_changes_5, t0.sort_num AS sort_num_6, t0.layout_id AS layout_id_7, t0.in_menu_display AS in_menu_display_8, t0.image_id AS image_id_9, t0.gallery_id AS gallery_id_10, t0.redirect_id AS redirect_id_11, t0.redirect_suffix AS redirect_suffix_12, t0.is_templates_root AS is_templates_root_13, t0.system_folder AS system_folder_14, t0.opt_one AS opt_one_15, t0.opt_two AS opt_two_16, t0.opt_three AS opt_three_17, t0.web_id AS web_id_18, t0.parent_row_id AS parent_row_id_19, t0.layout_id AS layout_id_20, t0.image_id AS image_id_21, t0.gallery_id AS gallery_id_22, t0.redirect_id AS redirect_id_23, t0.web_id AS web_id_24 FROM kw_tree_page t0 WHERE t0.parent_row_id = ? AND t0.web_id = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.page_name AS page_name_3, t0.parent_row_id AS parent_row_id_4, t0.prevent_changes AS prevent_changes_5, t0.sort_num AS sort_num_6, t0.layout_id AS layout_id_7, t0.in_menu_display AS in_menu_display_8, t0.image_id AS image_id_9, t0.gallery_id AS gallery_id_10, t0.redirect_id AS redirect_id_11, t0.redirect_suffix AS redirect_suffix_12, t0.is_templates_root AS is_templates_root_13, t0.system_folder AS system_folder_14, t0.opt_one AS opt_one_15, t0.opt_two AS opt_two_16, t0.opt_three AS opt_three_17, t0.web_id AS web_id_18, t0.parent_row_id AS parent_row_id_19, t0.layout_id AS layout_id_20, t0.image_id AS image_id_21, t0.gallery_id AS gallery_id_22, t0.redirect_id AS redirect_id_23, t0.web_id AS web_id_24 FROM kw_tree_page t0 WHERE t0.parent_row_id = ? AND t0.web_id = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.page_name AS page_name_3, t0.parent_row_id AS parent_row_id_4, t0.prevent_changes AS prevent_changes_5, t0.sort_num AS sort_num_6, t0.layout_id AS layout_id_7, t0.in_menu_display AS in_menu_display_8, t0.image_id AS image_id_9, t0.gallery_id AS gallery_id_10, t0.redirect_id AS redirect_id_11, t0.redirect_suffix AS redirect_suffix_12, t0.is_templates_root AS is_templates_root_13, t0.system_folder AS system_folder_14, t0.opt_one AS opt_one_15, t0.opt_two AS opt_two_16, t0.opt_three AS opt_three_17, t0.web_id AS web_id_18, t0.parent_row_id AS parent_row_id_19, t0.layout_id AS layout_id_20, t0.image_id AS image_id_21, t0.gallery_id AS gallery_id_22, t0.redirect_id AS redirect_id_23, t0.web_id AS web_id_24 FROM kw_tree_page t0 WHERE t0.parent_row_id = ? AND t0.web_id = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.page_name AS page_name_3, t0.parent_row_id AS parent_row_id_4, t0.prevent_changes AS prevent_changes_5, t0.sort_num AS sort_num_6, t0.layout_id AS layout_id_7, t0.in_menu_display AS in_menu_display_8, t0.image_id AS image_id_9, t0.gallery_id AS gallery_id_10, t0.redirect_id AS redirect_id_11, t0.redirect_suffix AS redirect_suffix_12, t0.is_templates_root AS is_templates_root_13, t0.system_folder AS system_folder_14, t0.opt_one AS opt_one_15, t0.opt_two AS opt_two_16, t0.opt_three AS opt_three_17, t0.web_id AS web_id_18, t0.parent_row_id AS parent_row_id_19, t0.layout_id AS layout_id_20, t0.image_id AS image_id_21, t0.gallery_id AS gallery_id_22, t0.redirect_id AS redirect_id_23, t0.web_id AS web_id_24 FROM kw_tree_page t0 WHERE t0.parent_row_id = ? AND t0.web_id = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.page_name AS page_name_3, t0.parent_row_id AS parent_row_id_4, t0.prevent_changes AS prevent_changes_5, t0.sort_num AS sort_num_6, t0.layout_id AS layout_id_7, t0.in_menu_display AS in_menu_display_8, t0.image_id AS image_id_9, t0.gallery_id AS gallery_id_10, t0.redirect_id AS redirect_id_11, t0.redirect_suffix AS redirect_suffix_12, t0.is_templates_root AS is_templates_root_13, t0.system_folder AS system_folder_14, t0.opt_one AS opt_one_15, t0.opt_two AS opt_two_16, t0.opt_three AS opt_three_17, t0.web_id AS web_id_18, t0.parent_row_id AS parent_row_id_19, t0.layout_id AS layout_id_20, t0.image_id AS image_id_21, t0.gallery_id AS gallery_id_22, t0.redirect_id AS redirect_id_23, t0.web_id AS web_id_24 FROM kw_tree_page t0 WHERE t0.parent_row_id = ? AND t0.web_id = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.page_name AS page_name_3, t0.parent_row_id AS parent_row_id_4, t0.prevent_changes AS prevent_changes_5, t0.sort_num AS sort_num_6, t0.layout_id AS layout_id_7, t0.in_menu_display AS in_menu_display_8, t0.image_id AS image_id_9, t0.gallery_id AS gallery_id_10, t0.redirect_id AS redirect_id_11, t0.redirect_suffix AS redirect_suffix_12, t0.is_templates_root AS is_templates_root_13, t0.system_folder AS system_folder_14, t0.opt_one AS opt_one_15, t0.opt_two AS opt_two_16, t0.opt_three AS opt_three_17, t0.web_id AS web_id_18, t0.parent_row_id AS parent_row_id_19, t0.layout_id AS layout_id_20, t0.image_id AS image_id_21, t0.gallery_id AS gallery_id_22, t0.redirect_id AS redirect_id_23, t0.web_id AS web_id_24 FROM kw_tree_page t0 WHERE t0.parent_row_id = ? AND t0.web_id = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.project_name AS project_name_1, k0_.domains AS domains_2, k0_.user_id AS user_id_3, k0_.eshop_id AS eshop_id_4, k0_.user_id AS user_id_5, k0_.eshop_id AS eshop_id_6 FROM kw_web k0_ WHERE k0_.domains LIKE ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.page_name AS page_name_3, t0.parent_row_id AS parent_row_id_4, t0.prevent_changes AS prevent_changes_5, t0.sort_num AS sort_num_6, t0.layout_id AS layout_id_7, t0.in_menu_display AS in_menu_display_8, t0.image_id AS image_id_9, t0.gallery_id AS gallery_id_10, t0.redirect_id AS redirect_id_11, t0.redirect_suffix AS redirect_suffix_12, t0.is_templates_root AS is_templates_root_13, t0.system_folder AS system_folder_14, t0.opt_one AS opt_one_15, t0.opt_two AS opt_two_16, t0.opt_three AS opt_three_17, t0.web_id AS web_id_18, t0.parent_row_id AS parent_row_id_19, t0.layout_id AS layout_id_20, t0.image_id AS image_id_21, t0.gallery_id AS gallery_id_22, t0.redirect_id AS redirect_id_23, t0.web_id AS web_id_24 FROM kw_tree_page t0 WHERE t0.parent_row_id = ? AND t0.web_id = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.group_id AS group_id_3, t0.tpl AS tpl_4, t0.kiwi_tpl AS kiwi_tpl_5, t0.group_id AS group_id_6 FROM kw_templates_modules_groups_templates t0 WHERE t0.id = ?
INFO 16:04:46 php User Deprecated: Absolute template path support is deprecated since Symfony 3.1 and will be removed in 4.0.
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.web_id AS web_id_4, t0.web_id AS web_id_5 FROM kw_languages t0 WHERE t0.code = ? AND t0.web_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.phrase AS phrase_3, t0.language_id AS language_id_4, t0.language_id AS language_id_5 FROM kw_phrases t0 WHERE t0.name = ? AND t0.language_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.name AS name_1, k0_.name_alt_1 AS name_alt_1_2, k0_.name_alt_2 AS name_alt_2_3, k0_.name_letter AS name_letter_4, k0_.code AS code_5, k0_.created_time AS created_time_6, k0_.updated_time AS updated_time_7, k0_.description_fast AS description_fast_8, k0_.description AS description_9, k0_.action_text AS action_text_10, k0_.quantity AS quantity_11, k0_.quantity_in_package AS quantity_in_package_12, k0_.weight_g AS weight_g_13, k0_.price_purchase AS price_purchase_14, k0_.price_sale AS price_sale_15, k0_.price_action AS price_action_16, k0_.price_without_vat AS price_without_vat_17, k0_.price_package_with_vat AS price_package_with_vat_18, k0_.stock_show AS stock_show_19, k0_.stock_alt AS stock_alt_20, k0_.vat_id AS vat_id_21, k0_.is_action AS is_action_22, k0_.is_new AS is_new_23, k0_.is_tip AS is_tip_24, k0_.currency_id AS currency_id_25, k0_.unit_id AS unit_id_26, k0_.gallery_id AS gallery_id_27, k0_.producer_id AS producer_id_28, k0_.eshop_id AS eshop_id_29, k0_.holder_id AS holder_id_30, k0_.is_deleted AS is_deleted_31, k0_.is_hidden AS is_hidden_32, k0_.is_holder AS is_holder_33, k0_.sort_num AS sort_num_34, k0_.vat_id AS vat_id_35, k0_.currency_id AS currency_id_36, k0_.unit_id AS unit_id_37, k0_.gallery_id AS gallery_id_38, k0_.producer_id AS producer_id_39, k0_.eshop_id AS eshop_id_40, k0_.holder_id AS holder_id_41 FROM kw_eshop_product k0_ WHERE k0_.id = 422 AND k0_.is_holder = 1 GROUP BY k0_.id LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.name_alt AS name_alt_3, t0.folder_id AS folder_id_4, t0.prevent_changes AS prevent_changes_5, t0.width AS width_6, t0.height AS height_7, t0.extension AS extension_8, t0.alt_name AS alt_name_9, t0.alt_desc_1 AS alt_desc_1_10, t0.alt_desc_2 AS alt_desc_2_11, t0.parent_id AS parent_id_12, t0.type AS type_13, t0.sort_num AS sort_num_14, t0.folder_id AS folder_id_15, t0.parent_id AS parent_id_16 FROM kw_tree_image_gallery_images t0 WHERE t0.folder_id = ? AND t0.type = ? ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.name_alt AS name_alt_3, t0.folder_id AS folder_id_4, t0.prevent_changes AS prevent_changes_5, t0.width AS width_6, t0.height AS height_7, t0.extension AS extension_8, t0.alt_name AS alt_name_9, t0.alt_desc_1 AS alt_desc_1_10, t0.alt_desc_2 AS alt_desc_2_11, t0.parent_id AS parent_id_12, t0.type AS type_13, t0.sort_num AS sort_num_14, t0.folder_id AS folder_id_15, t0.parent_id AS parent_id_16 FROM kw_tree_image_gallery_images t0 WHERE t0.parent_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.name_alt AS name_alt_3, t0.folder_id AS folder_id_4, t0.prevent_changes AS prevent_changes_5, t0.width AS width_6, t0.height AS height_7, t0.extension AS extension_8, t0.alt_name AS alt_name_9, t0.alt_desc_1 AS alt_desc_1_10, t0.alt_desc_2 AS alt_desc_2_11, t0.parent_id AS parent_id_12, t0.type AS type_13, t0.sort_num AS sort_num_14, t0.folder_id AS folder_id_15, t0.parent_id AS parent_id_16 FROM kw_tree_image_gallery_images t0 WHERE t0.parent_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.name_alt AS name_alt_3, t0.folder_id AS folder_id_4, t0.prevent_changes AS prevent_changes_5, t0.width AS width_6, t0.height AS height_7, t0.extension AS extension_8, t0.alt_name AS alt_name_9, t0.alt_desc_1 AS alt_desc_1_10, t0.alt_desc_2 AS alt_desc_2_11, t0.parent_id AS parent_id_12, t0.type AS type_13, t0.sort_num AS sort_num_14, t0.folder_id AS folder_id_15, t0.parent_id AS parent_id_16 FROM kw_tree_image_gallery_images t0 WHERE t0.parent_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.name_alt AS name_alt_3, t0.folder_id AS folder_id_4, t0.prevent_changes AS prevent_changes_5, t0.width AS width_6, t0.height AS height_7, t0.extension AS extension_8, t0.alt_name AS alt_name_9, t0.alt_desc_1 AS alt_desc_1_10, t0.alt_desc_2 AS alt_desc_2_11, t0.parent_id AS parent_id_12, t0.type AS type_13, t0.sort_num AS sort_num_14, t0.folder_id AS folder_id_15, t0.parent_id AS parent_id_16 FROM kw_tree_image_gallery_images t0 WHERE t0.parent_id = ? LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.version_num AS version_num_2, t0.last_update AS last_update_3 FROM kw_images_cache_version t0 WHERE t0.id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.product_id AS product_id_2, t0.attachment_id AS attachment_id_3, t0.file_id AS file_id_4, t0.product_id AS product_id_5, t0.attachment_id AS attachment_id_6, t0.file_id AS file_id_7 FROM kw_eshop_co_product_attachment t0 WHERE t0.product_id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.eshop_id AS eshop_id_4, t0.sort_num AS sort_num_5, t0.eshop_id AS eshop_id_6 FROM kw_eshop_attachment t0 WHERE t0.id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.hash_name AS hash_name_3, t0.folder_id AS folder_id_4, t0.prevent_changes AS prevent_changes_5, t0.extension AS extension_6, t0.size AS size_7, t0.sort_num AS sort_num_8, t0.folder_id AS folder_id_9 FROM kw_tree_souborovnik_soubory t0 WHERE t0.id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.eshop_id AS eshop_id_4, t0.sort_num AS sort_num_5, t0.eshop_id AS eshop_id_6 FROM kw_eshop_unit t0 WHERE t0.id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.image_id AS image_id_4, t0.image_2_id AS image_2_id_5, t0.eshop_id AS eshop_id_6, t0.article_id AS article_id_7, t0.sort_num AS sort_num_8, t0.image_id AS image_id_9, t0.image_2_id AS image_2_id_10, t0.eshop_id AS eshop_id_11, t0.article_id AS article_id_12 FROM kw_eshop_producers t0 WHERE t0.id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.name_alt AS name_alt_3, t0.folder_id AS folder_id_4, t0.prevent_changes AS prevent_changes_5, t0.width AS width_6, t0.height AS height_7, t0.extension AS extension_8, t0.alt_name AS alt_name_9, t0.alt_desc_1 AS alt_desc_1_10, t0.alt_desc_2 AS alt_desc_2_11, t0.parent_id AS parent_id_12, t0.type AS type_13, t0.sort_num AS sort_num_14, t0.folder_id AS folder_id_15, t0.parent_id AS parent_id_16 FROM kw_tree_image_gallery_images t0 WHERE t0.id = ?
DEBUG 16:04:46 doctrine SELECT k0_.id AS id_0, k0_.product_id AS product_id_1, k0_.category_id AS category_id_2, k0_.product_id AS product_id_3, k0_.category_id AS category_id_4 FROM kw_eshop_co_product_category k0_ INNER JOIN kw_eshop_kategorie k1_ ON k0_.category_id = k1_.id WHERE k0_.product_id = 422 AND k1_.parent_row_id IS NULL LIMIT 1
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.vat_value AS vat_value_3, t0.eshop_id AS eshop_id_4, t0.sort_num AS sort_num_5, t0.eshop_id AS eshop_id_6 FROM kw_eshop_vat t0 WHERE t0.id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.code_suffix AS code_suffix_4, t0.type AS type_5, t0.is_visible AS is_visible_6, t0.eshop_id AS eshop_id_7, t0.article_id AS article_id_8, t0.sort_num AS sort_num_9, t0.eshop_id AS eshop_id_10, t0.article_id AS article_id_11 FROM kw_eshop_custom_params t0 WHERE t0.eshop_id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.product_id AS product_id_2, t0.param_id AS param_id_3, t0.param_value AS param_value_4, t0.product_id AS product_id_5, t0.param_id AS param_id_6 FROM kw_eshop_co_product_params t0 WHERE t0.product_id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.custom_param_id AS custom_param_id_4, t0.article_id AS article_id_5, t0.sort_num AS sort_num_6, t0.custom_param_id AS custom_param_id_7, t0.article_id AS article_id_8 FROM kw_eshop_custom_params_list t0 ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.code_suffix AS code_suffix_4, t0.type AS type_5, t0.is_visible AS is_visible_6, t0.eshop_id AS eshop_id_7, t0.article_id AS article_id_8, t0.sort_num AS sort_num_9, t0.eshop_id AS eshop_id_10, t0.article_id AS article_id_11 FROM kw_eshop_custom_params t0 WHERE t0.eshop_id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.product_id AS product_id_2, t0.param_id AS param_id_3, t0.param_value AS param_value_4, t0.product_id AS product_id_5, t0.param_id AS param_id_6 FROM kw_eshop_co_product_params t0 WHERE t0.product_id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.custom_param_id AS custom_param_id_4, t0.article_id AS article_id_5, t0.sort_num AS sort_num_6, t0.custom_param_id AS custom_param_id_7, t0.article_id AS article_id_8 FROM kw_eshop_custom_params_list t0 ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.code_suffix AS code_suffix_4, t0.type AS type_5, t0.is_visible AS is_visible_6, t0.eshop_id AS eshop_id_7, t0.article_id AS article_id_8, t0.sort_num AS sort_num_9, t0.eshop_id AS eshop_id_10, t0.article_id AS article_id_11 FROM kw_eshop_custom_params t0 WHERE t0.eshop_id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.product_id AS product_id_2, t0.param_id AS param_id_3, t0.param_value AS param_value_4, t0.product_id AS product_id_5, t0.param_id AS param_id_6 FROM kw_eshop_co_product_params t0 WHERE t0.product_id = ?
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.name AS name_2, t0.code AS code_3, t0.custom_param_id AS custom_param_id_4, t0.article_id AS article_id_5, t0.sort_num AS sort_num_6, t0.custom_param_id AS custom_param_id_7, t0.article_id AS article_id_8 FROM kw_eshop_custom_params_list t0 ORDER BY t0.sort_num ASC
DEBUG 16:04:46 doctrine SELECT t0.id AS id_1, t0.product_id AS product_id_2, t0.category_id AS category_id_3, t0.product_id AS product_id_4, t0.category_id AS category_id_5 FROM kw_eshop_co_product_category t0 WHERE t0.product_id = ?
CRITICAL 16:04:46 request Uncaught PHP Exception Symfony\Component\Debug\Exception\ContextErrorException: "Warning: Invalid argument supplied for foreach()" at /data/farline/src/Kiwi/EshopBundle/Service/EshopProductsHandle.php line 1916
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\DebugHandlersListener::configure".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\ValidateRequestListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\SessionListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\FragmentListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\RouterListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Bundle\FrameworkBundle\EventListener\ResolveControllerNameSubscriber::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Component\HttpKernel\EventListener\LocaleListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Bundle\SecurityBundle\EventListener\FirewallListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.request" to listener "Symfony\Bundle\AsseticBundle\EventListener\RequestListener::onKernelRequest".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RouterDataCollector::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Symfony\Bundle\FrameworkBundle\DataCollector\RequestDataCollector::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ControllerListener::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\ParamConverterListener::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\HttpCacheListener::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\SecurityListener::onKernelController".
DEBUG 16:04:46 event Notified event "kernel.controller" to listener "Sensio\Bundle\FrameworkExtraBundle\EventListener\TemplateListener::onKernelController".

Stack Trace

ContextErrorException

Symfony\Component\Debug\Exception\ContextErrorException:
Warning: Invalid argument supplied for foreach()

  at src/Kiwi/EshopBundle/Service/EshopProductsHandle.php:1916
  at Kiwi\EshopBundle\Service\EshopProductsHandle->getProductUrl()
     (src/Kiwi/EshopBundle/Service/EshopProductsHandle.php:1547)
  at Kiwi\EshopBundle\Service\EshopProductsHandle->getProductReturnArrayBlock()
     (src/Kiwi/EshopBundle/Service/EshopGatewayHandle.php:680)
  at Kiwi\EshopBundle\Service\EshopGatewayHandle->processHolder()
     (src/Kiwi/EshopBundle/Service/EshopGatewayHandle.php:694)
  at Kiwi\EshopBundle\Service\EshopGatewayHandle->processHolderExtended()
     (src/Kiwi/EshopBundle/Service/EshopGatewayHandle.php:638)
  at Kiwi\EshopBundle\Service\EshopGatewayHandle->getProduct()
     (src/Kiwi/PageBundle/Service/PageModuleTemplate.php:90)
  at Kiwi\PageBundle\Service\PageModuleTemplate->getKiwiFrontendModuleBox()
     (src/Kiwi/PageBundle/Service/PageFrontendHandle.php:129)
  at Kiwi\PageBundle\Service\PageFrontendHandle->getPageData()
     (src/Kiwi/PageBundle/Service/PageFrontendHandle.php:171)
  at Kiwi\PageBundle\Service\PageFrontendHandle->getPageHtml()
     (src/Kiwi/FrontPageBundle/Controller/DefaultController.php:53)
  at Kiwi\FrontPageBundle\Controller\DefaultController->pageAction()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:151)
  at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/HttpKernel.php:68)
  at Symfony\Component\HttpKernel\HttpKernel->handle()
     (vendor/symfony/symfony/src/Symfony/Component/HttpKernel/Kernel.php:169)
  at Symfony\Component\HttpKernel\Kernel->handle()
     (web/app_dev.php:30)