filamentphp/filament · error · LogicException

Entry of class [$entryClass] must have a unique name, passed

Error message

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

What it means

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

Source

Thrown at packages/infolists/src/Components/Entry.php:69

    const BEFORE_CONTENT_SCHEMA_KEY = 'before_content';

    const AFTER_CONTENT_SCHEMA_KEY = 'after_content';

    final public function __construct(string $name)
    {
        $this->name($name);
        $this->statePath($name);
    }

    public static function make(?string $name = null): static
    {
        $entryClass = static::class;

        $name ??= static::getDefaultName();

        if (blank($name)) {
            throw new LogicException("Entry of class [$entryClass] must have a unique name, passed to the [make()] method.");
        }

        $static = app($entryClass, ['name' => $name]);
        $static->configure();

        return $static;
    }

    protected function setUp(): void
    {
        parent::setUp();

        $this->setUpHint();
    }

    public static function getDefaultName(): ?string
    {
        return null;

View on GitHub (pinned to 53483fa934)

When it happens

Trigger: Thrown at packages/infolists/src/Components/Entry.php:69 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/5686af7c1a8548a6. Report an issue: GitHub.