Title: Captcha with error
Last modified: October 10, 2020

---

# Captcha with error

 *  Resolved [Rodrigo](https://wordpress.org/support/users/vejapixel/)
 * (@vejapixel)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/captcha-with-error/)
 * Hello guys,
 * I have activated Captcha to avoid spam comments as they were frequent.
 * But I received complaints from users trying to comment but can’t.
 * I did a test trying to comment (without being logged in), and the Captcha is 
   really in trouble. I enter the data, type the mathematical result, but when I
   click on comment I’m redirected to the /wp-comments-post.php page with the message
   saying that I typed the wrong Captcha, but it’s correct: [https://prnt.sc/uwhi3s](https://prnt.sc/uwhi3s)
 * So, I refresh the page, but I realized that the mathematical code doesn’t change.
   
   For example, Captcha shows me the mathematical calculation of 6 + 10, ([https://prnt.sc/uwhlcf](https://prnt.sc/uwhlcf)),
   so I type 16, but it shows me an error as I informed above. So I refresh the 
   page and it still shows 6 + 10. I force the browser update with Ctrl + F5, however,
   it still shows 6 + 10. I clear the cache, and it still shows 6 + 10.
 * Do you know tell me what’s going on?
 * Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/captcha-with-error/#post-13516534)
 * Hi, do you have a cache plugin installed in your site? Or do you have a cache
   system running in your server? If you do and you don’t configure them properly
   they can cause this type of issue.
 * Thank you
 *  Thread Starter [Rodrigo](https://wordpress.org/support/users/vejapixel/)
 * (@vejapixel)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/captcha-with-error/#post-13517226)
 * Yes, I have the WP-Rocket plugin.
    I cleared the cache via WP-Rocket and the 
   numerical calculation was updated.
 * What should the WP-Rocket configuration be like for it to work correctly as the
   captcha for All In One WP Security?
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/captcha-with-error/#post-13518007)
 * Hi,
 * Unfortunately I don’t use WP-Rocket cache plugin. You will have to work out what
   exclusion you have to add to your cache plugin in order for our captcha to work
   correctly.
 * Let me know when you find out the solution. You might also like to share it here
   for others who might run into the same issue as you.
 * Thank you
 *  Thread Starter [Rodrigo](https://wordpress.org/support/users/vejapixel/)
 * (@vejapixel)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/captcha-with-error/#post-13520066)
 * I checked with the WP-Rocket team and they reported that your captcha will not
   be able to work with WP-Rocket because the captcha loads oem php on the page 
   instead of javascript.
 * See their answer:
 * > I am sorry about the issue!
   > It looks like this captcha is not compatible with page caching.
   > It seems to be using PHP code to generate the captcha for each page load, rather
   > than JavaScript. It prints the result in the HTML that is being cached. You
   > can see the screenshot of the source code here: [https://jmp.sh/OyWhaE4](https://jmp.sh/OyWhaE4)
   > 
   > At this point, the cache has to be cleared so that captcha can be updated again.
   > It would need to use JavaScript in order to be compatible with page caching.
   > You may consider using some other solution, like, for example, Google reCaptcha.
   > There is also an Invisible reCaptcha solution that my teammates shared with
   > our customers before. It should also be fully compatible with caching:
   >  [https://developers.google.com/recaptcha/docs/invisible](https://developers.google.com/recaptcha/docs/invisible)
 *  Plugin Contributor [mbrsolution](https://wordpress.org/support/users/mbrsolution/)
 * (@mbrsolution)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/captcha-with-error/#post-13520491)
 * Hi, thank you for providing more information. I have submitted a message to the
   developers to investigate further your issue.
 * Thank you
 *  Thread Starter [Rodrigo](https://wordpress.org/support/users/vejapixel/)
 * (@vejapixel)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/captcha-with-error/#post-13523447)
 * Thanks for listening!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Captcha with error’ is closed to new replies.

 * ![](https://ps.w.org/all-in-one-wp-security-and-firewall/assets/icon-256x256.
   png?rev=2798307)
 * [All-In-One Security (AIOS) – Security and Firewall](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/)
 * [Active Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/all-in-one-wp-security-and-firewall/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Rodrigo](https://wordpress.org/support/users/vejapixel/)
 * Last activity: [5 years, 8 months ago](https://wordpress.org/support/topic/captcha-with-error/#post-13523447)
 * Status: resolved