Warning: Undefined array key "size" in /var/www/u1579084/data/www/sw19.ru/application/controllers/controller_avatar.php on line 78

Warning: Undefined array key "size" in /var/www/u1579084/data/www/sw19.ru/application/controllers/controller_avatar.php on line 78

Fatal error: Uncaught ValueError: imagecreatetruecolor(): Argument #1 ($width) must be greater than 0 in /var/www/u1579084/data/www/sw19.ru/application/controllers/controller_avatar.php:78 Stack trace: #0 /var/www/u1579084/data/www/sw19.ru/application/controllers/controller_avatar.php(78): imagecreatetruecolor(NULL, NULL) #1 /var/www/u1579084/data/www/sw19.ru/application/core/route.php(106): Controller_Avatar->action_index('ea0134702859871...') #2 /var/www/u1579084/data/www/sw19.ru/application/bootstrap.php(23): Route::start() #3 /var/www/u1579084/data/www/sw19.ru/index.php(4): require_once('/var/www/u15790...') #4 {main} thrown in /var/www/u1579084/data/www/sw19.ru/application/controllers/controller_avatar.php on line 78