SQL Error: Illegal mix of collations (cp1251_general_ci,IMPLICIT) and (utf8_bin,COERCIBLE) for operation '=' at /var/www/daytrader/blog.daytrader.com.ua/classes/modules/topic/mapper/Topic.mapper.class.php line 587
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 blog_topic_tag WHERE topic_tag_text = 'домашка на интрадей' ORDER BY topic_id DESC LIMIT 0, 10 ) as tt JOIN blog_topic AS t ON tt.topic_id=t.topic_id JOIN blog_user AS u ON t.user_id=u.user_id JOIN blog_blog AS b ON t.blog_id=b.blog_id LEFT JOIN ( SELECT topic_id, vote_delta FROM blog_topic_vote WHERE user_voter_id = -1 ) AS tv ON tt.topic_id=tv.topic_id LEFT JOIN ( SELECT topic_id FROM blog_favourite_topic WHERE user_id = -1 ) AS ft ON tt.topic_id=ft.topic_id LEFT JOIN ( SELECT topic_id FROM blog_topic_question_vote WHERE user_voter_id = -1 ) AS tqv ON tt.topic_id=tqv.topic_id LEFT JOIN blog_topic_content AS tc ON tt.topic_id=tc.topic_id order by t.topic_id desc ; [context] => /var/www/daytrader/blog.daytrader.com.ua/classes/modules/topic/mapper/Topic.mapper.class.php line 587 )