• Resolved laurenbersaglio

    (@laurenbersaglio)


    I installed and attempted to setup this plugin on my site today following the installation instruction; however, as with many others, the RECAPTCHA check box is not showing up on my forms. When I attempt to ‘submit’ a complete form, I then receive an error that the message couldn’t be submitted (obviously due to Recaptcha not appearing). When I remove “[recaptcha]” from the form, it works again.

    As suggested in other threads, I have used the Troubleshooting plugin to discover the issue is not with my theme or any conflicting plugins.

    I’m not sure why it isn’t working?

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    This appears to be a theme issue. If you view the source of the contact page you can see that the final line in the source code is a broken HTML tag which seems to end the output abruptly.

    <p><span class="organic-nonprofit-footer-text">

    This is most likely preventing the necessary WordPress function wp_footer() from running and preventing a critical script from being added or enqueued. We suggest reaching out to the theme developers and bringing this issue to their attention.

    https://organicthemes.com/support/

    Hopefully you find the above information helpful. Once you have solved that issue and the wp_footer() appears properly please let us know and we can assist you further. Have a wonderful rest of your week!

    Thread Starter laurenbersaglio

    (@laurenbersaglio)

    If it’s a theme issue, then why is it that when in troubleshooting mode I disabled the theme and activated the default WordPress theme and the issue persisted?

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    It’s certainly possible that theme is not the root cause and that a plugin is conflicting or erroring out causing the footer not to display properly. If you activate a default theme and view the page source the last tag you should see is </html> which ends the document. Before the document ends it’s standard practice to call wp_footer() which is where some crucial script runs which instantiates the recaptcha.

    You can enable debugging and take care of any PHP issues logged by the theme or plugins. The Debug Bar may be helpful in this case.

    Thread Starter laurenbersaglio

    (@laurenbersaglio)

    Thanks I will look into all of this and get back to you!

    Thread Starter laurenbersaglio

    (@laurenbersaglio)

    Hi, it’s not a plugin conflict issue, either; as my previous message said, I had everything disabled — all plugins and non-default theme — and the issue persisted.

    I enabled Debugging and received this error message:

    Notice: Undefined index: rcommentid in /www/wp-content/plugins/wp-recaptcha/recaptcha.php on line 348 Notice: Undefined index: rchash in /www/wp-content/plugins/wp-recaptcha/recaptcha.php on line 349

    Thread Starter laurenbersaglio

    (@laurenbersaglio)

    UPDATE: I made a silly mistake. When in troubleshooting initially, I forgot to enable this plugin (I only enabled Contact Form 7) — I apologize. It was my first time using the troubleshooting plugin and it was a rookie mistake.

    That being said, I now see where our current theme is missing </html> — once I enabled a default theme it worked. In addition, once I enabled Organic Nonprofit (our parent theme) it worked.

    It seems the error is with our Child Theme. When I enable the child theme, that is when </html> disappears and the recaptcha no longer works.

    I know this may be outside of your scope of support, but any chance you could let me know how to add </html> to the end of our child theme?

    Plugin Author IQComputing

    (@iqcomputing)

    Hello,

    Unfortunately, it’s not as simple as adding the ending HTML. Something is preventing the rest of the page from loading in either the parent theme or child theme. This means that nothing in wp_footer() will run regardless if someone adds in the ending </html> tag. Odds are it’s a PHP error that’s stopping the rest of the script from processing as that’s a usual culprit when we see pages end abruptly such as this. It will probably need developer intervention.

    You may be able to track it down with the following information as maybe there’s a place in the admin panel where it can be fixed. It stops right at the organic-nonprofit-footer-text – maybe there’s a widget with a shortcode under Appearance -> Widgets that’s erroring out. Maybe check The Customizer ( Appearance -> Customize ) for anything that relates to the footer-text and empty out that section.

    Hopefully the above information helps you narrow down what is causing this issue. Should you have any other questions or need further assistance please reply back to this ticket and we can discuss this further. Have a great weekend!

    Thread Starter laurenbersaglio

    (@laurenbersaglio)

    Thank you so much! This info was definitely helpful! Since a complete redesign is planned, the owners have decided to simply revert to the parent theme and not use the child theme. Once I switched away from the child theme, all of the contact forms are working with recaptcha V2.

    I appreciate the help!

    Plugin Author IQComputing

    (@iqcomputing)

    We’re glad we were able to help and that you found a solution to your issue! We’ll go ahead and mark this thread as resolved. Should you have any other questions or run into any other issues please open a new thread and we can assist you further.

    Have a wonderful rest of your week!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Recatpcha Not Showing On Form & Preventing Submit’ is closed to new replies.