Fatal error: Uncaught exception 'Exception' with message 'SafeMySQL: Illegal mix of collations (cp1251_general_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE) for operation 'regexp'. Full query: [SELECT DISTINCT sizeWear,materForFilter,proizv,strana,colorForFilter,id,name,price,lenght,diameter,mater,partner,ct_id FROM my_table WHERE ct_id REGEXP '(^|[^0-9])28([^0-9]|$)' AND proizv REGEXP '(^|[^0-9])������������������([^0-9]|$)' AND kol>0 ORDER BY price; ]' in /home/bh58420/public_html/safemysql/safemysqlClass.php:366 Stack trace: #0 /home/bh58420/public_html/safemysql/safemysqlClass.php(225): SafeMySQL->error('Illegal mix of ...') #1 /home/bh58420/public_html/safemysql/safemysqlClass.php(53): SafeMySQL->rawQuery('SELECT DISTINCT...') #2 /home/bh58420/public_html/categoryIS.php(210): SafeMySQL->query('SELECT DISTINCT...', 'ct_id REGEXP '(...', '', '', '', '', '', '', 'AND proizv REGE...', '', '') #3 {main} thrown in /home/bh58420/public_html/safemysql/safemysqlClass.php on line 366