ErrorException [ Fatal Error ]: Can only throw objects

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

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 	}
42 
43 	/**
44 	 * Checks the browser cache to see the response needs to be returned,
45 	 * execution will halt and a 304 Not Modified will be sent if the
  1. {PHP internal call} » Kohana_Core::shutdown_handler()

Environment