$Pagination = new Illuminate\Pagination\LengthAwarePaginator($results, count($hikes), $perPage, $currentPage);
You are calling the render() method on a collection. But you need to manually create a Pagination like i mentioned above.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community