2024-10-10 15:10:32 --- EMERGENCY: ErrorException [ 2 ]: imagecopyresampled() expects parameter 2 to be resource, boolean given ~ APPPATH/classes/Controller/Index/Imagecrop.php [ 512 ] in file:line 2024-10-10 15:10:32 --- DEBUG: #0 [internal function]: Kohana_Core::error_handler(2, 'imagecopyresamp...', '/var/www/caffes...', 512, Array) #1 /var/www/caffesta/data/www/caffesta.ge/application/classes/Controller/Index/Imagecrop.php(512): imagecopyresampled(Resource id #3, false, 0, 0, 0, 0, 150, 150, 200, 200) #2 /var/www/caffesta/data/www/caffesta.ge/application/classes/Controller/Index/Imagecrop.php(274): Controller_Index_Imagecrop->product_image(150, 150, 'gsf9au2kn0d73ec...', 'poslogotemp') #3 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Controller.php(84): Controller_Index_Imagecrop->action_poslogotmp() #4 [internal function]: Kohana_Controller->execute() #5 /var/www/caffesta/data/www/caffesta.ge/system/classes/Kohana/Request/Client/Internal.php(94): ReflectionMethod->invoke(Object(Controller_Index_Imagecrop)) #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