Welcome Guest, Not a member yet? Register   Sign In
PHP 8.1
#11

After update ci to 4.15 and update php 8.1 i has some error

I must change one function

```
system/Database/BaseConnection.php
/**
* Returns the number of seconds with microseconds that it took
* to connect to the database.
*
* Used by the Debug Toolbar's timeline.
*/
public function getConnectDuration(int $decimals = 6): string
{
return number_format(intval($this->connectDuration), $decimals);
}
```
Reply
#12

v4.1.5 does not support PHP 8.1.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB