Threading broken: new replies don’t save the relation to the existing comment
-
Hello,
I’m a long-time self-hosted WordPress user (18 years) and reasonably competent web developer, but one of my sites has a strange bug I can’t diagnose, which occurs whenever a visitor attempts to reply to an existing comment on a post by clicking the front-end comment reply button and submitting the comment form.
The expected behaviour is that the new comment appears in the thread of the existing comment as a reply (obviously!). In the database, the new comment should have a
comment_parent
value matching thecomment_ID
of the existing comment.Instead, the reply appears as a new, unthreaded comment, and in the database is missing the
comment_parent
value.This appears to be the case for all guest visitors to the site, regardless of user agent or device.
Worth mentioning that if I reply to a comment from the front end as a logged-in admin user, the reply does indeed appear as expected. If I reply to a comment from the back end, it also appears as expected.
I have been running the site with this issue since about 2020 using the Twenty Twenty theme, and tried multiple times to diagnose and fix it with no success. Disabling Jetpack Comments does not help. Switching to a clone of the production site does not help. Even switching to a brand new theme, as I did a couple of weeks ago to Twenty Twenty Four, does not help.
What I would find helpful is a starting point for debugging the issue, given that I have some knowledge of web development. I know that the standard advice is to reinstall WordPress, but that is a drastic measure I’d rather not take unless there really is no other way. Also, I like solving problems, just need a steer on this one from someone more experienced ??
Thanks in advance!
The page I need help with: [log in to see the link]
- The topic ‘Threading broken: new replies don’t save the relation to the existing comment’ is closed to new replies.