ErrorException [ Notice ]: Undefined index: category_id

APPPATH/classes/controller/party.php [ 81 ]

76 	public function action_info()
77 	{
78 		$id = $this->request->param('id', 0);
79 Model::factory('news')->upviews($id);
80 		$info = Model::factory('news')->getInfo($id);
81 		$this->_index_id = $info['category_id'];
82 		
83 		$this->_header();//set header info
84 
85 		$this->_menu();//set menu info
86 
  1. APPPATH/classes/controller/party.php [ 81 ] » Kohana_Core::error_handler(arguments)

  2. {PHP internal call} » Controller_Party->action_info()

  3. SYSPATH/classes/kohana/request/client/internal.php [ 118 ] » ReflectionMethod->invoke(arguments)

  4. SYSPATH/classes/kohana/request/client.php [ 64 ] » Kohana_Request_Client_Internal->execute_request(arguments)

  5. SYSPATH/classes/kohana/request.php [ 1137 ] » Kohana_Request_Client->execute(arguments)

  6. DOCROOT/index.php [ 114 ] » Kohana_Request->execute()

Environment