filamentphp/filament · error · LogicException

Action of class [$actionClass] must have a unique name, pass

Error message

Action of class [$actionClass] must have a unique name, passed to the [make()] method.

What it means

Error "Action of class [$actionClass] must have a unique name, passed to the [make()] method." thrown in filamentphp/filament.

Source

Thrown at packages/actions/src/Concerns/HasName.php:23

use LogicException;

trait HasName
{
    protected ?string $name = null;

    public function name(?string $name): static
    {
        $this->name = $name;

        return $this;
    }

    public function getName(): ?string
    {
        if (blank($this->name)) {
            $actionClass = static::class;

            throw new LogicException("Action of class [$actionClass] must have a unique name, passed to the [make()] method.");
        }

        return $this->name;
    }
}

View on GitHub (pinned to 53483fa934)

When it happens

Trigger: Thrown at packages/actions/src/Concerns/HasName.php:23 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of filamentphp/filament@53483fa934 (2026-08-17). Data as JSON: /api/errors/7b02a06fabe0ed4c. Report an issue: GitHub.