Link method doesn't exist using laravel pagination?
I am using pagination since Laravel 5.4 for this request.
$items = Item::with('likes')->whereStatus('1')->paginate(20);
And how I visualize it
{{ $items->links() }}
this works fine on my local development, but on live service i get this error
ErrorException at line Macroable.php 74: Method references do not exist (view file path)
Any help would be much appreciated.
+3
source to share
No one has answered this question yet
Check out similar questions: