• Hello, I having a problem using Emojis with my website. For some reason, they are unable to save after adding them and I get a message that says “Updating failed. Could not update post in the database.”

    Is there a reason for this error?

    I noticed the Emoji’s are written in code, and the 4-digits are working fine, however, the 5-digits are unable to save on the page.

    If anyone has a solution to this, please let me know…

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi?@wvanskaik,

    It seems like you’re facing an issue with saving and displaying emojis on your website. The problem could be related to the encoding or handling of emojis in your database, especially with 5-digit emojis, which are often represented as Unicode code points.

    Make sure you have added these to your wp-config.php:

    define('DB_CHARSET', 'utf8mb4');
    define('DB_COLLATE', 'utf8mb4_unicode_ci');

    If issue persists after setting the config above, you can try to check your collation settings on your phpMyAdmin. Make sure your collation settings is set to the recommended: utf8mb4_unicode_ci , you may check this article on how to set it.

    Make sure to backup your database before making any changes!

    All the best!

Viewing 1 replies (of 1 total)
  • The topic ‘Using Emojis with a WordPress Website’ is closed to new replies.