ErrorException [ Fatal Error ]: Call to a member function redirect() on null

SYSPATH/classes/http/exception/404.php [ 15 ]

10      * @return Response
11      */
12     public function __construct()
13     {
14         $request = Request::current();
15         $request->redirect('/', 301);
16         
17     }
18     
19     
20 }
  1. {PHP internal call} » Kohana_Core::shutdown_handler()

Environment