Viewing 15 replies - 1 through 15 (of 28 total)
  • Hi there,

    Thanks for the report. Just to confirm, is this the plugin you’re talking about?
    https://wordpress.org/plugins/google-captcha/

    Best,

    Marc

    Thread Starter steve92

    (@steve92)

    Thanks. This plugin is currently closed, so I can’t download it to test. It says that it’s temporary, but it might indicate an issue with the plugin.

    Thread Starter steve92

    (@steve92)

    I tried disabling the WP-Optimize cache and then I reactivated it and now Captcha plugin works …. I don’t understand.

    If you tried only once, right after re-activating, it might be because the page wasn’t cached (it needs to be visited once to generate the cache file).

    If the captcha is loaded via PHP, it will not work the following times.
    You then might want to add the page where the captcha is to list to exclude from cache in the cache advanced settings.

    Thread Starter steve92

    (@steve92)

    I would like Captcha plugin to be excluded from the cache, this would solve the problem. Is this possible?

    Currently the only way this could happen is if the captcha is loaded via javascript (like reCaptcha for example). The whole page is stored in the cache, and at the moment we can’t add or remove parts from it. This would also reduce the efficiency of the cache system.

    Thread Starter steve92

    (@steve92)

    Now it seems to work on all pages. Probably when I deactivated and reactivated WP-Optimize, the Captcha plugin has been cached.

    Hi Steve,

    Is this the expected behaviour, or an issue (not sure from what you say above)? If it’s an issue, maybe you can share your website’s URL so I can take a look at what’s happening.

    Thread Starter steve92

    (@steve92)

    This is the URL: https://albertifoto.altervista.org

    In order to preload Captcha plugin in the WP-Optimize cache I have to disable and enable this option, then Captcha will work correctly.

    Schermata-2019-09-13-alle-08-38-18

    • This reply was modified 6 years, 9 months ago by steve92.
    • This reply was modified 6 years, 9 months ago by steve92.

    Thank you for the details.
    So you shouldn’t have to disable and enable this option.
    You can just press the Purge cache button below (not sure how it’s called in Italian).

    In any case, you shouldn’t have to purge the cache for this to work, as the captcha plugin uses javascript to enable the functionality.

    But I’ve noticed that it uses the “nonces” system, so you should set the cache lifespan option to maximum 8 hours:

    Thread Starter steve92

    (@steve92)

    So can I also set 1 hour?

    You can, but I would keep it a bit higher, otherwise the cache might not be very useful, unless if your site has many visitors per hour.

    Thread Starter steve92

    (@steve92)

    8 hours can go, but the problem with Captcha is shown when I install the updated version of the theme. If the user writes a comment in these 8 hours, this shows a Captcha error.

    • This reply was modified 6 years, 9 months ago by steve92.

    Does the error happen for the first person who comments as well, or only for the next ones?

Viewing 15 replies - 1 through 15 (of 28 total)

The topic ‘Problem with Captcha-bws plugin’ is closed to new replies.