Kohana_HTTP_Exception_404 [ 404 ]:

APPPATH/classes/Controller/Player.php [ 17 ]

12         $id = $this->request->param('id');
13         $m_players = new Model_Player();
14         $m_news = new Model_News();
15         $m_club = new Model_Clubs();
16         $player = $m_players->get_by_id($this->lang, $id);
17         if (!$player) throw new Kohana_HTTP_Exception_404;
18         $goals_all = $m_players->get_all_by_player_id($id, $this->lang);
19         $goals_home = $m_players->get_all_goal_home($id);
20         $goals_guest = $m_players->get_all_goal_guest($id);
21 
22         $club = $m_club->get_club_for_player_by_id($this->lang, $player['id']);
  1. SYSPATH/classes/Kohana/Controller.php [ 84 ] » Controller_Player->action_index()

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

  3. SYSPATH/classes/Kohana/Request/Client/Internal.php [ 97 ] » ReflectionMethod->invoke(arguments)

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

  5. SYSPATH/classes/Kohana/Request.php [ 986 ] » Kohana_Request_Client->execute(arguments)

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

Environment