ErrorException [ Fatal Error ]
Uncaught TypeError: Argument 1 passed to Kohana_Exception::handler() must be an instance of Exception, instance of Error given in /application/classes/kohana/exception.php:7 Stack trace: #0 [internal function]: Kohana_Exception::handler(Object(Error)) #1 {main} thrown

APPPATH/classes/kohana/exception.php [ 7 ]

 2   3 /** 4  * Class Kohana_Exception 5  */ 6 class Kohana_Exception extends Kohana_Kohana_Exception {  7     public static function handler(Exception $e) 8     { 9         if (Kohana::DEVELOPMENT === Kohana::$environment)10         {11             parent::handler($e);12         }13  
  1. {PHP internal call} » Kohana_Core::shutdown_handler ( )


Fatal error: Uncaught Error: Call to a member function route() on null in /modules/profilertoolbar/classes/kohana/profilertoolbar.php:49 Stack trace: #0 /modules/profilertoolbar/classes/kohana/profilertoolbar.php(74): Kohana_ProfilerToolbar::collectData() #1 /modules/profilertoolbar/views/kohana/error.php(146): Kohana_ProfilerToolbar::render(true) #2 /system/classes/kohana/kohana/exception.php(173): include('/modules/profil...') #3 /application/classes/kohana/exception.php(11): Kohana_Kohana_Exception::handler(Object(ErrorException)) #4 /system/classes/kohana/core.php(994): Kohana_Exception::handler(Object(ErrorException)) #5 [internal function]: Kohana_Core::shutdown_handler() #6 {main} thrown in /modules/profilertoolbar/classes/kohana/profilertoolbar.php on line 49