sepiariver / recaptchav2

Google's ReCaptcha V2 + V3 for MODX CMS: https://sepiariver.com/modx/recaptchav2-supports-recaptchav3/
https://sepiariver.com/
GNU General Public License v2.0
21 stars 15 forks source link

FormItReCaptcha giving errors in log / modx Revolution 2.6.3-pl / php 7.0.29 / formIt 4.0.1-pl #27

Closed gravinos closed 5 years ago

gravinos commented 6 years ago

After upgrading to FormIt 4.0.1-pl, every time I load the form I get the error

[2018-05-02 09:33:07] (ERROR @ .../core/components/formit/src/FormIt/Request.php : 87) [FormIt] Unable to load FormItReCaptcha.

modx Revolution 2.6.3-pl PHP Version 7.0.29 formIt 4.0.1-pl ReCaptchaV2 2.3.0-rc1

RecaptchaV2 appears, but returns error and not send the form.

FormIt issue discussion: #https://github.com/Sterc/FormIt/issues/170

RiodeJaneiroo commented 6 years ago

i have the same problem(

tvset commented 6 years ago

i have the same problem(

Erdem-Ozyalcin commented 6 years ago

i have the same issue

terrybarth commented 6 years ago

Similar issue. Different behaviors.

My contact form IS sending the emails successfully. Yet, the error log is filling up with:

...public_html/core/components/formit/src/FormIt/Request.php : 87) [FormIt] Could not load FormItReCaptcha service class.

I'm using the Invisible Captcha. I know that this working because after repeated tests, it promoted me to choose images from a grid.

I don't know if this is related, but the the redirect hook is not working, nor is the FormItAutoResponder hook. However the FormItSaveForm is working.

&hooks=recaptchav2,email,FormItSaveForm,FormItAutoResponder,redirect,

Modx 2.6.3 PHP Version 7.0.30 formIt 4.0.1-pl ReCaptchaV2 2.3.0-rc1

I happen to have another site with virtually the same setup that is working perfectly. The only difference from what I've described above is Modx 2.6.0

Update: I've resolved the other issues with hooks not working. It was not related to ReCaptchaV2. I still have the errors in the log though.

alexgillon commented 6 years ago

Having the same issue as terrybarth, everything works fine, I just keep getting the below error in the MODX log:

[2018-06-19 21:21:46] (ERROR @ /home/*****/public_html/core/components/formit/src/FormIt/Request.php : 87) [FormIt] Could not load FormItReCaptcha service class.

travisbotello commented 6 years ago

Same issue here...

xceed-will commented 6 years ago

same issue here

watou commented 6 years ago

same issue here

Kvodnon commented 6 years ago

same issue here 2.6.5

waizen commented 6 years ago

Same here on multiple sites after upgrading many sites to 2.6.5. However, the form does get submitted and email sent out. Page reloads with "Please select the checkbox in the ReCaptcha image." error message. Does not redirect to thank you page, causing site visitor to believe nothing has happend. Visitor usually submits multiple times, each time gettign reCaptcha error.

Error log filling up with same OP stated error message.

MODx 2.6.5 PHP7.0 Formit 4.1.0-pl ReCaptchaV2 2.3.0-rc1

DESIGNfromWITHIN commented 5 years ago

Same here...

sebastian-marinescu commented 5 years ago

It's working, but still filling up with this not-understandable error :)

davidcmoody commented 5 years ago

This fixed the issue for me. No more error log filling up.

https://github.com/Sterc/FormIt/issues/170#issuecomment-387549784

sepiariver commented 5 years ago

Closing as it looks to be a FormIt issue https://github.com/Sterc/FormIt/issues/170 that was introduced in 4.0.1