Hoppsan, ett fel har uppstått!

256: SQL error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '='
SQL errno: 1267

SQL: select id from lineNames where oldname=? order by id
URL: /index2.php?type=other&line=95ก
#0 errorHandler(256, SQL error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '=' SQL errno: 1267
SQL: select id from lineNames where oldname=? order by id , /customers/a/6/1/transitbangkok.com/httpd.www/include/database.inc.php, 79) #1 trigger_error(SQL error: Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8mb4_general_ci,COERCIBLE) for operation '=' SQL errno: 1267
SQL: select id from lineNames where oldname=? order by id , 256) called at [/customers/a/6/1/transitbangkok.com/httpd.www/include/database.inc.php:79] #2 check_db_error(mysqli Object ([affected_rows] => ,[client_info] => ,[client_version] => ,[connect_errno] => ,[connect_error] => ,[errno] => ,[error] => ,[error_list] => ,[field_count] => ,[host_info] => ,[info] => ,[insert_id] => ,[server_info] => ,[server_version] => ,[sqlstate] => ,[protocol_version] => ,[thread_id] => ,[warning_count] => ), select id from lineNames where oldname=? order by id) called at [/customers/a/6/1/transitbangkok.com/httpd.www/include/database.inc.php:62] #3 query(select id from lineNames where oldname=? order by id, s, 95ก) called at [/customers/a/6/1/transitbangkok.com/httpd.www/include/database.inc.php:240] #4 findValue(select id from lineNames where oldname=? order by id, , s, 95ก) called at [/customers/a/6/1/transitbangkok.com/httpd.www/include/transitbangkok.inc.php:532] #5 loadGlobals() called at [/customers/a/6/1/transitbangkok.com/httpd.www/index2.php:23]