Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

General error: 1271 Illegal mix of collations for operation #291

Open
kzielin opened this issue May 13, 2018 · 0 comments
Open

General error: 1271 Illegal mix of collations for operation #291

kzielin opened this issue May 13, 2018 · 0 comments

Comments

@kzielin
Copy link

kzielin commented May 13, 2018

I'm getting "General error: 1271 Illegal mix of collations for operation" during adding specific data to field, which has unique restriction. Appears only when I'm adding data with signs specific in my language, for example: ą ć ę ń etc. I belive, this line should look like below:

$col .= "unique:" . $module->name_db . ",deleted_at,NULL";

$col .= "unique:".$module->name_db.",".$field['colname'].",NULL";

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant