phpBB : Critical Error

Error creating new session

DEBUG MODE

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

INSERT INTO phpbb_sessions (session_id, session_user_id, session_start, session_time, session_ip, session_page, session_logged_in, session_admin) VALUES ('577a583a526c81f27f53c1288b9a5bb7', -1, 1540361171, 1540361171, '365ca369', 7, 0, 0)

Line : 187
File : sessions.php