Support » Fixing WordPress » WordPress 5 – Orphaned comments.

  • Comments not linking to Article and includes a date of -0001/11/30 at 12:00 am

    Originally posed on Github as I thought it was a Gutenberg related issue: https://github.com/WordPress/gutenberg/issues/13915

    Describe the bug
    Since update of WordPress core, this error appears to be intermittent. A person submits a comment and the comment is not linked to the article they commented under, and its date format is that of -0001/11/30 at 12:00 am

    I am hoping someone else is experiencing the same thing, or has experienced the same thing and a fix is already available.

    To Reproduce
    Steps to reproduce the behavior:
    I do not know how to reproduce this behavior, it seems to be totally intermittent

    Expected behavior
    When a person comments, the comment needs to be linked to an article under which they commented, including the correct date and time.

    Screenshots
    (image removed for user privacy)

    Here is what these commentators look like in the wp_comments table: We are looking at Susan’s comment in comparison to Tom’s comment. The Image 2 leads on from Image 1:
    (image removed for user privacy)

    Desktop (please complete the following information):

    OS: [Windows 10]
    Browser [Chrome]
    Version [Version 71.0.3578.98 (Official Build) (64-bit)
    Additional context

    Gutenberg 5.0.3–en_ZA
    ** PHP database **

    PHP v 7.0.33
    —————–

    I worked alongside the Gutenberg team to make sure my site would work fine once updated to WordPress 5. But something has happened in my database with since updating to WordPress 5. I reverted back to WordPress 4.9.8 and I am no longer having problems with these orphaned comments. I deactivated all plugins during this process and activated them again over time to see if I would get these comments that are not linked to an article with a date of -0001/11/30 at 12:00 am, and so far it’s been a few weeks now and all is running smoothly.

    Response from Githug/Gutengerg is: “This sounds like an issue unrelated to Gutenberg. Could be a core bug, but I suspect it is likely a theme or plugin. Looks like from the screenshot that the comment_date_gmt is getting stored, but not the version for the timezone of the site.”

    Can someone please help.

    I want to update to WP5 but I’m a bit scared.

    • This topic was modified 2 years, 4 months ago by Pikkals.
    • This topic was modified 2 years, 4 months ago by Pikkals.
    • This topic was modified 2 years, 4 months ago by Samuel Wood (Otto). Reason: rm images that have emails and IPs in them
Viewing 1 replies (of 1 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    WordPress.org Admin

    WordPress 5 didn’t change how comments work, nor would a new editor cause anything related to comments being inserted into the database differently. The new block editor is just an interface piece, it doesn’t change the fundamental nature of posts or comments, and there were no database changes in WordPress 5.

    I’d have to agree that a theme or plugin is the underlying cause, but as you say, it’s intermittent, so that makes it difficult to diagnose.

    BTW, your pics were not fully redacted, so I removed them. I did take a look first though.

    My advice would be to update to 5.1.1 and then try to solve the problem when it happens again, instead of downgrading.

Viewing 1 replies (of 1 total)
  • The topic ‘WordPress 5 – Orphaned comments.’ is closed to new replies.