Return type of CI_Session_files_driver::gc($maxlifetime) should either be compatible with SessionHandlerInterface::gc(int $max_lifetime): int|false, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice
Para solucionarlo tenemos que ir al fichero Session_files_driver.php que esta en system->libraries->Session->drivers y hay buscar los métodos open, read, write, destroy, close, gc y encima de la declaración de la función hay que poner:#[\ReturnTypeWillChange]
Como veis en la imagen:
Y esto es todo, feliz programming
Saludos
Alex
/
También puede interesarte:
![]() |
||
![]() |
||
![]() |
Como crear un menú desplegable en PHP, HTML, CSS y javascript / jquery |
|
![]() |
||
![]() |
||
![]() |