comments are marked as spam. Reason “Empty Data”
-
On my site, author, email and website are not mandatory for comments. Since the last update, all comments where these fields are not filled in are marked as spam.
The page I need help with: [log in to see the link]
-
Hi @norman0,
are you behind a proxy server?The only reason I can think of which could cause an issue like that in the last update is mentioned in our changelog:
IMPORTANT: If you use the country check and are behind a proxy or similar, you need to use the
pre_comment_user_ipfilter to get the correct IP from a header likeHTTP_X_FORWARDED.The reason “Empty Data” for spam comments can have 3 technical reasons (see GitHub):
- The body of the comment is empty, but the
allow_empty_commentfilter is not set to true. - The user IP is empty (maybe because your proxy is sending the IP in a different header and REMOTE_ADDR is empty). Then you need to use
pre_comment_user_ipto set up the correct header as source for the real user IP. - The name or email is empty, and the discussion setting is set to require filling it out.
It looks like you disabled (3) and (1) is only for the body of the comment and as we changed the system for (2) in 2.11.4 because it is not reliable, it looks much like this is the culprit here.
Hope this helps to fix the issue! If not reply again and we try to help you to fix it.
All the best
TorstenHi Thorsten,
thank you for your answer. The missing IP address is the problem. I use the “GDPR tools: comment ip removal” plugin. This immediately removed the IP of the commenter. I have now changed this and will only delete the IP after a few days. With this, it works again.
Can I disable the IP-check in the plugin?
Best regards Norman
Hello there,
We are experiencing the very same issue on about 30 WP-domains.
Therefore, I would like to ask you:
“Can I disable the IP-check in the plugin?” -> is this possible?
Best,
Roman
-
This reply was modified 2 years, 8 months ago by
Roman.
Hi @norman0, @roman17trushanov,
I think this could be caused by using the core filter here. I will check with the team and maybe we need to use an own filter to fix this.
Sorry for the inconvenience!
All the best, Torsten
Hi Thorsten,
no problem. For me there is a workaround.
best regards
Norman
“I think this could be caused by using the core filter here. I will check with the team and maybe we need to use an own filter to fix this.”
Looking forward for updates! Since we are subjected to the German GDPR-regulations, we can´t store any IP-adresses at all, even for a short period of time.
Since we are subjected to the German GDPR-regulations, we can´t store any IP-adresses at all, even for a short period of time.
IMHO you are allowed to store IP addresses (for a short amount of time) if it is necessary for your service. You could argue that spam fighting is essential and the IP address is fundamental important for this.
Every judge at any court need to look at the single case and maybe this is not true for every case, but if you have many comments it will get more likely. But I am not a lawyer, this is just my understanding of the issue.
But even if there is a workaround: We will fix this in some way, that omitting the IP address will be possible again.
All the best,
TorstenSame Problem here. Four WP-Sites and all comments were blocked because of “EmptyData”. Please make it possible to disable the IP-Check. Thanks!
This is fixed in development and will soon be released!
https://github.com/pluginkollektiv/antispam-bee/pull/529great, thank you!
We just released 2.11.5 which should fix this bug!
Would be great if you can confirm the fix @norman0 @gr19rute @roman17trushanov – thanks in advance!
Version 2.11.5 is working for me. Thank you!
Best regards Norman
* Fix: Usage of core filter
pre_comment_user_ipbreaks ASB if the IP address is removed for GDPR compliance -> works for the whole network of our wp-domains. Thank you very much for the timely release!The New Version works perfect! Thanks!
- The body of the comment is empty, but the
The topic ‘comments are marked as spam. Reason “Empty Data”’ is closed to new replies.