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?
5 Replies
clear your view cache
filament:upgrade
does this automatically, but only if you put it in your composer.json (as per installation isntructions)I ran
php artisan cache:clear
Will try thisthats not the same thing
thats the cache, like redis
not view cache
Thank you. That worked
I am also experiencing the same issue, but locally on a v2 app that used to work. Clearing cache does not help. I can't get it to work. Any ideas? :/
And i get it on all resources.
php artisan filament:upgrade
fixed it π