Open ausmani opened 3 years ago
vendor/spatie/laravel-medialibrary/src/MediaCollections/Models/Media.php:182
Error on this line
return $conversions->map(fn (Conversion $conversion) => $conversion->getName())->toArray();
Which PHP version do you have? It looks like you're not having PHP version 7.4 or higher?
vendor/spatie/laravel-medialibrary/src/MediaCollections/Models/Media.php:182
Error on this line