Every time I try posting a comment logged in as an admin, I get the following message:

[ERROR: The comment could not be saved. Please try again later.]

But when I actually go to the database, I find that the comment has been saved, but it has no comment_ID AND it shows the comment twice in the database.

When I try posting comment logged out, I get this message:

[You are posting comments too quickly. Slow down.]

So it seems each comment is posted double for some reason, and I can't figure out why. What's confusing is that this only happens on the live version on my website, the one hosted local on XAMPP works completely fine.

The only difference is that I'm running Varnish, Breeze, and Cloudflare on the live server. Could any of these be causing problems?

Figured it out. For some reason, AutoIncrement wasn't turned on on comment_ID on the live server.

Your Answer

 
discard

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.