I have a Form Processor set up to take newsletter signups on a WordPress.com website. The CiviCRM site is hosted separately.
It was working until recently and I've tried twice to retrace my steps but I've still not got it working.
When I test the Form Processor on the CiviCRM Site, it works as expected (matches to existing contact if present, adds group, adds Data Policy Acceptance Activity, updates one custom field).
I've checked the settings for the Contact Form in WordPress.
When I fill in the form on the WordPress site:
- It just hangs, and nothing is stored in CiviCRM
- The debug file says
[10-Oct-2020 12:59:14 UTC] PHP Notice: Undefined offset: 1 in /srv/htdocs/wp-content/plugins/contact-form-7-civicrm-integration/contact-form-7-civi.php on line 59
This is lines 57-63 in the file mentioned:
foreach($parameters as $param) {
list($key, $val) = explode("=", $param);
if (!empty($key)) {
$data[$key] = $val;
}
}
Any ideas what I need to change/what I've missed?