phpBB by Przemo : Critical Error

Could not obtain ban information

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'OR ban_email LIKE '' OR ban_email LIKE ''' at line 4

SELECT * FROM phpbb_banlist WHERE ban_ip IN ('17170905', '171709ff', '1717ffff', '17ffffff') OR ban_userid = OR ban_email LIKE '' OR ban_email LIKE ''

Line : 49
File : sessions.php