SQL Error: Illegal mix of collations (cp1251_general_ci,IMPLICIT) and (utf8_bin,COERCIBLE) for operation '=' at /data/sites/myscrap.ru/html/classes/modules/topic/mapper/Topic.mapper.class.php line 706
Array ( [code] => 1267 [message] => Illegal mix of collations (cp1251_general_ci,IMPLICIT) and (utf8_bin,COERCIBLE) for operation '=' [query] => SELECT t.*, tc.*, u.user_login as user_login, b.blog_title as blog_title, b.blog_type as blog_type, b.blog_url as blog_url, IF(tv.topic_id IS NULL,0,1) as user_is_vote, tv.vote_delta as user_vote_delta, IF(tqv.topic_id IS NULL,0,1) as user_question_is_vote, IF(ft.topic_id IS NULL,0,1) as topic_is_favourite FROM ( SELECT topic_id FROM prefix_topic_tag WHERE topic_tag_text = '��������' ORDER BY topic_id DESC LIMIT 7, 7 ) as tt JOIN prefix_topic AS t ON tt.topic_id=t.topic_id JOIN prefix_user AS u ON t.user_id=u.user_id JOIN prefix_blog AS b ON t.blog_id=b.blog_id LEFT JOIN ( SELECT topic_id, vote_delta FROM prefix_topic_vote WHERE user_voter_id = -1 ) AS tv ON tt.topic_id=tv.topic_id LEFT JOIN ( SELECT topic_id FROM prefix_favourite_topic WHERE user_id = -1 ) AS ft ON tt.topic_id=ft.topic_id LEFT JOIN ( SELECT topic_id FROM prefix_topic_question_vote WHERE user_voter_id = -1 ) AS tqv ON tt.topic_id=tqv.topic_id LEFT JOIN prefix_topic_content AS tc ON tt.topic_id=tc.topic_id order by t.topic_id desc ; [context] => /data/sites/myscrap.ru/html/classes/modules/topic/mapper/Topic.mapper.class.php line 706 )