[wp-trac] [WordPress Trac] #49355: "Publishing failed. Error message: Could not update post in the database" caused by encoding

WordPress Trac noreply at wordpress.org
Tue Feb 4 01:30:57 UTC 2020


#49355: "Publishing failed. Error message: Could not update post in the database"
caused by encoding
--------------------------+-----------------------------
 Reporter:  1000camels    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  5.3.2
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 I have some text that I am copying into the title of a post. I get the
 following error:

 "Publishing failed. Error message: Could not update post in the database"

 The text is:

 𝐀 𝐖𝐢𝐧 𝐟𝐨𝐫 𝐚 𝐉𝐮𝐬𝐭𝐢𝐜𝐞 𝐂𝐞𝐧𝐭𝐫𝐞 𝐂𝐥𝐢𝐞𝐧𝐭!

 I am having trouble understanding what encoding this text is.

 Why is this failing to save to the database? My database is set to
 utf8mb4. Why WordPress is choking on it?

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/49355>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list