Can’t log out an PHP application [closed]

I have an CRUD simple system made in PHPRunner. Recently I migrated PHP to last version. After that the system doesn’t log out anymore. When I test it in localhost (PHP 7.x) works perfectly, but in server (PHP 8.x) not.
I suspect it has relation with php sessions, but have no idea where start to check out.