Notice: Undefined index: HTTP_REFERER in /var/www/clients/client0/web1/web/application/classes/Controller/Main.php on line 123

Fatal error: Uncaught Error: Can only throw objects in /var/www/clients/client0/web1/web/system/classes/Kohana/HTTP.php:40 Stack trace: #0 /var/www/clients/client0/web1/web/application/classes/Controller/Main.php(123): Kohana_HTTP::redirect() #1 /var/www/clients/client0/web1/web/system/classes/Kohana/Controller.php(84): Controller_Main->action_es() #2 [internal function]: Kohana_Controller->execute() #3 /var/www/clients/client0/web1/web/system/classes/Kohana/Request/Client/Internal.php(97): ReflectionMethod->invoke() #4 /var/www/clients/client0/web1/web/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request() #5 /var/www/clients/client0/web1/web/system/classes/Kohana/Request.php(997): Kohana_Request_Client->execute() #6 /var/www/clients/client0/web1/web/index.php(151): Kohana_Request->execute() #7 {main} thrown in /var/www/clients/client0/web1/web/system/classes/Kohana/HTTP.php on line 40