Skip to content

ErrorException: imagecreatefromstring(): Data is not in a recognized format #301

@sentry

Description

@sentry

Sentry Issue: HFRESH-1E

ErrorException: imagecreatefromstring(): Data is not in a recognized format
  File "/app/Http/Controllers/OgImageController.php", line 181, in Illuminate\Foundation\Bootstrap\HandleExceptions::handleError
    $sourceImage = imagecreatefromstring($imageContent);
  File "/app/Http/Controllers/OgImageController.php", line 181, in App\Http\Controllers\OgImageController::wasRecipeBackgroundLoaded
    $sourceImage = imagecreatefromstring($imageContent);
  File "/app/Http/Controllers/OgImageController.php", line 41, in App\Http\Controllers\OgImageController::{closure:App\Http\Controllers\OgImageController::recipe():38}
    if (! $this->wasRecipeBackgroundLoaded($canvas, $recipe)) {
  File "/public/index.php", line 20
    $app->handleRequest(Request::capture());
...
(4 additional frame(s) were not displayed)

This issue was automatically created by Sentry via Create GitHub Issue

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions