Object of class Filament\Support\Enums\Alignment could not be converted to string

I started having this issue on every version after .83. All is working fine on 3.0.83, so i have to stick to it for now. Here is the link to trace: https://flareapp.io/share/xPQwOar5
Flare
Object of class Filament\Support\Enums\Alignment could not be converted to string - The error occurred at http://localhost/dashboard/projects
Solution:
For future reference, if someone encounters similar issue, don't use alignXxx() shorthand functions, but follow this from documentation: https://filamentphp.com/docs/3.x/tables/columns/getting-started#aligning-column-content...
Jump to solution
3 Replies
DariusIII
DariusIII9mo ago
There is no custom code involved. Just wanted to throw this in, as i don't see anyone else having same issue So, the issue is with using alignCenter() and alignJustify() in $table TextColumn. As soon as i removed them, error was gone.
Solution
DariusIII
DariusIII9mo ago
For future reference, if someone encounters similar issue, don't use alignXxx() shorthand functions, but follow this from documentation: https://filamentphp.com/docs/3.x/tables/columns/getting-started#aligning-column-content
AlexAnder
AlexAnder9mo ago
Me too have this issue