Support the ongoing development of Laravel.io →
Configuration Database Eloquent
Last updated 10 months ago.
0

Use this:

$Prontuarios = Prontuarios::paginate(15);
Last updated 10 months ago.
0

I just tried, same result.

Reached said:

Use this:

$Prontuarios = Prontuarios::paginate(15);

Last updated 10 months ago.
0

Are you using Blade templating for your views?

Last updated 10 months ago.
0

Yes, but I'm having this problem still on the controller, by using print_r or passing the variable to the view it's the same.

Reached said:

Are you using Blade templating for your views?

Last updated 10 months ago.
0

I suspect it is not actually the same, since the error you are experiencing does not sound like laravel stuff?

Have you tried var dumping or doing dd($variable)?

Last updated 10 months ago.
0

I mean I had the same result. Just tried this, and I had the same result again... Firefox's memory usage keeps increasing until it crashes.

$Prontuarios = Prontuarios::paginate(15);
dd($Prontuarios);

Reached said:

I suspect it is not actually the same, since the error you are experiencing does not sound like laravel stuff?

Have you tried var dumping or doing dd($variable)?

Last updated 10 months ago.
0

print_r($paginator->links()); to print_r($Prontuarios->links());

Or in your view file {{$Prontuarios->links()}}

Last updated 10 months ago.
0

Sign in to participate in this thread!

LaraJobs

Your banner here too?

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2023 Laravel.io - All rights reserved.