The following warnings occurred: | ||||||||||||
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
|
![]() |
4.3.10 login.php warning - Printable Version +- UserSpice (https://userspice.com/forums) +-- Forum: Support Center (https://userspice.com/forums/forumdisplay.php?fid=23) +--- Forum: UserSpice 4.3 and Below (https://userspice.com/forums/forumdisplay.php?fid=26) +--- Thread: 4.3.10 login.php warning (/showthread.php?tid=901) |
4.3.10 login.php warning - gerald - 01-03-2018 I get this warning when ever I login to UserSpice: Code: PHP Notice: Undefined variable: id in users/login.php on line 108 Changing $id to $user->data()->id line 108 of users/login.php makes the warning disappear: Code: $db->query("UPDATE users SET last_confirm = NOW() WHERE id = ?",array($user->data()->id)); 4.3.10 login.php warning - Brandin - 01-03-2018 Thanks for this! I've deployed a hotfix. |