Keep getting a error from reCAPTCHA, tried adding:
ini_set("allow_url_fopen", true);
But this did not work.
cURL for PHP is installed, the form works fine without the reCATCHA...
The form:
[[!FormIt? &hooks=recaptchav2,spam,email &emailTpl=contact_form_email_dswiss &emailSubject=Contact request ([[context_key]]) from [[+name]] via DSWISS contact form &emailTo=[[contact_form_email_to]] &customValidators=securesafe_contact_validator &validate=name:required:stripTags,firstname:required:stripTags,company:required:stripTags,email:email:required:stripTags,phone:required:stripTags &successMessage=
@param string $key The key of the placeholder to unset.
*/
public function unsetPlaceholder($key) {
if (is_string($key) && array_key_exists($key, $this->placeholders)) {
unset($this->placeholders[$key]);
}
}
`
On my test page all seems to work until you try to send... https://www.dswiss.com/de/kontakt-test/
Keep getting a error from reCAPTCHA, tried adding:
ini_set("allow_url_fopen", true);
But this did not work.cURL for PHP is installed, the form works fine without the reCATCHA...
The form:
[[!FormIt? &hooks=
recaptchav2,spam,email&emailTpl=
contact_form_email_dswiss&emailSubject=
Contact request ([[context_key]]) from [[+name]] via DSWISS contact form&emailTo=
[[contact_form_email_to]]&customValidators=
securesafe_contact_validator&validate=
name:required:stripTags,firstname:required:stripTags,company:required:stripTags,email:email:required:stripTags,phone:required:stripTags&successMessage=
]] [[+placeholder]] [[!+fi.error_message:notempty=
[[!+fi.error_message]]
`]]`
Line 991 mentioned in error log has this:
` /**
error_log.txt