When setting an avatar to user blueprint on a fresh install, an exception is thrown Call to undefined method Illuminate\Database\Eloquent\Builder::id() (View: /var/www/html/vendor/statamic/cms/resources/views/partials/global-header.blade.php)
Step to reproduce:
Install a fresh version (we use PGSQL 15 via sail)
Hi!
When setting an avatar to user blueprint on a fresh install, an exception is thrown
Call to undefined method Illuminate\Database\Eloquent\Builder::id() (View: /var/www/html/vendor/statamic/cms/resources/views/partials/global-header.blade.php)
Step to reproduce:
The method
Statamic\Auth\HasAvatar::avatarFieldSquareThumbnailUrl()
fails at the first line:When debugging
$this->avatarFieldValue()->value()
, I have this:But I am unable to find any method named
→id()
or magic method__call
.Do you have any ID of what is an
→id()
onStatamic\Assets\OrderedQueryBuilder
?