Notice!

Fuel\Core\PhpErrorException [ Notice ]:
Undefined index: list_cat

APPPATH/classes/controller/layout/product.php @ line 135

130        $id Tool::get_router_detail_id($string);
131        $product Model_Product::get_by_id($id$this->la_lang);
132
133        $view->product  $product;
134        $view->pictures Model_Productpicture::get_list_pictures($id);
135        $view->others   Model_Product::get_other_products($id$product['list_cat']);
136        View::set_global('navigation'$this->get_navigation($product['list_cat']), false);
137
138        $this->template->meta_key   $product['meta_key'];
139        $this->template->meta_desc  $product['meta_desc'];
140        $this->template->url        Uri::base() . 'products/' $product['link'] . '.html';

Backtrace

  1. COREPATH/bootstrap.php @ line 103
    98        include COREPATH.'classes/errorhandler.php';
    99        class_alias('\Fuel\Core\Errorhandler''Errorhandler');
    100        class_alias('\Fuel\Core\PhpErrorException''PhpErrorException');
    101    }
    102
    103    return \Errorhandler::error_handler($severity$message$filepath$line);
    104});
    105
    106function setup_autoloader()
    107{
    108    \Autoloader::add_namespace('Fuel\\Core'COREPATH.'classes/');
    
  2. APPPATH/classes/controller/layout/product.php @ line 135
    130        $id Tool::get_router_detail_id($string);
    131        $product Model_Product::get_by_id($id$this->la_lang);
    132
    133        $view->product  $product;
    134        $view->pictures Model_Productpicture::get_list_pictures($id);
    135        $view->others   Model_Product::get_other_products($id$product['list_cat']);
    136        View::set_global('navigation'$this->get_navigation($product['list_cat']), false);
    137
    138        $this->template->meta_key   $product['meta_key'];
    139        $this->template->meta_desc  $product['meta_desc'];
    140        $this->template->url        Uri::base() . 'products/' $product['link'] . '.html';
    
  3. COREPATH/classes/request.php @ line 454
    449                    // fire any controller started events
    450                    \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started''''none');
    451
    452                    $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance);
    453
    454                    $response $action->invokeArgs($this->controller_instance$this->method_params);
    455
    456                    $class->hasMethod('after') and $response $class->getMethod('after')->invoke($this->controller_instance$response);
    457
    458                    // fire any controller finished events
    459                    \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished''''none');
    
  4. DOCROOT/index.php @ line 71
    66            $response Response::forge($response);
    67        }
    68    }
    69    elseif ($e === false)
    70    {
    71        $response Request::forge()->execute()->response();
    72    }
    73    elseif ($route)
    74    {
    75        $response Request::forge($routefalse)->execute(array($e))->response();
    76    }
    
  5. DOCROOT/index.php @ line 92
    87{
    88    // Boot the app...
    89    require APPPATH.'bootstrap.php';
    90
    91    // ... and execute the main request
    92    $response $routerequest();
    93}
    94catch (HttpBadRequestException $e)
    95{
    96    $response $routerequest('_400_'$e);
    97}