SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6): Invalid SQL: SELECT COUNT(articleid) FROM bb1_lexika WHERE visible = 1 AND catid IN (1,2,3) AND INSTR('ABCDEFGHIJKLMNOPQRSTUVWXYZ',UCASE(LEFT(topic,1)))=0
mysql error: Illegal mix of collations (utf8mb4_general_ci,COERCIBLE) and (latin1_swedish_ci,IMPLICIT) for operation 'instr'
mysql error number: 1267
mysql version: 5.7.22-log
php version: 5.4.45
Date: 19.09.2019 @ 20:54
Script: /lex.php?action=letterlist&catid=0&letter=%23
Referer: