coollabsio/coolify · error · RuntimeException
Unable to compress the profile picture.
Error message
Unable to compress the profile picture.
What it means
Error "Unable to compress the profile picture." thrown in coollabsio/coolify.
Source
Thrown at app/Services/AvatarStorageService.php:142
$source,
0,
0,
(int) (($sourceWidth - $cropSize) / 2),
(int) (($sourceHeight - $cropSize) / 2),
256,
256,
$cropSize,
$cropSize,
);
ob_start();
imagejpeg($target, null, 80);
$contents = ob_get_clean();
imagedestroy($source);
imagedestroy($target);
if (! is_string($contents)) {
throw new RuntimeException('Unable to compress the profile picture.');
}
return $contents;
}
}
View on GitHub (pinned to 70b9acc424)
When it happens
Trigger: Thrown at app/Services/AvatarStorageService.php:142 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of coollabsio/coolify@70b9acc424 (2026-08-17).
Data as JSON: /api/errors/7caf8df640275fa3.
Report an issue: GitHub.