Support » Fixing WordPress » Comments not displayed after 5.5 update

  • brucesherwood

    (@brucesherwood)


    I have a WordPress site at brucesherwood.net, hosted at siteground.com. I just noticed that a recent automatic update to WordPress 5.5 made all comments associated with posts no longer being displayed. There remained the comments header “12 Responses to A Flat Earth?”, and in admin I could see that the comments still existed, and that there were 12 of them for that post. But beneath the header nothing was displayed. The solution proposed by siteground was to backup previous to the upgrade to 5.5, and they did that for me, so the comments are again visible. However, I am now of course seeing the warning “WordPress 5.5 is available! Please update now.” So I’m nervous.

    I don’t know where in the admin machinery I can find the current (backed-up) version number, but since siteground makes a point of keeping WordPress up to date, what I’m now using is presumably the version that immediately preceded 5.5.

    The site has two plug-ins, Akismet Anti-Spam 4.1.6 and Jetpack 8.6.1 Also, Gutenberg 8.2.1 is listed with Activate in blue and Delete in red; not clear to me whether that means it is being used. Note that these version numbers may be lower than the versions in use when I encountered the problem, since the site has been backed up. The theme is Twenty Ten. The site feels pretty vanilla-flavored; I don’t do anything fancy with WordPress.

    It didn’t occur to me to clear the Chrome cache nor a possible siteground cache, but in my software development work I often clear the Chrome cache, and had done so as recently as a few days ago, so that’s probably not the problem.

    • This topic was modified 1 month ago by t-p. Reason: Moved to Fixing WordPress from Alpha/Beta/RC

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • cxwebexperts

    (@cxwebexperts)

    Hi,

    If you still need help with this, send me your admin securely and I will assist you with the fix. Do note that we have to follow the forum rules.

    brucesherwood

    (@brucesherwood)

    I’m sorry, but I’m new to this forum and don’t understand what I need to do. What is meant by “send me your admin securely”? Is this a known problem? Am I the only one affected by the update to 5.5?

    richarda75

    (@richarda75)

    I have the same problem
    In stead of the comment , i have : One Response to
    it seems to be a bug

    brucesherwood

    (@brucesherwood)

    Misery loves company! I’m sorry for you, but I’m glad to hear that it’s not just me, and that the behavior is exactly the same as I experience.

    amardeo

    (@amardeo)

    In our case it seems to be a combination of the update with a specific template, see also this explanation https://www.cryoutcreations.eu/forums/t/comments-not-appearing-since-upgrading-to-wordpress-5-5 for the template Mantra.

    We did the following (different template):

    In functions.php of our template, after the line:
    case ”:
    we added one more line:
    case ‘comment’ :
    As for the Mantra template, it seems like WordPress 5.5 has set a specific value for the array key comment_type of the object WP_Comment, the value now being “comment”, different from earlier versions. I have not seen this confirmed elsewhere, but it seems to make sense.

    So I guess all templates that do not allow this value will not allow any comments to be seen.

    The fix worked for us. But I take no responsibility that it will work for any other configuration.

    brucesherwood

    (@brucesherwood)

    I re-installed 5.5. Following one of the suggestions for fixing the problem, in the file

    …brucesherwood.net/wp-content/themes/twentyten/functions.php

    in the function twentyten_comment(), after “case ” :” I added “case ‘comment’:” and I now see the comments. Many thanks for the help!

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.