Notice: Undefined index: HTTP_ACCEPT_LANGUAGE in /strony_www/orlandi-2019/WebRoot/index.php on line 149
Framework error.

Entity with this ID does not exists.

Engine\Exceptions\E404Exception

File: /strony_www/orlandi-2019/Modules/App/Controllers/Products.php
Line: 290
Request: /pl/produkty/show/155
URL: https://agro.orlandi.pl:443/pl/produkty/show/155
IP: 52.23.192.92
Controller: Products
View: show
#1 /strony_www/orlandi-2019/Modules/App/Controllers/Products.php:290
285: $breadcrumb = $this->getBreadcrumbService(); 286: 287: $product = $em->find('App:Product', $id); 288: 289: if (!$product) { 290: throw new \Engine\Exceptions\E404Exception('Entity with this ID does not exists.'); 291: } 292: 293: if ($request->exists('POST', 'qty')) { 294: $client->setProductQtyInBasket($id, $this->getRequestService()->get('POST', 'qty'), true); 295: }
#2 :0
Called: public App\Controllers\Products->view_page_show('155')
#3 /strony_www/orlandi-2019/Engine/Controller.php:182
Called: call_user_func_array(array ( [0] => App\Controllers\Products(...) [1] => 'view_page_show' ), array ( [0] => '155' ))
177: 178: $response->type($type); 179: $this->setType($type); 180: 181: try { 182: $result = call_user_func_array(array($this, $fullViewName), $params); 183: } catch (\Engine\Exceptions\MethodDoesNotExistsException $e) { 184: throw new \Engine\Exceptions\E404Exception( 185: $e->getMessage(), 0, $e 186: ); 187: }
#4 /strony_www/orlandi-2019/Engine/Core.php:892
Dispach controller view. @param type $view View name. @param type $prefix View prefix. @param type $params View params. @return string View.
Called: public Engine\Controller->dispatch('show', 'page', array ( [0] => '155' ))
887: 888: // Wysłanie eventu przed wywołaniem akcji. 889: if ($event->signal('Engine.BeforeView', true, 890: array($this->controller)) !== false 891: ) { 892: $buffer = $this->controller->dispatch($view, $prefix !== false ? $prefix : $this->getConfig()->get('ViewPrefix'), $params); 893: } 894: 895: // Wysłanie eventu po wykonaniu akcji. 896: if ($event->signal('Engine.AfterView', true, 897: array($this->controller)) === false
#5 /strony_www/orlandi-2019/Engine/Core.php:414
Uruchamia kontroler i go renderuje. @param null|string $controller Nazwa opcjonalnego kontrolera do załadowania. @param null|string $view Nazwa widoku do wywołania. @return mixed @throws \Engine\Exceptions\E404Exception
Called: protected Engine\Core->loadController(null, null, null, null, false)
409: try { 410: if ($this->getLastException()) { 411: throw $this->getLastException(); 412: } 413: 414: $this->loadController($module, $controller, $view, $params, $prefix); 415: } catch (\Exception $e) { 416: $this->defaultExceptionCatcher($e); 417: } 418: } 419:
#6 /strony_www/orlandi-2019/WebRoot/index.php:202
Dispatch controller. If you omit the arguments, this methid will get appropriate values from "Request" class. @param type $module @param type $controller @param type $view @param type $params
Called: public Engine\Core->runController()
197: require_once __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'Application' . DIRECTORY_SEPARATOR . 'Bootstrap.php'; 198: 199: // $core = initializeFrameworkCore(\Engine\Core::PRODUCTION_MODE); 200: $core = initializeFrameworkCore(\Engine\Core::DEVELOPMENT_MODE); 201: 202: $core->runController();
You're seeing this error beacuse you have Debug = true in your config file.