Home › Forums › Backend Issues (wp-admin) › Emoji removed from custom fields › Reply To: Emoji removed from custom fields
I know I’m almost three years late to the party, but I was running into the same issue and couldn’t find a solution.
I tried inserting an emoji directly in the database, which prompted an error. After researching that error, it seems the field’s collation type didn’t support all emoji (but some, like 3-byte ones would work). In my case, it was set to utf8_general_ci
.
Solution: Change the field collation type to utf8mb4_general_ci
to support longer-byte emoji.
To be on the safe side, make a backup of your database before operating this change. Hope this helps other people that run into this issue! 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.