Normally when you use create it is because you are creating more than one model and passing in an array.... Is that the case with what you are doing?
Is $fields an array?
You don't need to create a new instance of the model, just call the create method directly. I've tried the following and it worked successfully.
$page = Page::create($fields);
dd($page->id);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community