deployment error

i have deployed my filament app. however atter login it shows this error, and im not sure whether it is a filament issue or not.
10 Replies
black ka1ser
black ka1serOP2y ago
@props([
'columns' => [
'lg' => 2,
],
'data' => [],
'widgets' => [],
])

<x-filament-support::grid
:default="$columns['default'] ?? 1"
:sm="$columns['sm'] ?? null"
:md="$columns['md'] ?? null"
:lg="$columns['lg'] ?? ($columns ? (is_array($columns) ? null : $columns) : 2)"
:xl="$columns['xl'] ?? null"
:two-xl="$columns['2xl'] ?? null"
class="filament-widgets-container gap-4 lg:gap-8 mb-6"
>
@foreach ($widgets as $widget)
@if ($widget::canView())
@livewire(\Livewire\Livewire::getAlias($widget), $data, key($widget))
@endif
@endforeach
</x-filament-support::grid>
@props([
'columns' => [
'lg' => 2,
],
'data' => [],
'widgets' => [],
])

<x-filament-support::grid
:default="$columns['default'] ?? 1"
:sm="$columns['sm'] ?? null"
:md="$columns['md'] ?? null"
:lg="$columns['lg'] ?? ($columns ? (is_array($columns) ? null : $columns) : 2)"
:xl="$columns['xl'] ?? null"
:two-xl="$columns['2xl'] ?? null"
class="filament-widgets-container gap-4 lg:gap-8 mb-6"
>
@foreach ($widgets as $widget)
@if ($widget::canView())
@livewire(\Livewire\Livewire::getAlias($widget), $data, key($widget))
@endif
@endforeach
</x-filament-support::grid>
i tried to manually type in the url, eg adding /users etc, some pages are working this error is for displaying dashboard
awcodes
awcodes2y ago
Looks like you published the views. This is why we recommend not publishing the views. They can change from version to version and you’ll have to make sure that you keep them up to date manually in your app if you chose to do so.
black ka1ser
black ka1serOP2y ago
is there any way to unpublish it?
Dan Harrin
Dan Harrin2y ago
delete resources/views/vendor
black ka1ser
black ka1serOP2y ago
thanks! update; i deleted the folder, the error still there constructor failed
black ka1ser
black ka1serOP2y ago
only dashboard page
Dan Harrin
Dan Harrin2y ago
this is an error with #overlook, please move there
awcodes
awcodes2y ago
My initial guess, looking at the error is that your don’t have ext-intl php extension installed on your server.
black ka1ser
black ka1serOP2y ago
ill try it sir. thanks
Want results from more Discord servers?
Add your server