ErrorException [ Notice ]: Undefined variable: db_manuf

APPPATH/classes/Controller/Tecdoc.php [ 178 ]

173         $view->manuf_name = isset($db_manuf) && $db_manuf->loaded() ? $db_manuf->description : 'undef';
174         $view->model_name = isset($db_model) && $db_model->loaded() ? $db_model->description : 'undef';
175         $view->is_all = $is_all == 'all' ? TRUE : FALSE;
176 
177         array_push($this->template->nav, array('Автомобиль', '/tecdoc'));
178         if ($db_manuf->loaded()) {
179             array_push($this->template->nav, array($db_manuf->description, '/tecdoc/car/' . $db_manuf->id . '/' . $year . '/' . Hlp::toLink($db_manuf->description) . ($view->is_all == TRUE ? '/all' : '')));
180             if ($db_model->loaded()) array_push($this->template->nav, array($db_model->description, '/tecdoc/model/' . $model_id . '/' . $year . '/' . Hlp::toLink($db_manuf->description) . '-' . Hlp::toLink($db_model->description) . ($view->is_all == TRUE ? '/all' : '')));
181         }
182 
183         if (!isset($year) || $year == 0) {
  1. APPPATH/classes/Controller/Tecdoc.php [ 178 ] » Kohana_Core::error_handler()

  2. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Tecdoc->action_model()

  3. {PHP internal call} » Kohana_Controller->execute()

  4. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 94 ] » ReflectionMethod->invoke()

  5. SYSPATH/classes/Kohana/Request/Client.php [ 114 ] » Kohana_Request_Client_Internal->execute_request()

  6. SYSPATH/classes/Kohana/Request.php [ 1000 ] » Kohana_Request_Client->execute()

  7. DOCROOT/index.php [ 118 ] » Kohana_Request->execute()

Environment