Kohana_Exception [ 0 ]: Invalid redirect code '404'

SYSPATH/classes/Kohana/HTTP.php [ 36 ]

31 	public static function redirect($uri = '', $code = 302)
32 	{
33 		$e = HTTP_Exception::factory($code);
34 
35 		if ( ! $e instanceof HTTP_Exception_Redirect)
36 			throw new Kohana_Exception('Invalid redirect code \':code\'', array(
37 				':code' => $code
38 			));
39 
40 		throw $e->location($uri);
41 	}
  1. APPPATH/classes/Controller/Item.php [ 68 ] » Kohana_HTTP::redirect(arguments)

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

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

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

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

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

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

Environment