2024-12-26 10:49:32 --- EMERGENCY: ErrorException [ 2 ]: Invalid argument supplied for foreach() ~ APPPATH/classes/Caffesta.php [ 408 ] in /var/www/caffesta/data/www/caffesta.ge/application/classes/Caffesta.php:408 2024-12-26 10:49:32 --- DEBUG: #0 /var/www/caffesta/data/www/caffesta.ge/application/classes/Caffesta.php(408): Kohana_Core::error_handler(2, 'Invalid argumen...', '/var/www/caffes...', 408, Array) #1 /var/www/caffesta/data/www/caffesta.ge/application/classes/Controller/Index/Main.php(420): Caffesta::categories('16') #2 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Controller.php(84): Controller_Index_Main->action_updaterpos() #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 /var/www/caffesta/data/www/caffesta.ge/application/classes/Caffesta.php:408