Title: Captcha is doubled
Last modified: August 30, 2016

---

# Captcha is doubled

 *  Resolved [brazzam](https://wordpress.org/support/users/brazzam/)
 * (@brazzam)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/)
 * Hello,
 * On my form, when I turn captcha off, it doesn’t appear – which is great.
 * When I turn it on, however, it now asks 2 different captcha questions instead
   of one. Also, when you answer the captcha questions, the second answer will report“
   Incorrect answer” even if you answer it correctly. Turns out the system is looking
   for the same answer for both questions.
 * Has anyone else seen this or may have an idea why this is happening?
 * [https://wordpress.org/plugins/wpgform/](https://wordpress.org/plugins/wpgform/)

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

1 [2](https://wordpress.org/support/topic/captcha-is-doubled/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/captcha-is-doubled/page/2/?output_format=md)

 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724321)
 * Something is causing the Javascript which adds the CAPTCHA to the page to run
   twice. Without looking at it to known for sure it is hard to say but my guess
   is if you look at the HTML
    source for the page you’ll see the JavaScript appears
   twice.
 *  [adampavitt](https://wordpress.org/support/users/adampavitt/)
 * (@adampavitt)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724436)
 * I am having the same problem all of a sudden and I haven’t made changes to my
   forms or pages. In the short term I have turned this feature off but it would
   be good to have it back working as it did.
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724437)
 * Have you updated any other plugins or your theme? A change there could cause 
   this to happen. There sn’t anything on the page or form setting which would do
   it.
 *  [adampavitt](https://wordpress.org/support/users/adampavitt/)
 * (@adampavitt)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724438)
 * Mike, thank you for your quick reply. I am very sorry I had updated plugins and
   WordPress however for some reason I was still running v0.82 of Google Forms. 
   I have just updated to 0.84 and turned CAPTCHA back on and I only get it displaying
   once.
 * Thank you.
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724443)
 * Glad to hear it is working for you – thanks for reporting back.
 *  [hooperman13](https://wordpress.org/support/users/hooperman13/)
 * (@hooperman13)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724473)
 * Hi Mike,
    I am working with Adam Pavitt (see above) and things are not quite 
   as simple as we thought they were 5 days ago. We have a number of forms on our
   site and have been unable to discover any pattern as to when the CAPTCHA appears
   once or twice. For one form it appears twice on both the final page [http://www.progressionpeople.com/mindfulness-wellbeing-assessment/](http://www.progressionpeople.com/mindfulness-wellbeing-assessment/)
   and the underlying custom post type [http://www.progressionpeople.com/wpgforms/wellbeing-scale/](http://www.progressionpeople.com/wpgforms/wellbeing-scale/)
   yet for another instance, it appears only once on the page [http://www.progressionpeople.com/human-needs-assessment/](http://www.progressionpeople.com/human-needs-assessment/)
   but twice on the underlying custom post type [http://www.progressionpeople.com/wpgforms/human-needs/](http://www.progressionpeople.com/wpgforms/human-needs/)
 *  [hooperman13](https://wordpress.org/support/users/hooperman13/)
 * (@hooperman13)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724474)
 * We have a third form [http://www.progressionpeople.com/wpgforms/mindfulness-schools-questionaire/](http://www.progressionpeople.com/wpgforms/mindfulness-schools-questionaire/)
   with underlying custom post type [http://www.progressionpeople.com/mindfulness-schools/questionnaire/](http://www.progressionpeople.com/mindfulness-schools/questionnaire/)
   similar to the second one above. I have noticed that one the two pages where 
   the CAPTCHA correctly only appears once, the following html is published:
    <div
   class=”progress-label”>100%: You made it.</div> For the underlying custom post
   types, this also appears, but only against the second CAPTCHA
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724492)
 * When I look at one of the pages which you note has double CAPTCHA I can view 
   the page source and see that the entire jQuery script the plugin uses appears
   twice.
 * This almost certainly means that some hook, I believe ‘init’, is firing twice.
   Would it be possible to enable debug on your site so I can take a look at the
   flow reported by the plugin?
 *  [hooperman13](https://wordpress.org/support/users/hooperman13/)
 * (@hooperman13)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724493)
 * Thanks Mike,
 * We will need to consult on this, as this is an active live site.
 *  [adampavitt](https://wordpress.org/support/users/adampavitt/)
 * (@adampavitt)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724494)
 * Hi Mike, I would rather not do this on my live site. is there anything else you
   can do to troubleshoot this error which I assume must be happening on other sites.
 *  [adampavitt](https://wordpress.org/support/users/adampavitt/)
 * (@adampavitt)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724495)
 * Hi Mike, I would rather not do this on my live site. is there anything else you
   can do to troubleshoot this error, which I assume must be happening on other 
   sites?
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-6724498)
 * Understandable. My suspicion is it is likely theme related. Let’s take it to 
   email for further discussion on options, we have a couple. mpwalsh8 at gmail 
   dot com
 *  [ChriDi](https://wordpress.org/support/users/chridi/)
 * (@chridi)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-8732922)
 * Did you find a solution for the issue of the Captcha showing up twice?
 * Got the same on this page:
    [https://schulfrei-bewegung.de/mitgliedsantrag/](https://schulfrei-bewegung.de/mitgliedsantrag/)
 * Regards,
 * Chris
 *  Plugin Author [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * (@mpwalsh8)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-8735287)
 * I don’t recall what the resolution was with this other user. The thread was over
   a year ago. I have seen similar behavior several times and in just about every
   case, the wp_head hook was being called multiple times which resulted in the 
   Javascript which the plugin adds to the page using the [wp_head](https://codex.wordpress.org/Plugin_API/Action_Reference/wp_head)
   hook being added twice which in turn resulted in the the Javascript running twice
   which resulted in double CAPTCHA fields.
 * If you look at the HTML source for your page, you’ll see the jQuery Script which
   the plugin uses appears on the page twice.
 * ![Duplicate Javascript](https://i0.wp.com/i.imgur.com/gr89FU7.png)
 * Have the jQuery script duplicated is a problem and is the reason you have the
   CAPTCHA field twice.
 * Now the question is – why is the jQuery script duplicated? I don’t know. The 
   script is added by the wp_head hook so it appears it is running twice. Why? It
   is hard to say without having access to the theme. It may not be the theme doing
   it either, it is possible another plugin is causing wp_head to fire when it shouldn’t.
 *  [ChriDi](https://wordpress.org/support/users/chridi/)
 * (@chridi)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/captcha-is-doubled/#post-8736811)
 * Thanks Mike,
 * I was going through all the plugins now and found what caused the problem:
    [https://de.wordpress.org/plugins/open-graph-protocol-framework/](https://de.wordpress.org/plugins/open-graph-protocol-framework/)
 * Deactivated and Captcha is not showing twice any longer 😉

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

1 [2](https://wordpress.org/support/topic/captcha-is-doubled/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/captcha-is-doubled/page/2/?output_format=md)

The topic ‘Captcha is doubled’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wpgform_8cc59f.svg)
 * [Google Forms](https://wordpress.org/plugins/wpgform/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wpgform/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wpgform/)
 * [Active Topics](https://wordpress.org/support/plugin/wpgform/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wpgform/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wpgform/reviews/)

 * 16 replies
 * 5 participants
 * Last reply from: [Mike Walsh](https://wordpress.org/support/users/mpwalsh8/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/captcha-is-doubled/page/2/#post-8740354)
 * Status: resolved