Time objects can break session |
Error
Invalid serialization data for DateTime object SYSTEMPATH/Session/Session.php at line 1005 Code: 998 if (ENVIRONMENT === 'testing') Now this is puzzling. I found this fix: https://github.com/codeigniter4/CodeIgni...78b1bdc1b3 But when I look at the current code on GitHub, Time::__wakeup() is not there. I added this function to my version of the Time class and so far it seems to be working fine. |
Messages In This Thread |
Time objects can break session - by Jan Zelenka - 02-11-2022, 01:03 AM
RE: Time objects can break session - by paulbalandan - 02-11-2022, 01:31 AM
RE: Time objects can break session - by Jan Zelenka - 02-11-2022, 09:18 AM
RE: Time objects can break session - by kenjis - 02-11-2022, 06:03 PM
RE: Time objects can break session - by paulbalandan - 02-11-2022, 08:11 PM
|