SpatieTagsColumn pluck() on null after update

I'm using these versions:
  • spatie/laravel-tags (4.5.1)
  • filament/spatie-laravel-tags-plugin (v3.0.73)
And everything works fine. When I tried updating v3.0.73 => v3.0.101, I run into an issue with the list view (form works fine). This is the code.

SpatieTagsColumn::make('tags')->sortable()->searchable(
true, function (Builder $query, string $search) {
    $query->whereHas(
        relation: 'tags',
        callback: fn (Builder $q) => $q->where('name', 'like', "%{$search}%")
    );
}),


I get pluck() on null error.

Any ideas what could be the problem?
Was this page helpful?