ErrorException [ Fatal Error ]: Uncaught TypeError: Argument 1 passed to MY_Exceptions::exception_handler() must be an instance of Exception, instance of Error given in /home/tpunja/public_html/application/core/MY_Exceptions.php:146 Stack trace: #0 [internal function]: MY_Exceptions::exception_handler(Object(Error)) #1 {main} thrown

FCPATH/application/core/MY_Exceptions.php [ 146 ]

141 	 *
142 	 * @access	public
143 	 * @param	object	 exception object
144 	 * @return	boolean
145 	 */
146 	public static function exception_handler(Exception $e)
147 	{
148 		try
149 		{
150 			// Get the exception information
151 			$type	 = get_class($e);
  1. {PHP internal call} » MY_Exceptions::shutdown_handler()

Environment