-
Notifications
You must be signed in to change notification settings - Fork 642
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
After upgrading to Craft 3.2 I have problems saving entries with a date field. #4508
Comments
Okay. I'm sorry. That was my problem. I have emotjis in the text which cause the error! :( Please close the issue! |
You had emojis in the date field? Or a different field type? |
No, a Plain Text Field. |
Emojis should be getting converted to shortcodes in the backend. Do you remember which emoji character(s) were triggering this so we can look into it? |
‘that, and convincing your phone you’re not talking about cake recipes 🍰’
|
I have the problem in several installations after updating to 3.2. In version 3.1.x I have no problems. What can I do? How can I activate emoji-shortcode? |
@handplant it just happens automatically. What exactly are you doing? |
@brandonkelly Nothing special. Update to 3.2 without problem. After that I try to save this emoji 😃 in a plain text field. The draft is saved in the background without problems. After click "Update entry" the following error occurs: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xF0\x9F\x98\x80 \xF0...' for column |
Doh, I guess I should have tested actually saving entries with emojis, rather than just ensuring draft saving was working :) Just fixed this for the next release. To get the fix early, change your "require": {
"craftcms/cms": "dev-develop#43d22b4403fb555e1d8db3efc4b9978071b1deb5 as 3.2.0",
"...": "..."
} Then run |
I'm experiencing this too: nystudio107/craft-seomatic#606 (comment) |
Description
After saving a change in an entry with date field, the following message appears:
Internal Server Error
Server Error
The web logfile contains the following:
PDOException: SQLSTATE[22007]: Invalid datetime format: 1366 Incorrect string value: '\xF0\x9F\x98\x8E? ...' for column
mysite
.revisions
.snapshot
at row 1 in /vendor/yiisoft/yii2/db/Command.php:1290Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: