this the line of the erro plz hellp me et thanks :
<form class="ui form" action="{{URL::Route('superHiearchies.update',$super->id)}}" method="POST" style="display: block;" accept-charset="UTF-8" enctype="multipart/form-data">
this the controller : */ public function edit($id) { $super=SuperHiearchie::find($id); return view('PfeViews.super.edit_super',compact('super')); }
I would start with verifying the data is being sent to the form.
public function edit($id) {
$super=SuperHiearchie::find($id);
dd( compact('super') ); // make sure the is id = 'something' in the dump
return view('PfeViews.super.edit_super',compact('super'));
}
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community