christianwach / civicrm-wp-member-sync

CiviCRM WordPress Member Sync plugin keeps a WordPress user in sync with a CiviCRM membership by granting either a role or capabilities to a WordPress user who has that membership.
https://wordpress.org/plugins/civicrm-wp-member-sync/
GNU General Public License v2.0
17 stars 10 forks source link

Add hard-coded Domain ID to ufmatch_create civi-wp-ms-users.php #50

Closed yurg closed 11 months ago

yurg commented 1 year ago

Found in php error logs: DB Constraint Violation - domain_id should possibly be marked as mandatory for UFMatch,create API. [backtrace] => #0 /wp-content/plugins/civicrm-wp-member-sync/includes/civi-wp-ms-users.php(770): Civi_WP_Member_Sync_Users->ufmatch_create(

christianwach commented 11 months ago

Thanks for the report @yurg - I haven't seen that message, but accept that it's being logged for you. Unfortunately, your code won't fix the issue, so I've fixed it via 8db4db89c0b1ffcb9d0cd912d5e1b57999e723cc instead.

yurg commented 11 months ago

@christianwach Great, thank you: I knew there must be the right place.