return view('items.edit', compact('lotid', 'buildings', 'room', 'item'));
$lotid, $buildings, and $room are not set in your controller, yet you're returning them.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community