FilamentF
Filament3y ago
11 replies
Matthew

undefined variable $getAllRecordsCount

I get this error in production, but not when it runs locally. I used one of the filament tricks:
https://filamentphp.com/tricks/aggregate-data-in-table-footer. Every time I open a page that has a table, I get this error. Despite using the aggregation in only ONE table, and not the other ones.

Im not sure what exactly causes the error. Any ideas?
image.png
Was this page helpful?