Internal Server Error

Craft\AssetFileModel and its behaviors do not have a method or closure named "first".