matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.89k stars 2.65k forks source link

[Bug] SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8mb4_general_ci,COERCIBLE) and (utf8mb4_uca1400_ai_ci,COERCIBLE) for operation '=' - in plugin Goals. #22566

Closed thE-iNviNciblE closed 2 months ago

thE-iNviNciblE commented 2 months ago

What happened?

1.) normaly i use the daily view, there was no error. 2.) i switched to monthly view -> "SQLSTATE[HY000]: General error: 1267 Illegal mix of collations (utf8mb4_general_ci,COERCIBLE) and (utf8mb4_uca1400_ai_ci,COERCIBLE) for operation '=' - in plugin Goals." this message occurs.

What should happen?

No Error Message.

How can this be reproduced?

i had changed my website to use the gtranslate (free google translate widget, https://gtranslate.io/) this is causing this bug. I used every language that is supported.

Matomo version

5.1.1

PHP version

8.3

Server operating system

debian 12.7

What browsers are you seeing the problem on?

No response

Computer operating system

Windows 11

Relevant log output

No response

Validations

michalkleiner commented 2 months ago

Hi @thE-iNviNciblE, there is already an existing issue for this problem (https://github.com/matomo-org/matomo/issues/22536) so I'll close this one as a duplicate - please follow progress through #22536, there's a PR already linked that should make it to a patch release reasonably soon.