- 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