You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After digging in more, it looks like this is caused by CRUD::set('show.setFromDb', true);. As it's trying to guess the column attribute to display, which this trait adds but doesn't have (?), it trips up here - https://flareapp.io/share/95JzxVM5#F64
After defining setupShowOperation() on UserCrudController with only the fields I want, it works just fine.
Bug report
What I did
In attempt to make the User entries viewable, not just editable, I added
ShowOperation
toUserCrudController
What I expected to happen
The Preview button to display and work
What happened
Preview button works, upon clicking returns
Call to undefined method Illuminate\Notifications\DatabaseNotification::identifiableAttribute()
What I've already tried to fix it
Removing the
Notifiable
trait fromUser
fixes it, however then my User is not notifiableBackpack, Laravel, PHP, DB version
When I run
php artisan backpack:version
the output is:The text was updated successfully, but these errors were encountered: