phpBB : Critical Error

Error doing DB query userdata row fetch

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 2

SELECT u.*, s.* FROM bb_sessions s, bb_ u WHERE s.session_id = 'aa23ef23f2269057b6acb3b243e873e7' AND u.user_id = s.session_user_id

Line : 315
File : sessions.php