2024-10-16 20:19:44 --- EMERGENCY: ErrorException [ 2 ]: array_rand(): Array is empty ~ APPPATH/classes/Controller/Index/Main.php [ 456 ] in file:line 2024-10-16 20:19:44 --- DEBUG: #0 [internal function]: Kohana_Core::error_handler(2, 'array_rand(): A...', '/var/www/caffes...', 456, Array) #1 /var/www/caffesta/data/www/caffesta.ge/application/classes/Controller/Index/Main.php(456): array_rand(Array) #2 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Controller.php(84): Controller_Index_Main->action_testcartadd() #3 [internal function]: Kohana_Controller->execute() #4 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Index_Main)) #5 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #6 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #7 /var/www/caffesta/data/www/caffesta.ge/public/index.php(124): Kohana_Request->execute() #8 {main} in file:line 2024-10-16 20:27:28 --- EMERGENCY: ParseError [ 0 ]: syntax error, unexpected ''day' (T_ENCAPSED_AND_WHITESPACE), expecting ']' ~ APPPATH/classes/Controller/Index.php [ 240 ] in file:line 2024-10-16 20:27:28 --- DEBUG: #0 [internal function]: Kohana_Core::auto_load('Controller_Inde...') #1 /var/www/caffesta/data/www/caffesta.ge/application/classes/Controller/Index/Main.php(3): spl_autoload_call('Controller_Inde...') #2 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Core.php(430): require('/var/www/caffes...') #3 [internal function]: Kohana_Core::auto_load('Controller_Inde...') #4 [internal function]: spl_autoload_call('Controller_Inde...') #5 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Request/Client/Internal.php(71): class_exists('Controller_Inde...') #6 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Request/Client.php(114): Kohana_Request_Client_Internal->execute_request(Object(Request), Object(Response)) #7 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Request.php(1000): Kohana_Request_Client->execute(Object(Request)) #8 /var/www/caffesta/data/www/caffesta.ge/public/index.php(124): Kohana_Request->execute() #9 {main} in file:line