I host my WordPress (v5.4.2) blog on 000webhost.com and I am unable to save any post with emoji characters. I get this error Updating failed. Could not update post in the database

I have tried changing these lines in wp-config.php

define( 'DB_CHARSET', 'utf8mb4' );

define( 'DB_COLLATE', 'utf8mb4_unicode_ci' );

I also migrated all my tables in MySQL to utf8mb4_unicode_ci with the below step. enter image description here

But none of these worked, what I am missing? Please help My WordPress version: 5.4.2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.