phpBB : Critical Error

Error creating new session

DEBUG MODE

SQL Error : 1062 Duplicate entry '-1' for key 2

INSERT INTO phpbb_sessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin) VALUES ('d4f89e520e0384489583b3e54b2b604a', -1, 1642369946, 1642369946, '36ac8708', -2, 0, 0)

Line : 189
File : sessions.php