© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•3y ago•
4 replies
Proculair B.V.

App\Filament\Pages\Tenancy\EditTeamProfile does not implement methods 'getAction', 'getAct

I have this page to edit tenants (copied from the docs):

<?php

namespace App\Filament\Pages\Tenancy;

use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Pages\Tenancy\EditTenantProfile;

class EditTeamProfile extends EditTenantProfile
{
    public static function getLabel(): string
    {
        return 'Team profile';
    }

    public function form(Form $form): Form
    {
        return $form
            ->schema([
                TextInput::make('name'),
                TextInput::make('avatar_url'),
            ]);
    }
}
<?php

namespace App\Filament\Pages\Tenancy;

use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Pages\Tenancy\EditTenantProfile;

class EditTeamProfile extends EditTenantProfile
{
    public static function getLabel(): string
    {
        return 'Team profile';
    }

    public function form(Form $form): Form
    {
        return $form
            ->schema([
                TextInput::make('name'),
                TextInput::make('avatar_url'),
            ]);
    }
}


The error says I haven't implemented required classes.
To “fix” this error, I've created the following:

<?php

namespace App\Filament\Pages\Tenancy;

use Filament\Actions\Action;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Pages\Tenancy\EditTenantProfile;

class EditTeamProfile extends EditTenantProfile
{

    public function getAction(string|array $name): ?Action
    {
        return Action::make('placeholder');
    }

    public function getActiveActionsLocale(): ?string
    {
        return 'nl_NL';
    }

    public static function getLabel(): string
    {
        return __('Team profile');
    }

    public function form(Form $form): Form
    {
        return $form
            ->schema([
                TextInput::make('name'),
                TextInput::make('avatar_url'),
            ]);
    }
}
<?php

namespace App\Filament\Pages\Tenancy;

use Filament\Actions\Action;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Form;
use Filament\Pages\Tenancy\EditTenantProfile;

class EditTeamProfile extends EditTenantProfile
{

    public function getAction(string|array $name): ?Action
    {
        return Action::make('placeholder');
    }

    public function getActiveActionsLocale(): ?string
    {
        return 'nl_NL';
    }

    public static function getLabel(): string
    {
        return __('Team profile');
    }

    public function form(Form $form): Form
    {
        return $form
            ->schema([
                TextInput::make('name'),
                TextInput::make('avatar_url'),
            ]);
    }
}
Solution
Oh my bad, my IDE might have indexed the files wrong. After removing the methods and reloading a couple times everything still worked.
Jump to solution
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

'Filament\Pages\dashboard' does not implement method 'makeFilamentTranslatableContentDriver'
FilamentFFilament / ❓┊help
3y ago
Class App\Models\User does not implement abstract methods:function canAccessPanel(\Filament\Panel $
FilamentFFilament / ❓┊help
2y ago
Filament 3 multi tenancy with domain implement
FilamentFFilament / ❓┊help
3y ago
Method App\Filament\Pages\RegisterTeam::getCachedSubNavigation does not exist.
FilamentFFilament / ❓┊help
17mo ago