• Resolved ciwib

    (@ciwib)


    Hello,

    We use the plugin since several years with no pb.
    This morning we have updated to the latest version (1.3.7) and we encounter an issue:
    – The Captcha is no more visible, so the contact messages can no more be sent.
    – So we have rolled-back to the previous version 1.3.6 (just this modification, no any other modification) … and by this way everything is ok again (so for the time being we keep the 1.3.6 version).
    All the stuff is up to date:
    – WordPress 5.8.2
    – Theme CatchEvolution 4.1.2
    – All the other plugins are up to date.

    Best regards, and thank you for your support.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Anonymous User 18794746

    (@anonymized-18794746)

    Also, update 1.3.7 is resulting in a lot of JS errors, causing crashing of other plugins. Some of these errors are shown in the image here : https://imgur.com/a/K3JIu0L

    After deactivating the plugin, the errors vanish. So, there is something messed in the update.

    Plugin Author IQComputing

    (@iqcomputing)

    Hello @ciwib,

    Our apologies for the inconvenience. We were able to install the free CatchEvolution theme but the reCaptcha here appeared as expected, no JS errors or PHP errors to report. We’ve also tested this on many of the default TwentyX themes that WordPress ships with and could not replicate this reported issue.

    We would love to see the page with the updated plugin in place so that we could view the page source to give us more information as to what scripts are loading, when, and where but we also understand this is a large ask since it breaks your contact form.

    The next step would be to install the WordPress Health Check & Troubleshooting Plugin. Doing so will allow you to safely disable plugins and revert to a default theme. You may read over their documentation for more details. Using this method, you can narrow down any conflicts with other plugins or themes. If this does turn out to be the case, you can report back here and let us know, and we can look into working with that plugin or theme developer to find a solution.

    – – – – – – – – – –

    @abhidesh128 We tested this plugin with Autoptimize in mind and could not replicate the reported issue. This image appears to have other Javascript errors not related to this plugin, such as issues with admin-bar.min.js and rocket-loader.min.js. Other Javascript errors could interfere with or prevent the reCaptcha Javascript from running. We recommend following the instructions above regarding the WordPress Health Check and Troubleshooting Plugin to help narrow down the root cause of the issue.

    Additionally, we recommend creating a separate topic for your issue so that it’s easier for all parties to follow. You may also link your website in the topic provided field so that we may view the page source, which may give us some insight into what’s going on.

    – – – – – – – – – –

    We are missing some piece of the puzzle here that’s preventing us from replicating and patching this issue. Hopefully, using the recommended tool above, you both are able to narrow down the root cause of the issue, and we can provide a patch post-haste.

    Anonymous User 18794746

    (@anonymized-18794746)

    Thanks @iqcomputing for your guidence. I was able to find out the problem by using troubleshooting mode in the Site Health plugin. The problem was not related to other plugin or theme conflicts. It was a caching issue, I guess, both at CDN and server side.

    I cleaned my CDN cache, server cache and cleaned browser cache as well. I had deactivated the plugin during this process. Finally after activation, no issues were found and Contact Form 7 is also working correctly.

    Thanks for support..!

    Thread Starter ciwib

    (@ciwib)

    Hello @iqcomputing,

    Thank you very much for your quick reply and for the information related to the WordPress Health Check & Troubleshooting Plugin (we didn’t know it but it appears to be very helpful).
    Here are the results of our tests/investigations:
    – We have temporarily activate the maintenance mode for our site.
    – We have updated your plugin (reCaptcha v2) to the latest version 1.3.7.
    – We have installed the WordPress Health Check & Troubleshooting Plugin.
    – We have set TwentyTwenty as default theme.
    – Then, just activation of the cF7 and reCaptcha v2 plugins => the captcha is available on our contact forms ??
    – Then activation of all the other plugins => the captcha is available on our contact forms ??
    – Then switch from the default theme TwentyTwenty to CatchEvolution => the captcha is no more available on our contact forms ??
    – Then deactivation of all the plugins but the cF7 and reCaptcha v2 ones => the captcha is still unavailable on our contacts forms ??
    – Then switch from CatchEvolution to TwentyTwenty => the captcha is back on our contact forms ??

    So the problem seems to be implies by the CatchEvolution theme.
    But in your remply you said you have tested it.
    So we were a little bit lost …

    After deep invetigations and “archeology” in our site history we remember a CatchEvolution theme customisation (a snippet we have introduced several years ago and honestly we don’t remember where we have found it):
    – It is at the very end of the functions.php file.
    – It allows the current language to be used in the ReCaptcha.
    – The related php code is as follows :

    /**
     * Set language for reCaptcha in Contact Form 7
     */
    remove_action( 'wpcf7_enqueue_scripts', 'wpcf7_recaptcha_enqueue_scripts' );
    add_action( 'wpcf7_enqueue_scripts', 'CatchEvolution_wpcf7_recaptcha_enqueue_scripts' );
    
    function CatchEvolution_wpcf7_recaptcha_enqueue_scripts() {
        $hl = get_locale();
    
        $url = 'https://www.google.com/recaptcha/api.js';
        $url = add_query_arg( array(
            'hl' => $hl,
            'onload' => 'recaptchaCallback',
            'render' => 'explicit' ), $url );
    
        wp_register_script( 'google-recaptcha', $url, array(), '2.0', true );
    }

    As soon as we have disabled this customisation in our functions.php file the captcha is available on all our contact forms with the CatchEvolution theme and all the plugins activated => YES !!! ??
    Moreover we have tested all our contact forms in all languages (FR, EN, ES, DE, PT, IT) and everything is OK, particularly the current language is always correctly used in the captcha.
    So it seems that this historical/legacy customisation is no more required.

    So as a conclusion:
    – No more issue for us.
    – Thank you for your plugin.
    – Thank you for your quick/useful help/support.

    Best regards.

    The plugin was so great and the new version 1.3.7 DOES NOT work! Where to download version 1.3.6? Give a link to version 1.3.6. Or what to do with it?

    • This reply was modified 3 years, 2 months ago by gosergeys.
    Plugin Author IQComputing

    (@iqcomputing)

    Hello @gosergeys

    So far, we’ve encountered no issues with update 1.3.7. If you have an issue, we recommend opening your own support thread and linking the website with the form that is having this issue.

    We also recommend installing the WordPress Health Check & Troubleshooting Plugin. Doing so will allow you to safely disable plugins and revert to a default theme. You may read over their documentation for more details. Using this method, you can narrow down any conflicts with other plugins or themes. If this does turn out to be the case, you can report back here and let us know, and we can look into working with that plugin or theme developer to find a solution.

    Finally, you can always find older version of a plugin in the plugins Advanced section. In the “Advanced Options” section, toward the bottom is a select box with all the different plugins version you can select to download. Hopefully, using the information above, you’re able to find a resolution to your issue.

    Wow) SUPER! Plugin old version 1.3.6 works great! And 1.3.7 DOES NOT WORK! I installed version 1.3.6 again, everything is fine. THANK YOU!

    Want to point out i also had to downgrade to 1.3.6 to make it work. 1.3.7 did indeed not work on my site.

    Plugin Author IQComputing

    (@iqcomputing)

    Hello @tonyntje

    If you would like to get to the bottom of the issue please open a new thread with further details. It’s much easier to track issues when each one has its own topic. We would be happy to help!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘reCaptcha not working (not visible) after update to the 1.3.7 version’ is closed to new replies.