I try to use laravel pagination
in my custom CMS
the illuminate/pagination
work, but not properly
this code for my controller work
$cats= Category::paginate(2);
but when i want to calling the pagination link in this code in blade engine
{{$cats->links()}}
or
{!! $cats->links() !!}
or
{{$cats->render()}}
I get this error
call_user_func() expects parameter 1 to be a valid callback, no array or string given (View: C:xampphtdocsgitrepomvcframwork
esourcesviewadminproductscategory.blade.php)
git project url
https://github.com/mohammadZx/mvcframwork/tree/log
you can check project in github on log branch
I think this problem belongs to laravel pagination service provider
but still i don't know how register laravel providers or fix this problem
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…