The effects of alcohol on sustanon 250 leucine for – real weight loss & bodybuilding benefits?
AI Assistant
Guest users cannot ...
 
Notifications
Clear all

Bug Guest users cannot vote posts – “You cannot vote for your own comment” message

2 Posts
1 Users
0 Reactions
8 Views
(@systemtree)
Posts: 5
Active Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 
[#11353]

Hello,

I would like to report a possible bug in wpDiscuz. When a visitor tries to rate a post as a guest (not logged in), the system shows the message “You cannot vote for your own comment.” However, the user is not voting on their own comment; they are simply trying to rate the post while not being logged in.

Guest ratings used to work correctly on our site, but recently this behavior changed and guests can no longer vote. The message therefore appears to be incorrect. I will also attach a screenshot of the general settings in case it helps identify the issue.

For context: the site is running behind Cloudflare.

Expected behavior: guests should be able to rate posts without being logged in, as this worked before.

Could you please check whether this is a known issue or something introduced in a recent update?

Thank you.

screencapture bmg news de wp admin admin php 2026 03 20 22 59 26

 


 
Posted : 21/03/2026 2:10 am
(@systemtree)
Posts: 5
Active Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

Small update: I checked the AJAX response in the browser console and it always returns the error “wc_self_vote”.

While debugging I noticed that guest voters seem to be identified by a hashed IP address, but later this value may be compared to the comment user ID. Since guest comments usually have a user ID of 0, this might incorrectly trigger the self-vote protection.

Just adding this information in case it helps identify the issue.


 
Posted : 21/03/2026 2:30 am