jak888
intl extension is required
Hi,
I recetnly updated my application from laravel 10 to 11. After updating my composer files I started getting this error message on the filament admin panel:
The "intl" PHP extension is required to use the [format] method.
Why is this happening after the update? And how do I solve this? I ran composer require ext-intl
, but I'm still getting the error.
I run my local development environment on docker from wsl. Do I have to include intl in my docker image?76 replies
Displaying relation count in a column
Hi,
I have an event table, a users table and a role table, they're linked through a pivot table named event_user_roles. This represents, what role a user is assigned for a given event. I have relations set up properly in the models. I would now like to display the number of users with a certain role in a upcomingEvents widget. How do I do that?
The corresponding eloquent query would be:
How does that translate into my widget column?
29 replies
getting 404 on livewire.min.js
Hi all,
I'm getting the following error on my production site, when I try to access the
/admin
route: Failed to load resource: the server responded with a status of 404 ()
for the file livewire.min.js
. This has previously been working and only happens on the production site.
Why might this be happening?48 replies
Setting the filament default page
I'm getting an error on my production site stating that: No default Filament panel is set. You may do this with the default() method inside a Filament provider's panel() configuration. Error Type: Filament\Exceptions\NoDefaultPanelSetException
I never had to set that locally or on my staging site. /admin would just get me to the dashboard.
Why do I suddenly have to set this and how do I get the standard behavior? I guess I need to edit the default() method in the AdminPanelProvider.php, but what do I put in there?
Also, when looking in the
Filament\Resources\DashboardResource
folder, it's empty.21 replies