2026-03-22 01:26:18 --- EMERGENCY: ErrorException [ 8 ]: Undefined index: HTTP_HOST ~ APPPATH/classes/Controller/Index.php [ 83 ] in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 01:26:18 --- DEBUG: #0 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php(83): Kohana_Core::error_handler(8, 'Undefined index...', '/var/www/caffes...', 83, Array) #1 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index/Main.php(6): Controller_Index->before() #2 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Controller.php(69): Controller_Index_Main->before() #3 [internal function]: Kohana_Controller->execute() #4 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Index_Main)) #5 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #6 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #7 /var/www/caffesta/data/www/runto.rest/public/index.php(124): Kohana_Request->execute() #8 {main} in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 03:13:29 --- EMERGENCY: Kohana_Exception [ 0 ]: Untrusted host 62.109.31.211. If you trust 62.109.31.211, add it to the trusted hosts in the `url` config file. ~ SYSPATH/classes/Kohana/URL.php [ 127 ] in /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/URL.php:164 2026-03-22 03:13:29 --- DEBUG: #0 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/URL.php(164): Kohana_URL::base('http', false, NULL) #1 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/HTTP/Exception/Redirect.php(29): Kohana_URL::site('auth', true, false) #2 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/HTTP.php(40): Kohana_HTTP_Exception_Redirect->location('auth') #3 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Controller.php(127): Kohana_HTTP::redirect('auth', 302) #4 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Admin.php(36): Kohana_Controller::redirect('auth') #5 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Controller.php(69): Controller_Admin->before() #6 [internal function]: Kohana_Controller->execute() #7 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Admin_Main)) #8 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #9 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #10 /var/www/caffesta/data/www/runto.rest/public/index.php(124): Kohana_Request->execute() #11 {main} in /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/URL.php:164 2026-03-22 04:24:39 --- EMERGENCY: ErrorException [ 8 ]: Undefined index: HTTP_HOST ~ APPPATH/classes/Controller/Index.php [ 83 ] in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 04:24:39 --- DEBUG: #0 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php(83): Kohana_Core::error_handler(8, 'Undefined index...', '/var/www/caffes...', 83, Array) #1 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index/Main.php(6): Controller_Index->before() #2 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Controller.php(69): Controller_Index_Main->before() #3 [internal function]: Kohana_Controller->execute() #4 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Index_Main)) #5 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #6 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #7 /var/www/caffesta/data/www/runto.rest/public/index.php(124): Kohana_Request->execute() #8 {main} in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 04:25:14 --- EMERGENCY: ErrorException [ 8 ]: Undefined index: HTTP_HOST ~ APPPATH/classes/Controller/Index.php [ 83 ] in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 04:25:14 --- DEBUG: #0 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php(83): Kohana_Core::error_handler(8, 'Undefined index...', '/var/www/caffes...', 83, Array) #1 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index/Main.php(6): Controller_Index->before() #2 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Controller.php(69): Controller_Index_Main->before() #3 [internal function]: Kohana_Controller->execute() #4 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Index_Main)) #5 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #6 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #7 /var/www/caffesta/data/www/runto.rest/public/index.php(124): Kohana_Request->execute() #8 {main} in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 04:25:49 --- EMERGENCY: ErrorException [ 8 ]: Undefined index: HTTP_HOST ~ APPPATH/classes/Controller/Index.php [ 83 ] in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 04:25:49 --- DEBUG: #0 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php(83): Kohana_Core::error_handler(8, 'Undefined index...', '/var/www/caffes...', 83, Array) #1 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index/Main.php(6): Controller_Index->before() #2 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Controller.php(69): Controller_Index_Main->before() #3 [internal function]: Kohana_Controller->execute() #4 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Index_Main)) #5 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #6 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #7 /var/www/caffesta/data/www/runto.rest/public/index.php(124): Kohana_Request->execute() #8 {main} in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 07:01:22 --- EMERGENCY: ErrorException [ 8 ]: Undefined index: HTTP_HOST ~ APPPATH/classes/Controller/Index.php [ 83 ] in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 07:01:22 --- DEBUG: #0 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php(83): Kohana_Core::error_handler(8, 'Undefined index...', '/var/www/caffes...', 83, Array) #1 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index/Main.php(6): Controller_Index->before() #2 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Controller.php(69): Controller_Index_Main->before() #3 [internal function]: Kohana_Controller->execute() #4 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Index_Main)) #5 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #6 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #7 /var/www/caffesta/data/www/runto.rest/public/index.php(124): Kohana_Request->execute() #8 {main} in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 08:24:06 --- EMERGENCY: ErrorException [ 8 ]: Undefined index: HTTP_HOST ~ APPPATH/classes/Controller/Index.php [ 83 ] in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 08:24:06 --- DEBUG: #0 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php(83): Kohana_Core::error_handler(8, 'Undefined index...', '/var/www/caffes...', 83, Array) #1 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index/Main.php(6): Controller_Index->before() #2 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Controller.php(69): Controller_Index_Main->before() #3 [internal function]: Kohana_Controller->execute() #4 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Index_Main)) #5 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #6 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #7 /var/www/caffesta/data/www/runto.rest/public/index.php(124): Kohana_Request->execute() #8 {main} in /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index.php:83 2026-03-22 20:25:57 --- EMERGENCY: ErrorException [ 2 ]: json_decode() expects parameter 1 to be string, array given ~ APPPATH/classes/Controller/Index/Main.php [ 1187 ] in file:line 2026-03-22 20:25:57 --- DEBUG: #0 [internal function]: Kohana_Core::error_handler(2, 'json_decode() e...', '/var/www/caffes...', 1187, Array) #1 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index/Main.php(1187): json_decode(Array) #2 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Controller.php(84): Controller_Index_Main->action_addtocart() #3 [internal function]: Kohana_Controller->execute() #4 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Index_Main)) #5 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #6 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #7 /var/www/caffesta/data/www/runto.rest/public/index.php(124): Kohana_Request->execute() #8 {main} in file:line 2026-03-22 20:47:41 --- EMERGENCY: Database_Exception [ 1062 ]: Duplicate entry '477-865534' for key 'PRIMARY' [ INSERT INTO `order_products` (`order_id`,`prod_id`,`qty`,`name`,`price`) VALUES (477,865534,5,'Omelet with cheeseОмлет с сыром',8.96),(477,865534,3,'Omelet with cheeseОмлет с сыром',8.96),(477,865534,4,'Omelet with cheeseОмлет с сыром',8.96) ] ~ MODPATH/database/classes/Kohana/Database/MySQLi.php [ 171 ] in /var/www/caffesta/data/www/runto.rest/modules/database/classes/Kohana/Database/Query.php:251 2026-03-22 20:47:41 --- DEBUG: #0 /var/www/caffesta/data/www/runto.rest/modules/database/classes/Kohana/Database/Query.php(251): Kohana_Database_MySQLi->query(2, 'INSERT INTO `or...', false, Array) #1 /var/www/caffesta/data/www/runto.rest/application/classes/Controller/Index/Main.php(1591): Kohana_Database_Query->execute() #2 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Controller.php(84): Controller_Index_Main->action_confirmordernew() #3 [internal function]: Kohana_Controller->execute() #4 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Index_Main)) #5 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #6 /var/www/caffesta/data/www/runto.rest/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #7 /var/www/caffesta/data/www/runto.rest/public/index.php(124): Kohana_Request->execute() #8 {main} in /var/www/caffesta/data/www/runto.rest/modules/database/classes/Kohana/Database/Query.php:251