Open coevolving opened 6 years ago
The same - I get a 404 site with message PLUGIN_ERROR.ERROR_MESSAGE
`
I fixed this for me.
recaptchacontact try to open after sending/error etc a wrong url.
My site looks like this : mywebsite.domain.tld/test/contact
but recap. opens mywebsite.domain.tld/test/contact/contact#contact-form
correct should be mywebsite.domain.tld/test/contact#contact-form
I found in /user/plugins/recaptchacontact/recaptchacontact.php
line 176 :
$this->grav->redirectLangSafe($uri->url());
and changed it to $this->grav->redirectLangSafe($uri->url);
Now it workes.
On a brand new site, the plug-in sends out the e-mail message properly, but I then get a message:
When I use the Chrome browser "back" button, I see:
Thank You! Your message has been sent.
Has this plugin been tested on a multiple language site? My guess is that the after the successful send, the browser isn't returning to mysite.com/base/en/contact#contact-form