Issue with comments count

Create issue
Issue #8 resolved
Former user created an issue

Hello,

I've got a SQL error in my blog when after I updated some plugins. Column cid not found in table xeor_comments_comments when calling commentsCount().

Short fix so that the page works for me: ALTER TABLE xeor_comments_comments ADD cid VARCHAR(255) NULL DEFAULT NULL AFTER thread; But obv. comments not working anymore.

Comments (3)

  1. Alexey Sozonov repo owner

    I think that function commentsCount() is custom. Since v.2 column cid was renamed to uri. So you should update you function.

  2. Tim

    Ah, you are right. It was a custom function. Would be great to mark the update as critical next time. Still got a problem, but I'm creating a new ticket.

  3. Log in to comment