Filament\Tables\Table could not be converted to string

The error is in vendor/filament/filament/resources/views/resources/relation-manager.blade.php on line 6

This only happens when I'm trying to add a freshly-created RelationshipManager to a Resource

I'm not sure what I'm missing
Solution
I figured it out! For some reason this app is setting this in the AppServiceProvider
  • I guess for some backwards-compatibility:
``
\Illuminate\Support\Facades\Blade::setEchoFormat('%s');
I needed to wrap it like this:

if (! request()->is(Filament::getCurrentPanel()->getPath().'*', 'livewire/update', 'livewire/livewire.js')) {
Blade::setEchoFormat('%s');
}
```
Was this page helpful?