Topic: check_cookie function log message
Just wondering if anyone might be able to shed light on how to track this down. Occasionally, and I've not been able to find exactly what triggers it yet, I get this message in the server logs:
(mod_fastcgi.c.2570) FastCGI-stderr: PHP Notice: Undefined offset: 2 in include/functions.php on line 44
I'm running with E_ALL in PHP with regards to error notices, to track down any possible typo's or such which may exist, and this is the only thing which I haven't been able to sort yet. Line 44 in functions.php is:
list($cookie['user_id'], $cookie['password_hash'], $cookie['group_id']) = @unserialize($_COOKIE[$cookie_name]);
Modified cookie setup to store the group id in the cookie, but the code has been altered throughout PunBB to reflect that, so there shouldn't be a mismatch in that regard anywhere, that I know of. Any suggestions greatly appreciated. This one is doing my nut in.
Cheers,
Matt