Serialization of 'Closure' is not allowed
While exporting a table to CSV it gives error
Serialization of 'Closure' is not allowed
8 Replies
That might be because of the extra attributes Closure. Are you using a plugin for exporting or Filament's exporter?
yes iam using this plugin
https://filamentphp.com/plugins/pxlrbt-excel
in UI i have to show the status
is there a way ????..
Try the native filament export?
You could try to define the columns manually instead of relying on
fromTable()
this is my function
as per ur saying i should define a column array & pass like this
That's not how you define columns. Check the docs
got it