christianwach / civicrm-wp-profile-sync

Keeps a WordPress User profile in sync with a CiviCRM Contact and integrates WordPress and CiviCRM Entities with data synced via Advanced Custom Fields.
https://wordpress.org/plugins/civicrm-wp-profile-sync/
GNU General Public License v2.0
13 stars 17 forks source link

Underfined Array Key Household #56

Closed seamuslee001 closed 4 weeks ago

seamuslee001 commented 1 month ago

If you disable the HouseHold Contact Type you get a warning notice like

Warning: Undefined array key "Household" in /<client site>/wp-content/plugins/civicrm-wp-profile-sync/includes/acf/classes/cwps-acf-contact-field.php on line 723
christianwach commented 1 month ago

Thanks @seamuslee001 I didn't realise that could be disabled until @kcristiano told me recently.

christianwach commented 1 month ago

Hi @seamuslee001 - are you planning to create a PR to address this or is this issue just to inform me of what's happening?

seamuslee001 commented 1 month ago

@christianwach sorry been chaos for me I do hope to but also wanted to flag it to you in case you got to it sooner than I did