- December 22, 2020 at 11:25 am #32406
Hi Ally, I’m trying to get Recaptcha v3 working but having big problems. 🙂
I’ve decided to update the QU forms to the latest script. It is so different from my old one I’m having to restart as it writes to a database too. I’ve tried WinMerge to see the differences, but it seems every part of the process.php file has changed. Anyway, I’m persevering with this.
My problem at the moment is I’m getting a message
Fatal error: Class ‘Quform_Element’ not found in /home/xxxxx/qf2020/process.php on line 11
Any ideas as to what this may be?
The code on line 11 is;
/* recaptcha */
$recaptcha = new Quform_Element(‘g-recaptcha-response’, ‘reCAPTCHA’);
‘secretKey’ => ‘hidden-code-thank-you’,
‘version’ => ‘v3’,
‘threshold’ => 0.5
/* end recaptcha */
Many thanksDecember 22, 2020 at 11:50 am #32409
Would you be able to give me a quotation to transfer/translate the old process.php to the new one.December 22, 2020 at 12:17 pm #32410
Update: I’ve now moved the recaptcha code to line 111 and I no longer get this error. The latest is that the form does noting when I press submit. All that happens is the button moves over to the left and the form is not submitted or database written to.December 22, 2020 at 12:35 pm #32414
- You must be logged in to reply to this topic.