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
With CI 3.1.13 on PHP 8.1, I get this error on this call:
$this->pagination->create_links();
There is no such problem on PHP 7.4
An uncaught Exception was encountered
Type: ErrorException
Message: ctype_digit(): Argument of type null will be interpreted as string in the future
Filename: vendor/codeigniter/framework/system/libraries/Pagination.php
Line Number: 526
Warning
As of PHP 8.1.0, passing a non-string argument is deprecated. In the future,
the argument will be interpreted as a string instead of an ASCII codepoint.
Depending on the intended behavior, the argument should either be cast to
string or an explicit call to [chr()](https://www.php.net/manual/en/function.chr.php)
should be made.
The text was updated successfully, but these errors were encountered:
tenzap
changed the title
Pagniation & PHP 8.1: ctype_digit(): Argument of type null will be interpreted as string in the future
Pagination & PHP 8.1: ctype_digit(): Argument of type null will be interpreted as string in the future
Mar 21, 2022
With CI 3.1.13 on PHP 8.1, I get this error on this call:
$this->pagination->create_links();
There is no such problem on PHP 7.4
PHP doc states:
The text was updated successfully, but these errors were encountered: