XF 1.2 Deleted User liked - no one deleted

Big Dan

Active member
Hi Guys,

I have an issue on my board in my moderators forum. See the attached screenshot. One of my posts says (deleted user) thanked my post. Problem is none of my staff members have been deleted and no one else has permission to view the forum.

Any idea on what would cause this? Ordinally I'd just chalk it up as a fluke but since it's a sensitive area I'm a bit worried.

deleted-user.PNG
Thanks,
Dan
 

Mike

XenForo developer
Staff member
Have you merged any users? That triggers a user delete as well.
 

Mike

XenForo developer
Staff member
You'd need to look into the database to see the user IDs that are listed to have liked the content (xf_liked_content table).
 

Jeremy

Well-known member
I believe it does, but if I remember correctly, those displays are cached, so until a like action is performed on the specific posts it remains attributed to the old user.
 

Mike

XenForo developer
Staff member
It does move them, though there's a case where they're actually the same people. (And there could always be a bug.)
 

Jeremy

Well-known member
I stand corrected, I missed that bug fix. I'd go with what Mike said in the previous post then.
 

Big Dan

Active member
You'd need to look into the database to see the user IDs that are listed to have liked the content (xf_liked_content table).
It gets weirder. The post ID is 528155.

The database only shows 2 likes which are displayed within Xenforo plus the (deleted user).

like-sql.PNG
 

Mike

XenForo developer
Staff member
Since you blanked out the name(s), it looks like/I assumed that there were only 2 people that liked the post: one valid one and one "deleted user". Is that not the case?

But in general, that seems to imply that it might just be a cache bug. Liking and unliking the post should fix it.
 

Big Dan

Active member
Since you blanked out the name(s), it looks like/I assumed that there were only 2 people that liked the post: one valid one and one "deleted user". Is that not the case?

But in general, that seems to imply that it might just be a cache bug. Liking and unliking the post should fix it.
Actually 2 people and a third deleted user are listed as likers. I'll chalk it up to a fluke. I was just worried as it's the moderator's forum.
 

Jeremy

Well-known member
Is it from an import? From what software? I believe at least the vBulletin and IPB importers import certain items as likes and may have carried one over.
 

Big Dan

Active member
Is it from an import? From what software? I believe at least the vBulletin and IPB importers import certain items as likes and may have carried one over.
It's from an imported vB 4 board. This phantom like was on a post added after the import though.
 
Top