Database server error reply:
ErrNo #1267
Illegal mix of collations (utf8mb4_unicode_ci,IMPLICIT) and (utf8mb4_unicode_ci,IMPLICIT) for operation '='
SQL=CREATE VIEW `rfx4t_xtdir_promosection_dynamic_view` AS select `t`.`section` AS `section_id`,`t`.`id` AS `entry_id`,`promo`.`ordering` AS `ordering`,`promo`.`promotype_id` AS `promotype_id`,`promo`.`tiertype_id` AS `tiertype_id`,NULL AS `promoentry_id`,NULL AS `promoorder_id` from (((`rfx4t_xtdir_trees` `t` join `rfx4t_sobipro_object` `o` on(((`t`.`id` = `o`.`id`) and (`o`.`oType` = 'entry')))) join `rfx4t_xtdir_promotions` `promo` on(((`t`.`section` = `promo`.`section_id`) and (`promo`.`category_id` = 0) and (`promo`.`published` = 1) and (`promo`.`tiertype_id` = 'D')))) left join `rfx4t_xtdir_promosection_paid_view` `psp` on((`t`.`id` = `psp`.`entry_id`))) where (isnull(`psp`.`entry_id`) and ((`t`.`id` = (select `opt`.`sid` from `rfx4t_sobipro_field_option_selected` `opt` where ((`opt`.`sid` = `t`.`id`) and (`opt`.`fid` = `promo`.`field_id`) and (convert(`opt`.`optValue` using utf8mb4) = `promo`.`field_value`)) limit 1)) or (`t`.`id` = (select `d`.`sid` from `rfx4t_sobipro_field_data` `d` where ((`d`.`sid` = `t`.`id`) and (`d`.`fid` = `promo`.`field_id`) and (convert(`d`.`baseData` using utf8mb4) = `promo`.`field_value`)) limit 1))))
Raw query text:
CREATE VIEW `#__xtdir_promosection_dynamic_view` AS select `t`.`section` AS `section_id`,`t`.`id` AS `entry_id`,`promo`.`ordering` AS `ordering`,`promo`.`promotype_id` AS `promotype_id`,`promo`.`tiertype_id` AS `tiertype_id`,NULL AS `promoentry_id`,NULL AS `promoorder_id` from (((`#__xtdir_trees` `t` join `#__sobipro_object` `o` on(((`t`.`id` = `o`.`id`) and (`o`.`oType` = 'entry')))) join `#__xtdir_promotions` `promo` on(((`t`.`section` = `promo`.`section_id`) and (`promo`.`category_id` = 0) and (`promo`.`published` = 1) and (`promo`.`tiertype_id` = 'D')))) left join `#__xtdir_promosection_paid_view` `psp` on((`t`.`id` = `psp`.`entry_id`))) where (isnull(`psp`.`entry_id`) and ((`t`.`id` = (select `opt`.`sid` from `#__sobipro_field_option_selected` `opt` where ((`opt`.`sid` = `t`.`id`) and (`opt`.`fid` = `promo`.`field_id`) and (convert(`opt`.`optValue` using utf8mb4) = `promo`.`field_value`)) limit 1)) or (`t`.`id` = (select `d`.`sid` from `#__sobipro_field_data` `d` where ((`d`.`sid` = `t`.`id`) and (`d`.`fid` = `promo`.`field_id`) and (convert(`d`.`baseData` using utf8mb4) = `promo`.`field_value`)) limit 1))))
I read online that using Admintools to change the database collation to “UTF-8 Multibyte” will solve this issue. I have AdminTools installed too.
Is this the solution?
I've never done this before and fear I may break the site and not be able to restore it from backups!
What do you advise?
Thank you