You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TypeError
Argument 3 passed to CodeIgniter\Model::paginate() must be of the type int, null given, called in /storage/emulated/0/htdocs/code/app/Controllers/Category.php on line 14
SYSTEMPATH/Model.php at line 1140
Maybe it's a bug.
The text was updated successfully, but these errors were encountered:
mmrtonmoybd
added
the
bug
Verified issues on the current code behavior or pull requests that will fix them
label
Jun 30, 2020
Pagination not working with segment, but the page query parameter pagination is still working.
https://codeigniter.com/user_guide/libraries/pagination.html#specifying-the-uri-segment-for-page
In user guide says
“It is also possible to use a URI segment for the page number, instead of the page query parameter. Simply specify the segment number to use as the fourth argument. URIs generated by the pager would then look like https://domain.tld/model/[pageNumber] instead of https://domain.tld/model?page=[pageNumber].:”
In user guide given an example code
I am doing same thing.
I do
But it is not working. It's show an error
TypeError
Argument 3 passed to CodeIgniter\Model::paginate() must be of the type int, null given, called in /storage/emulated/0/htdocs/code/app/Controllers/Category.php on line 14
SYSTEMPATH/Model.php at line 1140
Maybe it's a bug.
The text was updated successfully, but these errors were encountered: