Support Forum

Emoji in Topic Title Breaks Page Load on Replies

Here and Now
Platinum Members
Nov 1, 2017 - 5:39 pm

OK, this is more of a report than a request for a fix, since personally I hate emojis and feel they have no place in forum topic titles. But I digress...

Our forum members started reporting an issue where the topic page would not load after posting a reply. After hitting submit, they instead got the error "That topic does not exist. One member shared this screenshot...

486C677F-644E-4425-83D2-8569F13C2113-e1509562200399.jpgImage Enlarger

I confirmed the issue: I replied to the topic, but on page reload, I got this same error. Then I reloaded the topic and my reply was there. Then...

I noticed the member who started the topic included an emoji in the topic title...

Screen-Shot-2017-11-01-at-2.32.54-PM.pngImage Enlarger

I also noticed the actual slug of the topic on the page with the error after attempting to reply...

Something is apparently chewing up the emoji and spitting it back out in the topic URL when posting a reply.

My fix was to simply add a custom message above the new topic post editor that says "Please do NOT use emojis in topic title!"

I understand the issue may have something to do with the character set or collation of the sp database tables, which I don't necessarily care to mess with just for this. But I did find it interesting enough to report here.


Mr Papa
Simi Valley, CA
Free Members
Nov 1, 2017 - 8:54 pm

will have to run some tests...  since we sanitize the title, a bit surprised... but then again, the way WP has forced those emojis down our throat....