© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•4mo ago•
2 replies
Beng Bong

Running command 'php artisan make:filament-table <TABLE_NAME>' error

I am having an error when I am trying to create a filament table class for 'ModalSelectTable' , how can I fix this issue? Thank you!

  Symfony\Component\ErrorHandler\Error\FatalError 

  Declaration of Filament\Actions\Concerns\InteractsWithActions::getAction(array|string $actions): ?Filament\Actions\Action must be compatible with Filament\Schemas\Components\Component::getAction(array|string|null $name = null): ?Filament\Actions\Action

  at vendor/filament/actions/src/Concerns/InteractsWithActions.php:635
    631▕ 
    632▕     /**
    633▕      * @param  string | array<string>  $actions
    634▕      */
  ➜ 635▕     public function getAction(string | array $actions): ?Action
    636▕     {
    637▕         $actions = array_map(
    638▕             fn (string | array $action): array => is_array($action) ? $action : ['name' => $action],
    639▕             Arr::wrap($actions),


   Whoops\Exception\ErrorException 

  Declaration of Filament\Actions\Concerns\InteractsWithActions::getAction(array|string $actions): ?Filament\Actions\Action must be compatible with Filament\Schemas\Components\Component::getAction(array|string|null $name = null): ?Filament\Actions\Action

  at vendor/filament/actions/src/Concerns/InteractsWithActions.php:635
    631▕ 
    632▕     /**
    633▕      * @param  string | array<string>  $actions
    634▕      */
  ➜ 635▕     public function getAction(string | array $actions): ?Action
    636▕     {
    637▕         $actions = array_map(
    638▕             fn (string | array $action): array => is_array($action) ? $action : ['name' => $action],
    639▕             Arr::wrap($actions),

      +1 vendor frames 

  2   [internal]:0
      Whoops\Run::handleShutdown()
  Symfony\Component\ErrorHandler\Error\FatalError 

  Declaration of Filament\Actions\Concerns\InteractsWithActions::getAction(array|string $actions): ?Filament\Actions\Action must be compatible with Filament\Schemas\Components\Component::getAction(array|string|null $name = null): ?Filament\Actions\Action

  at vendor/filament/actions/src/Concerns/InteractsWithActions.php:635
    631▕ 
    632▕     /**
    633▕      * @param  string | array<string>  $actions
    634▕      */
  ➜ 635▕     public function getAction(string | array $actions): ?Action
    636▕     {
    637▕         $actions = array_map(
    638▕             fn (string | array $action): array => is_array($action) ? $action : ['name' => $action],
    639▕             Arr::wrap($actions),


   Whoops\Exception\ErrorException 

  Declaration of Filament\Actions\Concerns\InteractsWithActions::getAction(array|string $actions): ?Filament\Actions\Action must be compatible with Filament\Schemas\Components\Component::getAction(array|string|null $name = null): ?Filament\Actions\Action

  at vendor/filament/actions/src/Concerns/InteractsWithActions.php:635
    631▕ 
    632▕     /**
    633▕      * @param  string | array<string>  $actions
    634▕      */
  ➜ 635▕     public function getAction(string | array $actions): ?Action
    636▕     {
    637▕         $actions = array_map(
    638▕             fn (string | array $action): array => is_array($action) ? $action : ['name' => $action],
    639▕             Arr::wrap($actions),

      +1 vendor frames 

  2   [internal]:0
      Whoops\Run::handleShutdown()
Screenshot_2025-10-13_at_2.37.19_PM.png
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

php artisan make:filament-user
FilamentFFilament / ❓┊help
2y ago
php artisan make:filament-user
FilamentFFilament / ❓┊help
3y ago
php artisan make:filament-user bug
FilamentFFilament / ❓┊help
17mo ago
every php artisan command throws error
FilamentFFilament / ❓┊help
3y ago