cwrichardson
Forum Replies Created
-
Forum: Developing with WordPress
In reply to: wp-env can’t connect to database@bcworkz — yes, I had tried all of those things.
@jdub233 — I never did find out exactly what was causing the problem, but I guess it was a corrupted docker image cached somewhere. Previously, removing docker and reinstalling had not fixed it; however, removing NPM NVM and Docker and reinstalling all 3 resolved the issue for me. ¯\_(ツ)_/¯
Forum: Plugins
In reply to: [RSVP and Event Management] Note vs. Custom MessageOK, thanks! That makes sense.
In that case, I’d like to add as a “nice to have” feature, the ability to add the note when manually adding guests. The use case is, you have people who for whatever reason don’t RSVP with the form (they send an email, a twitter direct message, or a physical card … all of which have happened for this event 🙂 ), and it would be nice to capture the message they actually send in one place when I manually add them.
Forum: Plugins
In reply to: [RSVP and Event Management] registration not working / how to debug?Also, I just saw your email. All good!
Forum: Plugins
In reply to: [RSVP and Event Management] registration not working / how to debug?Hmm. This didn’t seem likely, as the utf8mb4 upgrade came in WordPress 4.2, and this site is only about 5 months, but, just to double check, I
- Put an emoji in a post comment (it worked fine)
- Checked the character encoding for tables in the database
This was weird. The appropriate WordPress tables are utf8mb4:
mysql> SHOW FULL COLUMNS FROM wp_comments WHERE Field="comment_content"; | Field | Type | Collation | | comment_content | text | utf8mb4_unicode_520_ci |But, indeed, the RSVP plugin is set to regular utf8:
mysql> SHOW FULL COLUMNS FROM wp_attendees WHERE Field="note"; | Field | Type | Collation | | note | text | utf8_unicode_ci |So … I changed it:
mysql> ALTER TABLE wp_attendees MODIFY note text CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_520_ci;Woohoo! Problem solved!
So, thanks for the help, and all good at my end! But, why would it have created it that way in the first place?
Forum: Plugins
In reply to: [RSVP and Event Management] registration not working / how to debug?Hey Mike,
Thanks for getting back to me! I’ll send a similar note by email, so we can go back and forth if necessary, but, I have an update:
Upon further investigation, it appears to be completely replicable. The problem has something to do with text in the comments box. The system indicates success, but silently fails, if there are certain characters in the comment box. An emoji smiley will demonstrate the problem:
😊Unfortunately, I’m not seeing any errors in either the PHP or database logs, but I guess this discovery does make it more urgent — hopefully I don’t have a bunch of people showing up to my wedding that I don’t know about, because they put smiley faces in their comments 🙂