Skip to content

Laravel 11: incompatible $builder property #37

Open
@cedrictwillie

Description

@cedrictwillie

Is this package compatible with Laravel 11? I'm receiving a fatal error for an incompatible $builder property defined in my User model.

PHP Fatal error:  Illuminate\Database\Eloquent\Model and Spinen\ClickUp\Concerns\HasClickUp define the same property ($builder) in the composition of App\Models\User. However, the definition differs and is considered incompatible.

The HasClickUp trait defines:
protected ?Builder $builder = null;..

But the Eloquent Model defines:
protected static string $builder = Builder::class;...

Any clarity on what to do here would be much appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions