SQLSTATE[HY000]: General error: 1270 Illegal mix of collations (utf8_general_ci,COERCIBLE), (utf8_unicode_ci,COERCIBLE), (utf8_unicode_ci,COERCIBLE) for operation 'replace' #1703
I got the same error like issue #222. If I want to create a directory or want to synchronise the files, I get:
An exception occurred while executing 'SELECT UNHEX(REPLACE(UUID(), '-', '')) AS uuid UNION ALL SELECT UNHEX(REPLACE(UUID(), '-', '')) AS uuid UNION ALL SELECT UNHEX(REPLACE(UUID(), '-', '')) AS uuid UNION ALL SELECT UNHEX(REPLACE(UUID(), '-', '')) AS uuid UNION ALL SELECT UNHEX(REPLACE(UUID(), '-', '')) AS uuid UNION ALL SELECT UNHEX(REPLACE(UUID(), '-', '')) AS uuid UNION ALL SELECT UNHEX(REPLACE(UUID(), '-', '')) AS uuid UNION ALL SELECT UNHEX(REPLACE(UUID(), '-', '')) AS uuid UNION ALL SELECT UNHEX(REPLACE(UUID(), '-', '')) AS uuid UNION ALL SELECT UNHEX(REPLACE(UUID(), '-', '')) AS uuid':
SQLSTATE[HY000]: General error: 1270 Illegal mix of collations (utf8_general_ci,COERCIBLE), (utf8_unicode_ci,COERCIBLE), (utf8_unicode_ci,COERCIBLE) for operation 'replace'
Same error at three different installations. So I tried a brand new 4.8.4 installation by contao-manager.phar.php – same error:
I could solve the problem for me by editing vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database.php:
I got the same error like issue #222. If I want to create a directory or want to synchronise the files, I get:
Same error at three different installations. So I tried a brand new 4.8.4 installation by contao-manager.phar.php – same error:
I could solve the problem for me by editing
vendor/contao/core-bundle/src/Resources/contao/library/Contao/Database.php
:some informations about my system:
php 7.3 dev-db/mariadb 10.4.8