I found what was causing this, it's because I wasn't eager loading the replies. Instead of doing
$ticket = Ticket::find($id);
You should
$ticket = Ticket::with('replies')->find($id);
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community