Skip to content

\Laravel\Nova\Fields\FormData::make is incompatible with \Illuminate\Support\Fluent::make as of v12.9.0 #6830

@mishahawthorn

Description

@mishahawthorn
  • Laravel Version: 12.9.0
  • Nova Version: 4.35.8
  • PHP Version: 8.3.19
  • Database Driver & Version: N/A
  • Operating System and Version: N/A
  • Browser type and version: N/A

Description:

A PR (laravel/framework#55417) was recently introduced to the framework but seems to have created a bug in Nova v4 due to conflicting signatures.

Declaration of Laravel\Nova\Fields\FormData::make(Laravel\Nova\Http\Requests\NovaRequest $request, array $fields) must be compatible with Illuminate\Support\Fluent::make($attributes = []) in /Users/$user/$repo/vendor/laravel/nova/src/Fields/FormData.php on line 47

Removing the new Illuminate\Support\Fluent::make() helper resolves the issue.

Detailed steps to reproduce the issue on a fresh Nova installation:

  • Pull affected versions of Laravel framework and Nova
  • Create a resource and attempt to load in Nova via web UI

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