Error: ReCAPTCHA placeholder element must be empty
Though the pages still function, other js functionality doesn't work. For example - when I empty the cart via the cart button in the header, the cart empties but the details on the button don't update.
Anyone else seen this?
You can see the error at http://barbaramclennan.com/index.php?ro ... on/contact
Google reCaptcha work perfect on your site
18 extra positions FREE, Unlimit style color for default theme FREE, Vietnamese Language, vietxuangas.com.vn
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
changing the following in your catalog/view/theme/<your_theme>/template/captcha/google_captcha.tpl file:
Code: Select all
<script src="//www.google.com/recaptcha/api.js" type="text/javascript"></script>
Code: Select all
<script src="https://www.google.com/recaptcha/api.js?onload=onloadCallback&render=explicit" async defer></script>
Code: Select all
<script text="text/javascript"><!--
grecaptcha.reset();
//--></script>
Code: Select all
<div id="input-payment-captcha" class="g-recaptcha" data-sitekey="<?php echo $site_key; ?>"></div>
Code: Select all
<div id="input-payment-captcha" class="g-recaptcha" data-sitekey="<?php echo $site_key; ?>" /></div>
The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.
Regards,
Straightlight
Programmer / Opencart Tester
I did just notice in the header on my contact page, that the recaptcha script is called twice. Maybe this is the issue.
Don't quite know how to fix this though.
Users browsing this forum: No registered users and 26 guests